Makes sense.. and works if you remember to delete %configure out.  Commenting doesn't 
seem to work.

<willfail>
%patch0 -p1

%build
#CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s ./configure --prefix=/usr

#%configure
./configure
make
</willfail>

<willwork>
%patch0 -p1

%build
./configure
make
</willwork>

Thanks!

Jeremiah Johnson
Linux Security Analyst
Penguin Computing

Using `AC_PROG_RANLIB' is rendered obsolete by `AM_PROG_LIBTOOL'
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
+ ./configure i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin 
+--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include 
+--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var 
+--sharedstatedir=/usr/com --mandir=/usr/man --infodir=/usr/info
configure: error: --bindir=/usr/bin: invalid option; use --help to show usage
Bad exit status from /var/tmp/rpm-tmp.32149 (%build)


On Wed, Dec 27, 2000 at 09:13:10PM +0100, Bernhard Rosenkraenzer wrote:
> On Wed, 27 Dec 2000, Jeremiah Johnson wrote:
> 
> > How do I make rpm not pass all these extra configure options?
> 
> Use ./configure rather than %configure.
> 
> LLaP
> bero



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to