[sylpheed:33899] Re: Sylpheed 3.0.2 released (security release)
Markus Adamski
markus.adamski at web.de
Fri Apr 23 01:34:42 JST 2010
Worked, thx.
On Tue, 20 Apr 2010 23:03:53 +0200
Andres Buehlmann <tastas at gmx.net> wrote:
> > 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
--
"WILL WORK FOR CHOCOLATE"
More information about the Sylpheed
mailing list