LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   general compiling question (https://www.linuxquestions.org/questions/linux-newbie-8/general-compiling-question-170613/)

strimp099 04-15-2004 02:54 PM

general compiling question
 
Hi I recently compiled and installed Apache onto my Redhat 9 system. I am wondering if in order to recompile to add mods and things, do I need to remove it first and reinstall? or can I just recompile over the current **working** version? Same question will PHP 4.3.5

Tino27 04-15-2004 03:30 PM

Generally speaking, you should be able to compile the new version without having to worry about the old one. That being said, compiling and installing from source won't necessarily remove previous versions of the software.

Additionally, some applications have 'make uninstall' enabled. However, that would require that you kept the source directory around after the initial compile and installation of the software. If that's the case, you might want to do a 'make uninstall' from the directory that the source code lies in.

As a general rule, though, unless the installation instructions that came with the updated app specifically state that all previous versions must be removed first, I don't normally worry about it.

strimp099 04-15-2004 05:07 PM

Well I am not neccessarily installing a new version. I had the package that came packaged with Red Hat. I wanted to update PHP, and learn how to compile/install as well. So I recompiled Apache with the mod_so (I think) option so I can install PHP, but there are many more mods I would like to include. Also with PHP, I will certainly have to recompile as I continue to configure the server. Maybe I don't even have to recompile, but I am basically just wondering how to add mods.


All times are GMT -5. The time now is 04:22 PM.