Home Man
Search
Today's Posts
Register

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

compiling applications with Centos

Tags
compiling, linux download, os

Login 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 to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Best OS for surveying / CAD applications geometric UNIX for Beginners Questions & Answers 8 02-10-2017 10:29 AM
How to Upgrade Centos 5.7 using Centos 5.8 ISO image on Vmware workstation Ananthcn Red Hat 2 08-20-2012 05: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 01:59 AM
GUI Applications kritibalu Shell Programming and Scripting 0 09-22-2011 08:06 AM
X applications jbrax UNIX for Dummies Questions & Answers 2 11-15-2000 09:01 PM


All times are GMT -4. The time now is 08:21 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password