Re: Compiling an RPM

Stefan Gehn <[email protected]> Sun, 08 May 2011 13:23:05 +0200
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
On 04/28/2011 09:25 PM, Lummoxx wrote:
> I'm trying to compile an RPM from the source downloaded from
> http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html.
> 
> http://members.dslextreme.com/users/billw/gkrellm/gkrellm-2.3.5.tar.bz2
> is my source.
> 
> rpmbuild -ta gkrellm-2.3.5.tar.bz2
> 
> RPM build errors:
>     File not found: /var/tmp/gkrellm-2.3.5-root/usr/lib64/pkgconfig/gkrellm.pc
>     Installed (but unpackaged) file(s) found:
>    /usr/lib/pkgconfig/gkrellm.pc

This seems to be one of the weird x86_64 distros (SuSE?) that only have
/usr/lib64/ but no /usr/lib. The problem is that the install target of
gkrellms Makefile blindly copies gkrellm.pc into
DESTDIR/PREFIX/lib/pkgconfig/.

Instead of relying on the probably outdated spec file that ships with
gkrellm (it's probably meant as a base for packager to improve upon) I'd
rather grab the SRPM for the distro and update it to build/package
gkrellm-2.3.5 instead of some older version.

Bye,
Stefan Gehn

______________________________________________
Gkrellm mailing list
[email protected]
Read archives-join-leave-set RSS feed:
http://archive.lists.netservicesgroup.com
This service is provided by The Network Services Group:
http://www.netservicesgroup.com