Hi,

        I am trying to rebuild a bunch of the rpms included with redhat 6.2.  I'm 
building the packages with "rpm -ba whatever.spec".  The problems I am having with 
these last few rpms though are something new to me.  When I try to build flex it dies 
in configure with the following error:

rpm -ba flex.spec
<snip>
Remember to add `AM_PROG_LIBTOOL' to `configure.in'.
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.69749 (%build)

How do I make rpm not pass all these extra configure options?  I've tried uncommenting 
the CFLAGS line in the flex.spec file and recieved the same problem.  Are there more 
options I should be passing to rpm as I build to build these in a more correct way, 
from what I know about rpm, it should just be as simple as rpm -ba bleh.spec.

Thanks,

Jeremiah Johnson
Linux Security Analyst
Penguin Computing  



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

Reply via email to