[Mono-winforms-list] libgdiplus 1.1.5 build problem (MacOSX)

Bill Keirstead keirstwc@wickedlysimple.com
Fri, 1 Apr 2005 14:31:17 -0500


Hi all.  I am very new to the mono community and am having a problem 
building lbgdiplus-1.1.5 from the source.  This is probably a FAQ, so 
feel free to point me there if appropriate.

I am using MacOSX 10.3.8 and have built mono-1.1.6 from source.  That 
works as expected.  I then downloaded the libgdiplus-1.1.5 source and 
tried to build that with no luck.

To ensure that the problem is not any existing configuration, I have 
performed a clean install of the OS, installed the X11 SDK, installed 
mono and it's dependencies.  To build libgdiplus, I simply change to 
the source directory, run "./configure --disable-glitz" and then run 
make.

I then get the following error:


  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libpixman/src -I../cairo/src 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wall 
-Werror -Wno-unused -Wno-format -no-cpp-precomp -g -O2 -pthread -MT 
adjustablearrowcap.lo -MD -MP -MF .deps/adjustablearrowcap.Tpo -c 
adjustablearrowcap.c  -fno-common -DPIC -o .libs/adjustablearrowcap.o
gcc: unrecognized option `-pthread'
In file included from adjustablearrowcap.c:27:
gdip.h:798: error: parse error before "FcFontSet"
gdip.h:798: warning: no semicolon at end of struct or union
gdip.h:800: warning: type defaults to `int' in declaration of `config'
< cut rest of errors>

Any suggestions on what I am missing?

Thanks a lot!

Bill Keirstead