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

Gentoo


Tags
linux download

Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 09-22-2008
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
    #2  
Old Unix and Linux 10-09-2008
otheus's Unix or Linux Image
otheus otheus is offline Forum Advisor  
Smartass
 
Join Date: Feb 2007
Last Activity: 6 October 2016, 6:06 AM EDT
Location: Innsbruck, Austria
Posts: 2,156
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
Closed

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 02:59 AM



All times are GMT -4. The time now is 04:01 AM.