compiling applications with Centos


 
Thread Tools Search this Thread
Operating Systems Linux Gentoo compiling applications with Centos
# 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 Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Red Hat

How to Upgrade Centos 5.7 using Centos 5.8 ISO image on Vmware workstation

Dear Linux Experts, On my windows 7 desktop with the help of Vmware workstation (Version 7.1), created virtual machine and installed Centos 5.7 successfully using ISO image. Query : Is this possible to upgrade the Centos 5.7 using Centos 5.8 ISO image to Centos version 5.8?.. if yes kindly... (2 Replies)
Discussion started by: Ananthcn
2 Replies

2. Red Hat

Not able to see the terminal icon in the applications menu to launch the command prompt in Centos

After installing centos iam not able to see the terminal icon in the applications menu to launch the command prompt in Centos. However iam able to see the Open Terminal menu, when i right click and it is not working. let me know what are the things i need to check.:b: (1 Reply)
Discussion started by: Kesavan
1 Replies

3. Linux

Portable Applications

Hello Im stuck with a project on converting existing applications in to their portable versions, What i mean is that i want an application to run on a Linux OS without the need of actually installing the application on that machine. My preffered OS is fedora as it is used on most machines in my... (1 Reply)
Discussion started by: engineeringme
1 Replies

4. Shell Programming and Scripting

Scripting with applications

Hi, I am developing a script that invokes a program, and that program is going to prompt for some input every now and then based on some parameters. My script shall provide input to the program, automatically, by processing the text output by the program.. say.. when the program asks ... (3 Replies)
Discussion started by: icecoldaswin
3 Replies

5. UNIX for Dummies Questions & Answers

X applications

I am an Oracle DBA who has previously worked only on NT machines. I need to install Oracle on an AIX box. This Unix server has only a CRT monitor. The Oracle installation REQUIRES a graphical means of seeing the Unix machine. I've been told that I should telnet from a PC that can display X... (2 Replies)
Discussion started by: jbrax
2 Replies
Login or Register to Ask a Question