Well if you built other applications before then you should know how to modify configure to include unconventional header paths for jpeglib.h etc. Often the distributions put the graphic lib headers into /subdirs/ of /usr/include or /usr/local/include, while the code uses #include <jpeglib.h> .Then you have to specify the path or do a symbolic link.
Try putting jpeglib.h into /usr/include and see what happens.
Look into the file config.log towards the end for more details about what went wrong.
Bye Fridger
Here's the error from the config.log.
Although the headers and the libs are in;
/usr/local/lib and /usr/local/include (no sub-dirs)
I pointed the config file at these directories anyway.
I also get a bunch of these before the libjpeg failure;
/usr/local/lib/libgdkglext-x11-1.0.so: undefined reference to `glMap2f@LIBGL'
Anyway here's the libjpeg part;
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char jpeg_start_decompress ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
jpeg_start_decompress ();
;
return 0;
}
configure:27914: result: no
configure:27924: error: jpeg library not found
This one's got me stumped. I have been doing this for a lot of years But I can't figure this one out.
I'm no programmer but I usually am able to figure out why something won't configure or make but I'm missing something on this one.