On 2003.02.03 12:40 Öykü Gençay wrote:
However if you want to mangle with some of the parameters in the configure script. You'd better expand sources and try to manually run configure script apply patches etc. But DO NOT run make at all !!! Leave this to rpm. after you are satisfied with parameters, edit your SPEC file and add those conigure parameters. Those would typically be --with-something=/blabla
It's funny... If I run configure manually, it works. However, if I use "rpm -bb", after just deleting the line "--with-esmtp=no", it complains about libmutt (wich is a directory of the build tree) and then fails: config.status: executing depfiles commands config.status: executing default-1 commands configure: configuring in libmutt configure: running /bin/sh './configure' --prefix=/opt/gnome '--enable-more-warnings=no' '--sysconfdir=/etc/opt/gnome' '--prefix=/opt/gnome' '--mandir=/usr/share/man' '--bindir=/opt/gnome/bin' '--datadir=/opt/gnome/share' '--enable-ldap' 'i386-suse-linux' 'CFLAGS=-O2 -march=i486 -mcpu=i686' 'build_alias=i386-suse-linux' 'host_alias=i386-suse-linux' 'target_alias=i386-suse-linux' --cache-file=/dev/null --srcdir=. configure: WARNING: you should use --build, --host, --target checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for i386-suse-linux-gcc... no checking for gcc... gcc checking for C compiler default output... configure: error: C compiler cannot create executables configure: error: /bin/sh './configure' failed for libmutt Bad exit status from /var/tmp/rpm-tmp.37114 (%build) So... I can not compile it using "rpm -bb", there are things missing/wrong. I'll have to use checkinstall afterall... See, the "local" compile works, I'm sending this with the balsa I have just compiled. O:-) -- Cheers