compiling applications with Centos

Login or Register to Reply

Thread Tools Search this Thread
# 1  
Old 09-22-2008
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
# 2  
Old 10-09-2008
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".
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
How to Upgrade Centos 5.7 using Centos 5.8 ISO image on Vmware workstation Ananthcn Red Hat 2 08-20-2012 06:07 AM
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
GUI Applications kritibalu Shell Programming and Scripting 0 09-22-2011 09:06 AM
Portable Applications engineeringme Linux 1 11-16-2010 02:02 PM
Scripting with applications icecoldaswin Shell Programming and Scripting 3 08-04-2010 03:40 PM
Usernames across Applications gonzofish UNIX for Advanced & Expert Users 2 07-10-2008 08:45 AM
transiest applications ali560045 Shell Programming and Scripting 2 12-06-2007 06:49 AM
Publishing X applications Platinium UNIX for Advanced & Expert Users 2 05-21-2007 04:24 PM
X applications jbrax UNIX for Dummies Questions & Answers 2 11-15-2000 10:01 PM