SCIENTIFIC-LINUX-USERS Archives

April 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Hoffmann, Tony" <[log in to unmask]>
Reply To:
Hoffmann, Tony
Date:
Wed, 6 Apr 2005 19:14:46 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
This isn't a librsvg2 build problem. It's a gtk2 build problem.  SL's gtk2 package is placing stuff in i686-redhat-linux-gnu where Redhat's rpm is placing it in i386-redhat-linux-gnu.   emacs and pango also show this sort of file placement discrepency.  It may be that Redhat is forcing the _host macro to be i386-redat-linux on their build machine.  It looks like the CentOS guys set the _host macro to i386-redhat-linux in order to maintin 100% compatibilty with Redhat.

-----Original Message-----
From: [log in to unmask]
[mailto:[log in to unmask]]On Behalf Of
Daniel Widyono
Sent: Sunday, April 03, 2005 6:40 PM
To: [log in to unmask]
Subject: Re: librsvg2 errors


FYI, I realize this is manual and doesn't scale, but:

	rpm -e librsvg2-2.2.3-2
	yum install librsvg2
	/usr/bin/update-gdk-pixbuf-loaders i686-redhat-linux-gnu

The last line is the sole failure in the post-install-scriptlet (which refers
to i386-redhat-linux-gnu).

This allowed me to proceed without errors.  I checked the spec file, it has:

%post
/sbin/ldconfig
%{_bindir}/update-gdk-pixbuf-loaders %{_arch}-%{_host_vendor}-%{_host_os}

So %{_arch} turns into i386, while the build target during rpmbuild is
i686-redhat-linux-gnu.  I don't know how they'll _want_ to fix this, but
there you have it.  Personally I'd change %{_arch}, but I don't know to what
it should be changed.

Dan W.

ATOM RSS1 RSS2