LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 10-24-2006, 09:14 PM   #1
blong4life
Member
 
Registered: Jun 2006
Distribution: Fedora Core 8, RHEL 4, CentOS 5
Posts: 44

Rep: Reputation: 15
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 , then thanks
 
Old 10-26-2006, 06:10 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
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.
 
Old 10-26-2006, 12:28 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Closing the original because the dupe seems in the more sensible spot.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error during compiling php an2ny_18 Debian 2 03-10-2006 12:46 PM
PHP 5.1.2 / Apache 2.2 / SQLite install error on FC4 Ravo Linux - Software 3 03-09-2006 03:16 PM
Error compiling kernel 2.6.12.4 in FC4 ilyushin Linux - Newbie 1 08-17-2005 01:23 PM
Error compiling PHP theprophet Fedora 2 12-15-2004 05:32 PM
error compiling php nrmx Linux - Software 0 03-13-2003 10:26 PM


All times are GMT -5. The time now is 11:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration