When I try to use %configure in proftpd.spec I get the following:

checking host system type... i686-mandrake-linux-gnu
checking target system type... i686-mandrake-linux-gnu
checking build system type... i686-mandrake-linux-gnu
configure: error: can only configure for one host and one target at a time
Bad exit status from /var/tmp/rpm-tmp.83167 (%build)

I'm calling it this way:

%configure --localstatedir=/var/run 
--with-modules=mod_linuxprivs:mod_ratio:mod_readme:mod_pam

When I use:

./configure --prefix=%{_prefix} \
  --sysconfdir=%{_sysconfdir} \
  --localstatedir=/var/run \
  --with-modules=mod_linuxprivs:mod_ratio:mod_readme:mod_pam

It doesn't complain and it works fine.  Any ideas?

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org

Current Linux uptime: 2 days 12 hours 20 minutes.

Reply via email to