LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 03-17-2012, 06:48 AM   #1
Felipe
Member
 
Registered: Oct 2006
Posts: 289

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 12:49 PM. Reason: error release
 
Old 03-17-2012, 10:30 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,772

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
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, 01:09 PM   #3
Felipe
Member
 
Registered: Oct 2006
Posts: 289

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 01: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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
optimize apache 2 in centos 5 sokha Linux - Server 4 03-30-2010 11:25 PM
mod_auth_winbind for apache in centos. chandramani_yadav Linux - Server 0 08-17-2009 08:51 AM
Apache Error 403 - CentOS 5.2 with Apache 2.2.3 gordymann Linux - Newbie 2 04-08-2009 08:57 AM
Centos 5 Apache error swhitehead Linux - Newbie 2 04-09-2008 01:10 PM
comple performance problem... help me with suse alaios Suse/Novell 7 02-01-2006 02:26 AM


All times are GMT -5. The time now is 12:14 AM.

Main Menu
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