[sylpheed:33887] Re: Sylpheed 3.0.2 released (security release)
Andres Buehlmann
tastas at gmx.net
Wed Apr 21 06:03:53 JST 2010
> I downloaded the latest stable bz2-package ant tried to compile it on
> fedora 10 with
>
> rpmbuild -ta sylpheed-3.0.2.tar.bz2
>
> Everything is fine until this error:
>
> Fehler beim Bauen des RPM:
> Datei von "glob" nicht
> gefunden: /home/markus/rpmbuild/BUILDROOT/sylpheed-3.0.2-1.x86_64/usr/lib64/*
The problem is that sylpheed (by default) installs its libraries into
$prefix/lib but rpmbuild expects them to be in $prefix/lib64 (on x86_64
architecture).
A way to work around this problem is to edit two lines in
~/rpmbuild/SPECS/sylpheed.spec as follows:
105c105
< CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} ${SYLPHEED_CONFIGURE_FLAGS}
---
> CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --libdir=/usr/lib64 ${SYLPHEED_CONFIGURE_FLAGS}
109c109
< make prefix=${RPM_BUILD_ROOT}%{prefix} install
---
> make prefix=${RPM_BUILD_ROOT}%{prefix} libdir=${RPM_BUILD_ROOT}/usr/lib64 install
and then run
rpmbuild -ba ~/rpmbuild/SPECS/sylpheed.spec
(and make sure sylpheed-3.0.2.tar.gz is in ~/rpmbuild/SOURCES).
Andres
More information about the Sylpheed
mailing list