Unix/Linux Go Back    

Gentoo Gentoo Linux is a versatile and fast, completely free Linux distribution geared towards developers and network professionals.

compiling applications with Centos


linux download

Thread Tools Search this Thread Display Modes
Old Unix and Linux 09-22-2008   -   Original Discussion by csross
csross's Unix or Linux Image
csross csross is offline
Registered User
Join Date: Dec 2003
Last Activity: 2 January 2013, 5:28 PM EST
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
compiling applications with Centos

I am evaluating porting solaris (apache, mysql, ssl) servers to Linux. I set up a Centos server to test out apache programs to see how they work out of the box. Now I want to recompile Apache to incorporate the options we used when compiling under Solaris.

I see posts that say never, never compile from source but if I have options that were not compiled in, how can I do that? Also, many of the modules are dynamically loaded which is supposed to result in slower response from httpd. How can I see that my compile time options correspond to the compiled binary that centos provides? Also, some modules I try to install are asking where apxs is, but since I didn't compile it, I don't know.

What is the opinion about compiling?

Thank you
Sponsored Links
Old Unix and Linux 10-09-2008   -   Original Discussion by csross
otheus's Unix or Linux Image
otheus otheus is offline Forum Advisor  
Join Date: Feb 2007
Last Activity: 6 September 2017, 5:43 AM EDT
Location: Innsbruck, Austria
Posts: 2,157
Thanks: 12
Thanked 51 Times in 48 Posts
I don't see why you shouldn't compile from source. In fact, with GenToo, that's pretty much all one can do. With CentOS, they've simply provided binaries that are part of RedHat Enterprise Linux source RPMs. You can always download the source RPMs and do an "rpmbuild", but with adding your own CFLAGS, etc.

But if you want to go purely source, I don't see a problem with it. It would be the easier way of customizing the config file the way you like it. You can copy the config.status file from Solaris and then on linux, do a "./configure -r" I think.

The axps thing is tricky -- you have to compile Apache and THEN install it and THEN compile the modules and support programs (like PHP, MySQL, etc). To see what came with Apache as a binary, run "httpd -l", and "httpd -V".
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Not able to see the terminal icon in the applications menu to launch the command prompt in Centos Kesavan Red Hat 1 05-02-2012 01:59 AM

All times are GMT -4. The time now is 03:01 PM.