LinuxQuestions.org
Help answer threads with 0 replies.
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 12-24-2009, 05:17 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
Compiling Apache?


I am in verse to compile apache through source on RHEL 4 Update 8.
here I am stuck with:
Code:
[root@localhost apache2withssl]# ./configure --prefix=/opt/apache2withssl --enable-so --enable-proxy --enable-ssl --enable-setenvif --enable-modules=all        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
configure: WARNING: Unrecognized options: --enable-so, --enable-proxy, --enable-ssl, --enable-setenvif, --enable-modules
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: 1.3.0
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr
[root@localhost apache2withssl]# rpm -qa gcc
[root@localhost apache2withssl]#
 
Old 12-24-2009, 06:25 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by your_shadow03 View Post
I am in verse to compile apache through source on RHEL 4 Update 8.
here I am stuck with:
Code:
[root@localhost apache2withssl]# ./configure --prefix=/opt/apache2withssl --enable-so --enable-proxy --enable-ssl --enable-setenvif --enable-modules=all        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
configure: WARNING: Unrecognized options: --enable-so, --enable-proxy, --enable-ssl, --enable-setenvif, --enable-modules
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: 1.3.0
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr
[root@localhost apache2withssl]# rpm -qa gcc
[root@localhost apache2withssl]#

you would need to install gcc.
to check if it is installed you should be running

[code]
rpm -qa | grep gcc
 
Old 12-25-2009, 06:20 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
General build instructions httpd 2.2.3 for EL 4.8
.. written today ..
http://www.linuxquestions.org/questi...he-2.2-777983/

The configure line ( from httpd.spec )
.. please see this ..
http://www.linuxquestions.org/questi...te-6-723523/#3
.....
.....
 
  


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
Compiling apache shilpads Linux - Server 4 04-14-2009 01:28 AM
Compiling Apache when I already have Apache that came with Fedora bwoodruff Fedora 6 08-21-2005 04:00 PM
Compiling apache 2 Dannydy Linux - Newbie 1 07-25-2004 12:52 PM
Compiling Apache x3m.seth Linux - Software 0 11-03-2003 07:08 PM
Compiling Apache 2.0.46 on RH 9 ! _n3w_by_ Linux - Software 0 07-04-2003 05:41 PM


All times are GMT -5. The time now is 04:03 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