LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-16-2010, 08:38 PM   #1
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Rep: Reputation: 31
compile software to patch - quick refresh


Just want to refresh and check to make sure I don't make a mistake, but I am spoiled now with my newer OS's, binary apps, etc. and helping out someone right now who has some old servers and some apps need upgrading like proftp, etc.

ALL apps are compiled, I have the old src folder, even the config.h file which if I clean the cobwebs will give me the config settings that were used right? Basically I want to do an in place upgrade from an old to new version and don't want to kill what's there, so I am assuming I can do a make with the config.h from the old compile and it should just build with those options, right?

Dusting the head off and just wanted to make sure ....
Thanks
 
Old 11-17-2010, 02:25 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You're right. You can compile a newer version of a software using the ./configure options of the old one.
You can use config.h or config.log to find the options used to compile the old sources.
Sometimes there is also an executable script config.nice created, that you can copy and run in the new sources directory to configure it directly.

Note that until running "make install" nothing is installed, so you can test the new version of the app by running it from the sources directory. Of course you have to stop the old one prior doing this.

Regards
 
  


Reply



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
Trying to patch kernel + compile, compile is looping. kripz Linux - Kernel 1 06-16-2009 06:51 AM
Quick Patch-O-Matic question jgtg32a Linux - Networking 1 12-11-2007 06:11 AM
Can't compile i855crt with 915 chipset patch rejeep Linux - Laptop and Netbook 0 03-20-2007 01:08 PM
No more modules after kernel compile w/ ck patch uglydot Slackware 3 11-10-2003 03:04 PM
ACPI patch and kernel compile error crisponions Linux - Laptop and Netbook 3 10-29-2003 06:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:24 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
Open Source Consulting | Domain Registration