Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 4th October 2009, 11:40 AM
Qaz Offline
Registered User
 
Join Date: Oct 2009
Posts: 1
macossafari
Question rsyslog, compile from source

I run FC10.
I needed rsyslog (which is included since FC8 ) to be compiled with a feature (mail output module) that was not in the system version.

I got the rsyslog source (same release as the system version 3.22.1) , did configure, make, make install and ended up with a rsyslog that was able to do what I wanted. Great success! I am happy.

Now I just wonder how to do it right.. The original rsyslog binary is located in /sbin. The new one I compiled is located in /usr/local/sbin.

Library files from original rsyslog are located in /usr/lib/rsyslog. The library files from the new package are located in /usr/local/lib/rsyslog.

So - they are both there. I guess I'm lucky it works, path's must point in the right direction..


What is the right way to do an installation from source "over" a system version of the same package? Should I've removed the system version first or maybe somehow edited the installation paths, so the system version was overwritten?!?

Any help will be greatly appreciated.

Thanks

/Qaz
Reply With Quote
  #2  
Old 4th October 2009, 07:56 PM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
linuxopera
Short answer:
]$ ./configure --prefix=/usr

should put stuff into /usr/... instead of default /usr/local/... . You can also execute:
]$ ./configure --help

for a long list of options.

However, to do this "right", I'd suggest that you obtain the SRPM (source RPM, *.src.rpm) to match the "stock" Fedora version, and then edit the spec file to include the desired feature, and re-build the RPM (you will of course need the usual Development tools and such). Then simply replace the "stock" RPM with your customized version.

V

Last edited by Hlingler; 4th October 2009 at 07:59 PM.
Reply With Quote
Reply

Tags
compile, installation path

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F9 - compile source code sd-user Using Fedora 1 29th July 2008 06:24 AM
Trying to compile from source ravaged_warrior Using Fedora 6 9th January 2008 09:34 PM
trying to compile from source thugpoet22 Using Fedora 5 21st February 2006 11:08 AM
How to use apt-get to compile source Uncrase Using Fedora 2 29th March 2004 09:59 PM


Current GMT-time: 02:47 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat