LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-22-2006, 05:04 PM   #1
devhen
LQ Newbie
 
Registered: Mar 2001
Location: SLC, UT
Distribution: RHEL4, CentOS 4, Fedora 5, Ubuntu
Posts: 24

Rep: Reputation: 15
How to configure RPMs?


I need to set particular configuration options for suexec at compile time but I'm using RPMs. Is there a way that I can build suexec (or any other package for that matter) from the source RPM and pass it configuration options to use when compiling?

Thanks!

Devin
 
Old 06-22-2006, 09:35 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
The only way I can think of to do that would be to edit the rpm .spec file before trying to build the binary rpm.

Once the .src.rpm is installed and ready to build, the .spec file should be in /usr/src/redhat/SPECS.

For in-depth details on editing a .spec file, check out Maximum RPM in RedHats documentation library (their website).
 
Old 06-23-2006, 10:23 AM   #3
devhen
LQ Newbie
 
Registered: Mar 2001
Location: SLC, UT
Distribution: RHEL4, CentOS 4, Fedora 5, Ubuntu
Posts: 24

Original Poster
Rep: Reputation: 15
i'll give it a try! thanks!
 
Old 06-23-2006, 12:08 PM   #4
devhen
LQ Newbie
 
Registered: Mar 2001
Location: SLC, UT
Distribution: RHEL4, CentOS 4, Fedora 5, Ubuntu
Posts: 24

Original Poster
Rep: Reputation: 15
OK, I assume I should be using the --nobuild option for rpmbuild so that the package isnt automatically compiled and installed. The only problem is that when I go into the /usr/src/redhat/BUILD/package-name folder there is no configure. That is, ./configure does not work: no such file or directory. Other than that, all of the files seem to be there.

???
 
  


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
[root@Linuxboy magicolor2430DL-1.1.0]# ./configure ./configure: No such file or ... anseK Mandriva 7 01-02-2006 04:21 PM
how to intall rpms from .tar.bz and .tar.gz and .src.rpms gadekishore Linux - Software 13 12-26-2005 02:57 PM
source for rpms to configure wireless in fedora core 3 pranith Linux - Wireless Networking 0 11-16-2004 06:34 AM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 03:52 PM
Red Hat RPMs vs Mandrake RPMs pioniere Linux - Distributions 4 02-27-2003 12:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:15 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