[Banshee-List] banshee libdir broken in pkg-config files
- From: "Nick Brown" <nickbroon gmail com>
- To: banshee-list gnome org
- Subject: [Banshee-List] banshee libdir broken in pkg-config files
- Date: Fri, 8 Aug 2008 00:46:14 +0100
So it appears that there is a bug in the banshee pkg-config files.
On my 64 bit system it returns;
pkg-config --variable=bansheedir banshee-1-core
/usr/lib/banshee-1
which is wrong. It should be /usr/lib64/banshee-1
Looking at the .pc file, its being hardcoded.
cat banshee-1-core.pc.in
prefix= prefix@
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
bansheedir=${libdir}/banshee-1
Name: Banshee Core
Description: Core APIs for the Banshee Media Framework
Version: @VERSION@
Requires: taglib-sharp ndesk-dbus-1.0 ndesk-dbus-glib-1.0 glib-
sharp-2.0 mono-addins banshee-1-hyena banshee-1-musicbrainz
Libs: -r:${bansheedir}/Banshee.Core.dll
This needs fixing in banshee. Should a bug be raised?
As a result its preventing me building banshee-mirage on my x84_64
system;
Making all in Mirage
make[1]: Entering directory `/home/nicbrown/rpm/BUILD/mirage-0.3.0/
Mirage'
gmcs -noconfig -debug -codepage:utf8 -unsafe -warn:4 -d:DEBUG -
out:Mirage.dll -target:library -r:/usr/lib/banshee-1/
Banshee.Widgets.dll -r:/usr/lib/banshee-1/Banshee.ThickClient.dll -r:/
usr/lib/banshee-1/Banshee.Services.dll -r:Mono.Cairo -r:/usr/lib/
banshee-1/Hyena.Gui.dll -r:/usr/lib/banshee-1/Banshee.Core.dll -
r:System -r:/usr/lib/banshee-1/Mono.Media.dll -r:/usr/lib64/
pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:System.Data -
r:Mono.Data.SqliteClient -r:Mono.Posix -r:/usr/lib/banshee-1/Hyena.dll
-r:/usr/lib/banshee-1/MusicBrainz.dll -r:/usr/lib64/pkgconfig/../../
lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/lib64/pkgconfig/../../
lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/lib64/pkgconfig/../../lib/
mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/lib64/pkgconfig/../../lib/
mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/lib/mono/taglib-sharp/taglib-
sharp.dll -r:/usr/lib/mono/ndesk-dbus-1.0/NDesk.DBus.dll -r:/usr/lib/
mono/ndesk-dbus-glib-1.0/NDesk.DBus.GLib.dll -r:/usr/lib/mono/mono-
addins/Mono.Addins.dll -resource:./res/dct.filter,dct.filter -
resource:./res/filterweights.filter,filterweights.filter ./
AudioDecoder.cs ./CovarianceMatrix.cs ./Db.cs ./Dbg.cs ./Matrix.cs ./
Mfcc.cs ./Mir.cs ./Scms.cs ./Vector.cs ./AssemblyInfo.cs
error CS0006: cannot find metadata file `/usr/lib/banshee-1/
Banshee.Widgets.dll'
error CS0006: cannot find metadata file `/usr/lib/banshee-1/
Banshee.ThickClient.dll'
error CS0006: cannot find metadata file `/usr/lib/banshee-1/
Banshee.Services.dll'
error CS0006: cannot find metadata file `/usr/lib/banshee-1/
Hyena.Gui.dll'
error CS0006: cannot find metadata file `/usr/lib/banshee-1/
Banshee.Core.dll'
error CS0006: cannot find metadata file `/usr/lib/banshee-1/
Mono.Media.dll'
error CS0006: cannot find metadata file `/usr/lib/banshee-1/Hyena.dll'
error CS0006: cannot find metadata file `/usr/lib/banshee-1/
MusicBrainz.dll'
Compilation failed: 8 error(s), 0 warnings
make[1]: *** [Mirage.dll] Error 1
make[1]: Leaving directory `/home/nicbrown/rpm/BUILD/mirage-0.3.0/
Mirage'
make: *** [all-recursive] Error 1
error: Bad exit status from /home/nicbrown/rpm/tmp/rpm-tmp.29759
(%build)
Cheers,
Nick
On Jan 15, 1:17 pm, Dominik Schnitzer <dominik schnit gmail com>
wrote:
- Hide quoted text -
- Show quoted text -
> David Nielsen wrote:
> > On Dec 10, 11:58 am, David Nielsen <gnomeu gmail com> wrote:
> >> I'm trying to prepare mirage for packaging in Fedora and since we put
> >> 64bit libraries in /usr/lib64 mirage needs to honor --libdir or it
> >> will build against the 32 bit compatibility libraries and thus refuse
> >> to run.
> > It appears that banshee actually honors libdir except for the install
> > process. It will build against the correct libraries but install into /
> > usr/lib rather than the specificed directory
> Hi,
> I'm just in the process of releasing Mirage 0.2.1 and had a look at the
> configure.ac file.
> Mirage gets the banshee directories where to install everything using
> this command:
> BANSHEE_LIBDIR=`$PKG_CONFIG --variable=libdir banshee`"/banshee"
> The .so to decode/analyze songs needs to go into the same directory as
> banshee puts its stuff (usually /usr/lib/banshee/). For a 64bit system
> this should naturally point to /usr/lib64/banshee and pkg-config should
> return this too.
> Could you give me some more info about this issue?
> regards,
> dominik.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]