Hi!
I wanted to update the nessus package to use macros.  In the spec file there
is this line:

ac_cv_prog_g=no ac_cv_prog_cxx_g=no ./configure \
--enable-cipher --enable-zlib

I replaced it with

ac_cv_prog_g=no ac_cv_prog_cxx_g=no %configure --host=%{_host}
--enable-cipher --enable-zlib

Now when I run rpm -ba nessus.spec, configure fails with this error:

[...]
running /bin/sh ./configure  i586-mandrake-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/lib --localstatedir=/var/lib --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info
--host=i586-mandrake-linux-gnu --enable-cipher --enable-zlib
--cache-file=../.././config.cache --srcdir=.
loading cache ../.././config.cache
checking host system type... pentium-mandrake-linux-gnu
checking target system type... pentium-mandrake-linux-gnu
checking build system type... pentium-mandrake-linux-gnu
configure: error: can only configure for one host and one target at a time
[...]

host is, and %{_host} expands to, i586-mandrake-linux-gnu.  Where is this
"pentium-mandrake-linux-gnu" coming from, and why am I having this problem
only when I use %configure?

I use rpm-21mdk, glibc-2.1.3-16mdk and gcc-2.95.2-11mdk

Thanks.

Alexander Skwar
-- 
Homepage:       http://www.digitalprojects.com | http://www.dp.ath.cx
Sichere Mail?   Mail an [EMAIL PROTECTED] fuer GnuPG Keys
ICQ:            7328191

Reply via email to