Re: [SLE] How do I recompile a whatever.src.rpm from SuSE?
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
On 2003.02.04 01:02 Carlos E. R. wrote:
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:
Well, I got the rpm done (balsa-1.2.4-32.i386.rpm). I don't know why it failed, but it must have been one of the dozens of *-devel.rpm I had to install in order to try compile the newest version of balsa (1.4.2 and 2.0.6). If any one wants it... mmm, it is not so straight forward, it requires libesmtp which is not provided by suse. It would be better if SuSE made the patch themselves. -- Cheers, Carlos Robinson
participants (1)
-
Carlos E. R.