LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 03-17-2012, 07:48 AM   #1
Felipe
Member
 
Registered: Oct 2006
Posts: 294

Rep: Reputation: 31
How to compile Apache 2 on CentOS


Hallo:

I use CentOS 5.5 32bits.

Can any tell me how to compile and install Apache2 from source? Is there any doc which details required packages to install?

I've tried but always find errors running make.


Thanks

Last edited by Felipe; 03-17-2012 at 01:49 PM. Reason: error release
 
Old 03-17-2012, 11:30 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,973

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Hi,

You can take a look here for a howto.
To compile software from sources in Centos, you need to install the Development Tools
Code:
yum groupinstall 'Development Tools'
Apart from that, as you can see in the previous link, the only extra packages you might need is openssl-devel and zlib-devel, if you choose to add ssl and mod_deflate support in apache.

HTH
 
Old 03-17-2012, 02:09 PM   #3
Felipe
Member
 
Registered: Oct 2006
Posts: 294

Original Poster
Rep: Reputation: 31
Now it works.

After adding

Quote:
./configure ... --with-included-apr
it has worked.
I already have the centos httpd package installed. Adding that parameter, it has compiled and installed fine.

Thanks for the help

Last edited by Felipe; 03-17-2012 at 02:10 PM.
 
  


Reply

Tags
apache22


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
optimize apache 2 in centos 5 sokha Linux - Server 4 03-31-2010 12:25 AM
mod_auth_winbind for apache in centos. chandramani_yadav Linux - Server 0 08-17-2009 09:51 AM
Apache Error 403 - CentOS 5.2 with Apache 2.2.3 gordymann Linux - Newbie 2 04-08-2009 09:57 AM
Centos 5 Apache error swhitehead Linux - Newbie 2 04-09-2008 02:10 PM
comple performance problem... help me with suse alaios Suse/Novell 7 02-01-2006 03:26 AM


All times are GMT -5. The time now is 03:31 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration