[Mono-dev] Problem building against mono-2.8

Paul F. Johnson paul at all-the-johnsons.co.uk
Wed Oct 6 11:40:51 EDT 2010


Hi,

A bit of help would go down well here :)

I'm doing a mass rebuild for fedora against mono-2.8 and have hit a bit
of a problem. When I try to build gtk-sharp2 it looks like
MONO_CAIRO_LIBS is not picking up that it's now in $(libdir)/mono/2.0
instead of $(libdir)/mono/1.0.

Looking in the configuration files it's a simple problem - pkg-config is
looking for mono-cario-2.0.pc and not mono-cairo.pc in
$(libdir)/pkgconfig

Is there a way to fix this as I'm not sure if this is a fedora problem
(with pkgconfig), a mono one (not calling the .pc files correctly), a
gtk-sharp2 problem (looking for the incorrect filename during the config
process) or a mix of all three!

The contents of the mono-cairo.pc file on my box looks like this

prefix=${pcfiledir}/../..
exec_prefix=${pcfiledir}/../..
libdir=/usr/lib
includedir=${prefix}/include

Name: Mono.Cairo
Description: Cairo bindings for Mono
Version: 2.8
Libs: -r:${libdir}/mono/2.0/Mono.Cairo.dll

TTFN

Paul
-- 
Vertraue mir, ich weiss, was ich mache...



More information about the Mono-devel-list mailing list