LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   php compiling error on FC4 (https://www.linuxquestions.org/questions/linux-newbie-8/php-compiling-error-on-fc4-495289/)

blong4life 10-24-2006 09:14 PM

php compiling error on FC4
 
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 a :newbie: , then thanks

reddazz 10-26-2006 06:10 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Tinkster 10-26-2006 12:28 PM

Closing the original because the dupe seems in the more sensible spot.


All times are GMT -5. The time now is 02:05 AM.