LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2004, 03:54 PM   #1
strimp099
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Fedora 12
Posts: 56

Rep: Reputation: 15
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
 
Old 04-15-2004, 04:30 PM   #2
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Rep: Reputation: 30
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.
 
Old 04-15-2004, 06:07 PM   #3
strimp099
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Fedora 12
Posts: 56

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Compiling general question DeadlyMuffin Slackware 2 03-06-2004 12:23 AM
compiling in general powadha Slackware 4 01-17-2004 05:49 PM
compiling software, issues in general tcg23 Linux - Software 1 12-31-2003 11:28 AM
General Compiling Instructions sovietpower Linux - Software 3 12-24-2003 11:18 AM
compiling in general davedoobie Linux - Software 5 04-02-2003 12:57 PM


All times are GMT -5. The time now is 01:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration