LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 06:48 AM   #1
Felipe
Member
 
Registered: Oct 2006
Posts: 302

Rep: Reputation: 32
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
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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: 302

Original Poster
Rep: Reputation: 32
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



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-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 / openSUSE 7 02-01-2006 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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