[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mark D. Baushke
Wed, 14 Apr 2004 00:26:17 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Ramanuj Singh <address@hidden> writes:
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
Please do NOT send mime attachments to the address@hidden list.
> We got past the "can't find gd.h" (the missing library). Got libgd
> > installed but now the problem with CVSgraph install is the following:
> > make
> > cc -g -I/usr/local/include -DETCDIR=\"/usr/local/etc\" -c -o
> > cvsgraph.o cvsgraph.c
> > cpp: "cvsgraph.c", line 33: error 4036: Can't open include file
> > 'getopt.h'.
> > cpp: "cvsgraph.c", line 47: error 4062: No image output format
> > available. Check libgd
> > *** Error exit code 1
If you want help, it is always considered polite to bother to tell folks
the basic system you are using and packages you might have installed...
The getopt.h file will be found in the glibc library. It is also included
with some other public software packages.
You may find that your libc has a getopt() function in it that has all of
the stuff needed defined in the <unistd.h> include file. You could try
replacing the '#include "getopt.h"' with '#include <unistd.h>' and see
if that helps you. Typically it has stuff like this:
extern char *optarg;
extern int optind;
extern int opterr;
extern int optopt;
extern int optreset;
int getopt(int argc, char *const *argv, const char *optstring);
However, the right implementation for you will depend on your operating
> The information transmitted is intended only for the person or entity to
> whom it is addressed and may contain confidential and / or privileged
> Material. Any review, re-transmission, dissemination or other use of or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited. If you received
> this in error, please contact the sender and delete the material from your
> computer. Thank you for your understanding & co-operation.
Inform your postmaster that adding such disclaimers to public e-mail
mailing list postings is silly.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
-----END PGP SIGNATURE-----
- cvsgraph, Ramanuj Singh, 2004/04/14
- Re: cvsgraph,
Mark D. Baushke <=