gd library problem!
I'm trying to compile the gd library from the sources because I need a patched version for redhat 7.1 since the one which comes with the distro is compiled against an older version of libpng... However in doing so, I'm having some problems in making the files:
[root@BW gd-1.8.4]# make gcc -I. -I/usr/include/freetype2 -I/usr/include/libpng12 -L/usr/X11R6/lib -fPIC -O -DHAVE_LIBXPM -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -c -o gd_jpeg.o gd_jpeg.c gd_jpeg.c:26:21: jpeglib.h: No such file or directory gd_jpeg.c:27:20: jerror.h: No such file or directory gd_jpeg.c:193:2: #error IJG JPEG library BITS_IN_JSAMPLE value must be 8 or 12 gd_jpeg.c:368:2: #error IJG JPEG library BITS_IN_JSAMPLE value must be 8 or 12 make: *** [gd_jpeg.o] Error 1 I tried to find jpeglib.h and jerror.h but with now success (neither from the net) - so the first error was trivial (if you tell me a location where i could find them i will really appreciate it!!) But I cannot understand the last two errors!!!!!!!! I have encountered similar errors when trying to compile libpng from the sources one day until I gave up. But from now onwards I don't want to give up!!!!!!!!! Help me up pls... Ganninu |
Same problem
hi,
did you resolve your problem.... i have teh same and spend 4 days without any solution !!! please ??!! Thierry |
All times are GMT -5. The time now is 03:05 AM. |