On Thu, 17 Aug 2017 09:30:11 +0800, Ed Greshko wrote:
On 08/17/2017 09:22 AM, 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.
I don't think I was very clear.....
Yes, the options are valid for "configure" and you need to pass those
options in the rpmbuild command.
BUT, the option is preceded by the options of rpmbuild and they are....
rpmbuild-options
[--buildroot DIRECTORY] [--clean] [--nobuild]
[--rmsource] [--rmspec] [--short-circuit] [--build-in-place]
[--noprep] [--noclean] [--nocheck]
[--target PLATFORM]
[--with OPTION] [--without OPTION]
Soo.......you probably need something like this...
rpmbuild --rebuild emacs-25.2-3.fc25.src.rpm --without (a space goes
here!!!) without-all
I tried rpmbuild --rebuild both --with without-all and also --without
without-all and it didn't work. I think that would be equivalent to
./configure --with without-all or
./configure --without without-all
respectively. Neither one is valid for configure. I think there's nothing
that can be done here.