On Thu, 17 Aug 2017 08:04:16 +0800, Ed Greshko wrote: > On 08/17/2017 07:50 AM, Amadeus W.M. wrote: >> I'm trying to put together a minimal emacs rpm and I'm trying this, >> with the ensuing error: >> >> rpmbuild --rebuild emacs-25.2-3.fc25.src.rpm --without-all rpmbuild: >> --without-all: unknown option >> >> I untarred the emacs source code and ran ./configure --help and >> --without- >> all is an option. I tried a few other config options - rpmbuild doesn't >> seem to recognize any of them. >> >> >> In the past I used >> >> rpmbuild --rebuild system-config-network-*.src.rpm --with gui >> >> and it worked. What am I doing wrong now? >> >> > I don't know exactly the format for the emacs options.... But looking > at the man page for rpmbuild and your examples these 2 would work. > > rpmbuild --rebuild system-config-network-*.src.rpm --with gui rpmbuild > --rebuild system-config-network-*.src.rpm --without gui > > The "gui" is the option going with or without. So....you probably > want. > > > rpmbuild --rebuild emacs-25.2-3.fc25.src.rpm --without without-all ? > or maybe "--with without-all" > > either way the keywords acceptable for the rpmbuild-options is either > --with or --without followed by a space and then the actual option. 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. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx