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 - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 07-06-2005, 06:53 PM   #1
fireman949
Member
 
Registered: Dec 2003
Location: Walls
Distribution: Slackware 10.1;CentOS 4
Posts: 51

Rep: Reputation: 15
rpmbuild --with:mysql- unknown option. How to pass extra options to build? Answered!


I'm attempting to build ProFTPd with mysql support from a SRPM I found here.

It specifies
" Available rpmbuild rebuild options : --without : tls --with : ldap mysql postgresql "

The problem is, I execute "rpmbuild -bb proftpd.spec --with:mysql" and I get:
--with:mysql: unknown option

If I use the spaces ( --with : mysql ) I get:
error: failed to stat /usr/src/redhat/SPECS/mysql: No such file or directory

I've tried hacking the .spec file with no success. When a SRPM says Available options : how to you utilize them?

Thanks


update
Answered my own question.

rpmbuild -bb --with mysql spefile.spec

I now wonder why they showed --with : mysql rather than --with mysql
Wouldn't that have made more sense to a rpm newbie?

Last edited by fireman949; 07-07-2005 at 12:17 AM.
 
  


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
rpmbuild desired cpu options asprayama Linux - Software 1 03-27-2005 01:42 PM
rpmbuild - build section question jcalcote SUSE / openSUSE 3 03-12-2005 06:10 AM
rpmbuild doesn't produce the source code in /usr/src/redhat/BUILD Niceman2005 Linux - Software 2 11-29-2004 05:58 PM
Experiment with Alsaplayer Fails Build: Tarball and rpmbuild farmerdan Linux - Software 0 05-10-2004 08:14 PM
rpmbuild options ras123 Linux - Software 3 05-02-2004 10:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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