Being new to linux, I am using the guide found here: http://www.linuxguruz.org/z.php?id=322
I first used the configuration string:
./configure \
--with-apxs2=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/conf \
--enable-versioning \
--with-mysql=/usr/local \
--enable-ftp \
--with-gd=/usr/local/gd-2.0.11 \
--with-zlib \
--enable-bcmath \
--disable-debug \
--enable-memory-limit=yes \
--enable-track-vars
GD is giving me a problem. Using --with-gd=/usr/local/gd-2.0.11 stopped at some point in the configuration, say point A, with the error:
configure: error: Unable to find libgd.(a|so) anywhere under /usr/local/gd-2.0.11
This file is found in /usr/local/lib/. I was recommended to add /usr/local/lib to the file /etc/ld.so.conf, then run ldconfig, then try again but use /usr/local/ instead of /usr/local/gd-2.0.11. So I did...
Using --with-gd=/usr/local stopped at point B with the error:
Cannot find header files under /usr/local
When I tried using --with-gd=/usr/local/lib, it stopped somewhere between point A and point B (actually, in the line in lieu of the original error - in point A) and gave me the error:
configure: error: Unable to find gd.h anywhere under /usr/local/lib
The file gd.h is not found in /usr/local/lib, but is found in /usr/local/gd-2.0.11/
Just because --with-gd=/usr/local seems to go futher in the configuration I assumed this is the right way to go, but I may be wrong. Maybe its easier to somehow get it to find the gd.h when using --with-gd=/usr/local/lib ?? What am I doing wrong? What should I modify? Any suggestions?