Re: rpmbuild --rebuiild with config options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Amadeus W.M. wrote:
Actually I compiled, out of curiosity, the tar file that came with the srpm, with

./configure --without-all --with-x-toolkit=no --without-x

and worked very well. So these are valid options. Don't know why rpmbuild doesn't like those. It would have been nice to have an rpm but I'll take what I can.

So far as I know (and I could always be wrong or unaware), the --with/--without options to rpmbuild set macros in the spec file. Those are not automatically passed to the %configure macro which is often used to build GNU software which uses ./configure.

If you want to pass configure options you'll need to edit the emacs spec file to set them. You could modify the spec so that the --with/--without options do get passed into ./configure, as noted here:

   http://rpm.org/user_doc/conditional_builds.html

If you're just looking to quickly rebuild emacs it might well be simpler to just add/remove the option in the %configure section than it would be to add support for passing it in via rpmbuild.

--
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Blessed are they who can laugh at themselves for they shall never
cease to be amused.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux