I don't mean to pollute this thread, but this might still be relevant. I am using an almost vanilla Ubuntu 7.10 system (actually a virtual machine for testing, which is precisely the reason why I keep it clean). The only changes from the stock installation are that: a) all updates are installed and b) Mono 1.2.5 was compiled and installed from source (stock is 1.2.4).
I do not know why libcairo2-dev affects the build (libcairo-dev was a spelling mistake, sorry for the confusion), but as soon as I removed it libgdiplus built correctly. I could make clean and try to rebuild with libcairo2-dev installed, but I'm not sure what that would prove - I'll do it if necessary. On Κυρ, 2007-11-18 at 15:34 -0500, Sebastien Pouliot wrote: > Hey, > > On Sun, 2007-11-18 at 21:23 +0200, Stephen Apostolopoulos wrote: > > Ah, that was it: > > > b. removed the libcairo2-dev package (there's no libcairo-dev) > > > > did that and it compiles perfectly now. > > hmmm... I'm glad it helped but... > > I only removed libcairo2-dev because you told us you didn't have > libcairo-dev installed (and I guessed it was a typo). > > In other words, in my VM I can configure/make libgdiplus with or without > having libcairo2-dev installed. > > > Sorry for the false alarm. > > > > No problem, but you still could have some other issues on your system. > > > > > > > ----- Original Message ----- > > From: "Sebastien Pouliot" <[EMAIL PROTECTED]> > > To: "Stephen Apostolopoulos" <[EMAIL PROTECTED]> > > Cc: "mono-devel" <mono-devel-list@lists.ximian.com> > > Sent: Sunday, November 18, 2007 6:19 PM > > Subject: Re: [Mono-dev] Announcing Mono 1.2.6 Preview 2 !! > > > > > > > Hello again, > > > > > > On Sun, 2007-11-18 at 11:23 +0200, Stephen Apostolopoulos wrote: > > >> Problems compiling libgdiplus-1.2.6 on Ubuntu 7.10 (amd64): > > >> > > >> 1) The configure script didn't catch a missing dependency on libcairo-dev > > >> > > >> 2) After installing the dependency, make throws an error: > > >> ./configure --prefix=/usr/local > > > > > > So I > > > a. booted a vmware image of Ubuntu 7.10 (amd64) > > > b. removed the libcairo2-dev package (there's no libcairo-dev) > > > c. downloaded and extracted libgdiplus preview 2 sources [1] > > > d. executed ./configure --prefix=/usr/local > > > e. executed make > > > > > > without any error in the process. Since this is a near-pristine image > > > (with added packages to enable to compile stuff) I assume you have some > > > other problems in your environment (and maybe you configure log will > > > show it). > > > > > > [1] > > > http://mono.ximian.com/monobuild/preview/sources/libgdiplus/libgdiplus-1.2.6.tar.bz2 > > > > > >> make > > >> [...] > > >> make[4]: Entering directory `/home/vm/Mono/libgdiplus-1.2.6/cairo/src' > > >> [...] > > >> gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../pixman/src > > >> -I/usr/include/freetype2 > > >> -DPNG_NO_MMX_CODE > > >> -I/usr/include/libpng12 -Wall -Wextra -Wsign-compare > > >> -Werror-implicit-function-declaration > > >> -Wpointer-arith -Wwrite-strings -Wstrict-prototypes > > >> -Wmissing-prototypes > > >> -Wmissing-declarations > > >> -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute > > >> -Wstrict-aliasing=2 > > >> -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement > > >> -Wold-style-definition > > >> -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes > > >> -fno-strict-aliasing > > >> -g -O2 -MT cairo-xlib-surface.lo -MD -MP -MF > > >> .deps/cairo-xlib-surface.Tpo -c cairo-xlib-surface.c -fPIC -DPIC -o > > >> .libs/cairo-xlib-surface.o > > >> cairo-xlib-surface.c:2170: error: > > >> 'EXT_mono_cairo_xlib_surface_create_with_xrender_format' aliased to > > >> undefined symbol 'INT_mono_cairo_xlib_surface_create_with_xrender_format' > > >> make[4]: *** [cairo-xlib-surface.lo] Error 1 > > >> make[4]: Leaving directory `/home/vm/Mono/libgdiplus-1.2.6/cairo/src' > > >> make[3]: *** [all-recursive] Error 1 > > >> make[3]: Leaving directory `/home/vm/Mono/libgdiplus-1.2.6/cairo' > > >> make[2]: *** [all] Error 2 > > >> make[2]: Leaving directory `/home/vm/Mono/libgdiplus-1.2.6/cairo' > > >> make[1]: *** [all-recursive] Error 1 > > >> make[1]: Leaving directory `/home/vm/Mono/libgdiplus-1.2.6' > > >> make: *** [all] Error 2 > > >> > > >> Version 1.2.5 compiled ok. Didn't test with 1.2.6 Preview 1. Any ideas? > > >> > > >> _______________________________________________ > > >> Mono-devel-list mailing list > > >> Mono-devel-list@lists.ximian.com > > >> http://lists.ximian.com/mailman/listinfo/mono-devel-list > > > > > > > > > _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list