LinuxQuestions.org
Review your favorite Linux distribution.
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


Reply
  Search this Thread
Old 05-20-2004, 01:27 PM   #1
squirellplaying
Member
 
Registered: Mar 2004
Posts: 93

Rep: Reputation: 15
Error Installing/Configuring PHP


http://www.freewebs.com/squirelplayintag/Screenshot.png
That is the error I get after I type in this:
Code:
cd /usr/local/src/php-4.3.6
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--disable-debug \
--enable-ftp \
--enable-inline-optimization \
--enable-magic-quotes \
--enable-mbstring \
--enable-mm=shared \
--enable-safe-mode \
--enable-track-vars \
--enable-trans-sid \
--enable-wddx=shared \
--enable-xml \
--with-dom \
--with-gd \
--with-gettext \
--with-mysql=/usr/local/mysql \
--with-regex=system \
--with-xml \
--with-zlib-dir=/usr/lib
Oy the last part of LAMP and I'm having problems. It was going so nicely too!

Last edited by squirellplaying; 05-20-2004 at 02:55 PM.
 
Old 05-20-2004, 01:34 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
That page doesnt exist even if you change the URL - perhaps you can just post the error.
 
Old 05-20-2004, 02:56 PM   #3
squirellplaying
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Rep: Reputation: 15
Opps. I fixed the link. The error:
configure:error:libpng.(a|so) not found.
 
Old 05-20-2004, 02:59 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
You can download libpng from:
http://sourceforge.net/project/showf...?group_id=5624

Just install that and then try the php install again.
 
Old 05-20-2004, 03:02 PM   #5
squirellplaying
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Rep: Reputation: 15
Where do I install it to. Do I do cd <dir>, then tar zxf filename ?
 
Old 05-20-2004, 03:06 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
yes and then follow the instructions in the tarball.
 
Old 05-20-2004, 03:13 PM   #7
squirellplaying
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Rep: Reputation: 15
Ok I did tar zxf libpng-1.2.5.tar.gz and it made a folder in my root folder. Is it ok there? Is that all I have to do? I didn't see any installing instructions in the folder.
 
Old 05-20-2004, 06:48 PM   #8
squirellplaying
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Rep: Reputation: 15
I also ran the Redhat update which had the file, or so I thought, in it but still no change.

Last edited by squirellplaying; 05-20-2004 at 07:48 PM.
 
Old 05-21-2004, 03:13 PM   #9
squirellplaying
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Rep: Reputation: 15
Anyone
 
Old 05-21-2004, 06:35 PM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Quote:
Originally posted by squirellplaying
Ok I did tar zxf libpng-1.2.5.tar.gz and it made a folder in my root folder. Is it ok there? Is that all I have to do?
No - you need to install it.

Quote:
Originally posted by squirellplaying
I didn't see any installing instructions in the folder.
Well I was surprised that there were no instructions so I downloaded the file myself and oddly enough there was a file called "INSTALL" which contained all the installation instructions.
 
Old 05-21-2004, 06:47 PM   #11
squirellplaying
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Rep: Reputation: 15
Ugg I was looking in the read me's. I have no idea what I'm doing. Do I use makefile.std?
 
Old 05-21-2004, 06:52 PM   #12
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
I think I would use "makefile.linux".
 
Old 05-21-2004, 08:59 PM   #13
squirellplaying
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Rep: Reputation: 15
Ok. So I downloaded the zlib file. did ./configure, then make test, then make install. When back to the libpng files and followed the directions. After the make I tried the php configure commands and still got the same error. I don't understand what I'm doing at all.
 
Old 05-22-2004, 07:48 PM   #14
squirellplaying
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Rep: Reputation: 15
Can I just do ./configure make make install. Do I need all those other commands?
 
Old 05-23-2004, 09:39 AM   #15
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Quote:
Originally posted by squirellplaying
Can I just do ./configure make make install. Do I need all those other commands?
Which other commands?

Quote:
Originally posted by squirellplaying
Ok. So I downloaded the zlib file. did ./configure, then make test, then make install. When back to the libpng files and followed the directions. After the make I tried the php configure commands and still got the same error.
Did you install libpng?
 
  


Reply


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
Configuring PHP linux_pioneer Linux - Software 3 01-21-2005 10:19 AM
Error: failed dependencies installing php-4.3.5 on redhat linux 9 lynsue Linux - Software 3 04-30-2004 04:50 AM
Installing and Configuring apache and php goldfish Linux - Newbie 21 10-11-2003 02:50 PM
configuring php haobaba1 Linux - Networking 1 07-28-2003 02:43 AM
re-configuring PHP linoob Linux - General 1 07-02-2003 10:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:48 PM.

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