LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-18-2005, 06:28 PM   #1
Verbal Kint
Member
 
Registered: Apr 2004
Posts: 99

Rep: Reputation: 15
Apache & PHP


Hello,

I was hoping that someone may be able to help me again.

I have Fedora Core 3 installed and I am trying to get Apache 2.0.54 and PHP 4.3.11 installed/configured.

I am folllowing the instructions listed on the PHP site and it says to:

1. gzip -d httpd-2_0_NN.tar.gz
2. tar xvf httpd-2_0_NN.tar
3. gunzip php-NN.tar.gz
4. tar -xvf php-NN.tar
5. cd httpd-2_0_NN
6. ./configure --enable-so
7. make
8. make install

I have sucsessfully made it through steps 1-5 but this is what happens when I run the "./configure --enable-so":

"[root@Linux httpd-2.0.54]# ./configure --enable-so
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 0.9.6
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr"


Then when I try step #7 (#make) I get this:

"[root@Linux httpd-2.0.54]# make
make: *** No targets specified and no makefile found. Stop."



Yes I am a new to all of this and I would greatly appreciate any help!

Thank
 
Old 05-18-2005, 06:35 PM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
You have to install gcc and g++ packages
 
Old 05-18-2005, 11:09 PM   #3
Verbal Kint
Member
 
Registered: Apr 2004
Posts: 99

Original Poster
Rep: Reputation: 15
Hey,

I downloaded "gcc-2.95.1-3.src.rpm" and ran:

#rpm -ivh gcc-2.95.1-3.src.rpm

That took me back to my command prompt [root@Linux jeff]#

Then I tried:

"[root@Linux httpd-2.0.54]# ./configure --enable-so
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 0.9.6
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr
[root@Linux httpd-2.0.54]#"


I received the same error as the first time. Using webmin with my Fedora 3 I can see that Apache 2.0.52 is installed and working but I need to get PhP working and I was following the directions on their website when I ran into this problem.

Anyone have any ideas?

Thanks!
 
Old 05-18-2005, 11:45 PM   #4
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
the packages you want to install are gcc3.X and gcc-c++3.X, not anything 2.X

Any package *src.rpm has to be built with rpmbuild package, what you want is *.rpm not *src.rpm

Last edited by mrcheeks; 05-18-2005 at 11:47 PM.
 
Old 05-19-2005, 02:15 AM   #5
Verbal Kint
Member
 
Registered: Apr 2004
Posts: 99

Original Poster
Rep: Reputation: 15
Tryed this:

[root@Linux jeff]# rpm -ivh libgcc-3.0.4-1.i386.rpm
Preparing... ########################################### [100%]
package libgcc-3.4.2-6.fc3 (which is newer than libgcc-3.0.4-1) is alrea
dy installed
file /lib/libgcc_s.so.1 from install of libgcc-3.0.4-1 conflicts with fi
le from package libgcc-3.4.2-6.fc3
[root@Linux jeff]# rpm -ivh libstdc++3-3.0.4-1.i386.rpm
Preparing... ########################################### [100%]
1:libstdc++3 ########################################### [100%]



And then I ran:


[root@Linux httpd-2.0.54]# ./configure --enable-so
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 0.9.6
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr



STill have them same problem...hmmmmm
 
Old 05-19-2005, 03:25 AM   #6
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
try gcc 3.3 and gcc-c++ 3.3. do not forget gcc-c++. 3.0 is too old. 3.3.X is the default version on most distros and is recognized as gcc and g++.
 
Old 05-19-2005, 01:32 PM   #7
Verbal Kint
Member
 
Registered: Apr 2004
Posts: 99

Original Poster
Rep: Reputation: 15
Hey again,

This is what happens now that I have downloaed "gcc-3.3.2-6.i386.rpm" and "gcc-c++-3.3.2-6.i386.rpm":


"[root@Linux jeff]# rpm -ivh gcc-3.3.2-6.i386.rpm
warning: gcc-3.3.2-6.i386.rpm: V3 DSA signature: NOKEY, key ID 30c9ecf8
error: Failed dependencies:
cpp = 3.3.2-6 is needed by gcc-3.3.2-6.i386
glibc-devel >= 2.2.90-12 is needed by gcc-3.3.2-6.i386"

and


"[root@Linux jeff]# rpm -ivh gcc-c++-3.3.2-6.i386.rpm
warning: gcc-c++-3.3.2-6.i386.rpm: V3 DSA signature: NOKEY, key ID 30c9ecf8
error: Failed dependencies:
gcc = 3.3.2-6 is needed by gcc-c++-3.3.2-6.i386
libstdc++ = 3.3.2 is needed by gcc-c++-3.3.2-6.i386
libstdc++-devel = 3.3.2 is needed by gcc-c++-3.3.2-6.i386"


Any thoughts?

Thanks!
 
Old 05-19-2005, 06:22 PM   #8
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
Excuse me but why to hurt yourself with dependencies, looking for rpms, struggling? Why don't you use yum for example?
Code:
yum update;yum install gcc gcc-c++ mysql-server
And you are done!
 
  


Reply



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
Slackware guide for AMP Apache MySQL & PHP xushi Slackware 35 05-11-2006 11:18 AM
ISS & ASP/.NET or Apache & PHP fuelinjection General 3 12-06-2005 07:41 AM
Apache & php & mod_dav Byenary Linux - Software 1 07-09-2005 01:26 PM
From RedHat9 to FreeBSD (Apache 2 & Mysql & PHP 4) guardian653 *BSD 5 12-11-2003 05:31 PM
Apache & PHP & RH8 hammerstein02 Linux - Software 3 02-07-2003 04:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:12 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
Open Source Consulting | Domain Registration