LinuxQuestions.org
Review your favorite Linux distribution.
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 10-29-2004, 03:19 PM   #1
EviLBoX
LQ Newbie
 
Registered: Jul 2002
Posts: 25

Rep: Reputation: 15
Adding ./configure options to an already installed RPM


Currently I have a webserver running on Red Hat 9 with Apache 2.040 and PHP 4.2.2. I'm planning to install Freetds to connect to a Sybase database and now need to add Freetds to PHP. What's the easiest way to do this? I know it's pretty easy to reinstall PHP from source and add the option to ./configure, but I want to stick with RPM files for this. I don't want to change anything I don't have to on the server since everything currently configured works great. Thanks.
 
Old 10-29-2004, 03:21 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I don't think that's possible ... but you can compile from
source and roll your own RPM (easiest way: use
checkinstall) ...


Cheers,
Tink
 
Old 10-29-2004, 03:25 PM   #3
EviLBoX
LQ Newbie
 
Registered: Jul 2002
Posts: 25

Original Poster
Rep: Reputation: 15
To roll my own rpm I first install the source, then edit the .spec file to add my options, and run "rpmbuild -bb php.spec" correct?
 
Old 10-29-2004, 03:31 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Heh - I don't use an rpm-based distro. I know
it can be done, and I know that checkinstall
rolls PRMs because it offers me the option.


Cheers,
Tink
 
  


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
adding module options maenho Linux - Software 2 08-12-2005 05:58 AM
adding apps installed by rpm to kmenu nathi Mandriva 1 10-13-2004 06:42 AM
adding startup options archish Slackware 1 11-08-2003 07:05 AM
How to configure PHP+Apache+PostgreSQL (already installed from RPM)on RH9 nehal_b_s Linux - Software 0 10-17-2003 01:22 AM
Adding options to apache cli_man Linux - Software 9 06-05-2002 08:11 PM

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

All times are GMT -5. The time now is 02:35 PM.

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