Hi All,
Been trying for the last 2 days to compile php with jpeg support.
Using both embedded and external GDs
Have downloaded all the libs and tried almost everything I have come across
on the net but nothing works...
I seem to have narrowed it down to the following...
./configure --with-[...] --with-gd
Will use the included GD lib as per the docs
While...
./configure --with-[...] --with-gd=/usr/local
(Which is where the external GD libs are - all headers and includes)
However when I check the Makefile I see this:
ext/gd/gd.lo: /root/php-4.3.4/ext/gd/gd.c
$(LIBTOOL) --mode=compile $(CC)
$(GDLIB_CFLAGS) -Iext/gd/ -I/root/php-4.3.4/ext/gd/ $(COMMON_FLAGS)
$(CFLAGS_CLEAN) $(EXTRA_CFLAGS) -pre\
fer-pic -c /root/php-4.3.4/ext/gd/gd.c -o ext/gd/gd.lo
ext/gd/gdttf.lo: /root/php-4.3.4/ext/gd/gdttf.c
$(LIBTOOL) --mode=compile $(CC)
$(GDLIB_CFLAGS) -Iext/gd/ -I/root/php-4.3.4/ext/gd/ $(COMMON_FLAGS)
$(CFLAGS_CLEAN) $(EXTRA_CFLAGS) -pre\
fer-pic -c /root/php-4.3.4/ext/gd/gdttf.c -o ext/gd/gdttf.lo
ext/gd/gdcache.lo: /root/php-4.3.4/ext/gd/gdcache.c
$(LIBTOOL) --mode=compile $(CC)
$(GDLIB_CFLAGS) -Iext/gd/ -I/root/php-4.3.4/ext/gd/ $(COMMON_FLAGS)
$(CFLAGS_CLEAN) $(EXTRA_CFLAGS) -pre\
fer-pic -c /root/php-4.3.4/ext/gd/gdcache.c -o ext/gd/gdcache.lo
The paths /root/php-4.3.4/ext/gd appears to be the embedded GD lib and not
the /usr/local/includes or libs
Is it my imagination or is there something wrong with the Makefile? I don't
understand these commands (ie source destinations) to modify them myself...
Can anyone help, does anyone actually read this group?