[Mono-list] 64 bit makefile problem with the current tarballs

Paul paul at all-the-johnsons.co.uk
Fri May 5 17:56:42 EDT 2006


Hi,

I think I may have unearthed a problem in the makefiles currently in the
tarballs which only becomes apparent under 64 bit systems.

Currently, in the Makefile.am files, the pc files are placed into
$prefix/lib/pkgconfig - this is not a problem with 32 bit architecture,
but is with 64 bit systems which places .pc files into
$prefix/lib64/pkgconfig.

Not initially a problem until you then compile something which relies on
the package previously built. The new package looks in
$prefix/lib64/pkgconfig, doesn't find it and then stops.

If the makefile.am is altered to be

pkconfigdir=$(prefix)/$(libdir)/pkgconfig

and the configure script exports either libdir="lib" or "lib64" this
should sort the problem once and for all.

Any thoughts on this?

TTFN

Paul
 
-- 
Computer sind Klimaanlagen sehr ähnlich: beide funktionieren, es sei
denn man öffnet die Fenster
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20060505/896f29d8/attachment.bin


More information about the Mono-list mailing list