I am working on setting up a server, i was compiling php 5.1.6 on my FC4 server, and I am using this for the configure command:
Code:
'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--prefix=/usr' '--with-mbstring' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/lib' '--with-png-dir=/usr/lib' '--with-xpm-dir=/usr/X11R6' '--with-mcrypt' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--with-openssl' '--enable-discard-path' '--with-pear' '--with-pspell' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--with-zlib'
But when it gets to png or jpeg..it says "Cannot find libpng.(a|so)."
So my quetion is this...ae the paths correct for the gd components, I did an updatedb and a locate -i, then put those paths in, yet but nothing.
If you can please help thanks
Im not sure if I have the libs installed, but I dont know were to find them, but ive done it before.