[Mono-list] Problem compiling libgdiplus (FC4, Mono 1.1.8)

Alex Roman allex2k3 at yahoo.ca
Fri Jul 22 07:14:21 EDT 2005


http://www.nrpms.net/Packages/fedora-4-i386/

No mod_mono (yet?)

mono source code might have to be altered to compile with gcc-4, I have a feeling those packages aren't compiled with gcc-4, though they work on my machine.


HTH,
Alex.

Peter De Jager wrote:
> I compiled freetype-2.1.10 from source (but yum shows that freetype.ppc
> 2.1.9-2 and freetype-devel 2.1.9-2 are installed, so I guess it was already
> installed?). Nonetheless, I get the same behaviour when trying to build
> libgdiplus-1.1.8. The output from configuring libgdiplus still shows:
> 
> ...
> Cairo will be compiled with the following suftace backends:
> ...
> And the following font backends:
>         freetype: no
>         atsui: no
> ...
> 
> And make still fails with the 'CAIRO_FONT_BACKEND_DEFAULT' error.
> 
> Is there something else I need to do for the libgdiplus build process to
> "see" the freetype lib?
> 
> Thanks
> Pete.
> 
> 
> 
>>-----Original Message-----
>>From: Peter Dennis Bartok [mailto:peter at novonyx.com] 
>>Sent: Friday, July 22, 2005 00:55
>>To: Peter De Jager; mono-list at lists.ximian.com
>>Subject: Re: [Mono-list] Problem compiling libgdiplus (FC4, 
>>Mono 1.1.8)
>>
>>You need freetype on your system. Either compile from source 
>>or install the freetype-devel package.
>>
>>Peter
>>
>>-----Original Message-----
>>From: "Peter De Jager" <peterdj at telkomsa.net>
>>To: <mono-list at lists.ximian.com>
>>Date: 21 July, 2005 16:39
>>Subject: [Mono-list] Problem compiling libgdiplus (FC4, Mono 1.1.8)
>>
>>
>>
>>>I am having trouble installing libgdiplus. I have tried both the 
>>>go-mono download and svn but I get the same error:
>>>
>>>[root at localhost libgdiplus]# ./autogen.sh --prefix=/usr/local/ ...
>>>cairo will be compiled with the following surface backends:
>>> Xlib: yes
>>> Quartz: no
>>> XCB: no (requires XCB http://freedesktop.org/software/xcb)
>>> PostScript: yes
>>> PDF: no
>>> PNG: no (requires libpng http://www.libpng.org)
>>> glitz: no (requires glitz http://freedesktop.org/software/glitz)
>>>and the following font backends:
>>> freetype: no
>>> atsui: no
>>>---
>>>Configuration summary
>>>  * Installation prefix = /usr/local/
>>>  * Codecs supported:
>>>     - TIFF: yes
>>>     - JPEG: yes
>>>     - GIF: yes
>>>     - PNG: yes
>>>     NOTE: if any of the above say 'no' you may install the
>>>           corresponding development packages for them, rerun
>>>           autogen.sh to include them in the build.
>>>---
>>>Now type `make' to compile
>>>
>>>[root at localhost libgdiplus]# make
>>>...
>>>if /bin/sh ../libtool --tag=CC --mode=compile gcc 
>>
>>-DHAVE_CONFIG_H -I. -I.
>>
>>>-I.. -I. -I../../libpixman/src   -Wall -Wpointer-arith 
>>
>>-Wstrict-prototypes
>>
>>>-Wmissing-prototypes -Wmissing-declarations         -Wnested-externs
>>>-fno-strict-aliasing    -g -O2 -MT cairo_font.lo -MD -MP -MF
>>>".deps/cairo_font.Tpo" -c -o cairo_font.lo cairo_font.c; \ 
>>
>>then mv -f 
>>
>>>".deps/cairo_font.Tpo" ".deps/cairo_font.Plo"; else rm -f 
>>>".deps/cairo_font.Tpo"; exit 1; fi  gcc -DHAVE_CONFIG_H -I. -I. -I.. 
>>>-I. -I../../libpixman/src -Wall -Wpointer-arith -Wstrict-prototypes 
>>>-Wmissing-prototypes -Wmissing-declarations -Wnested-externs 
>>>-fno-strict-aliasing -g -O2 -MT cairo_font.lo -MD -MP -MF 
>>>.deps/cairo_font.Tpo -c cairo_font.c  -fPIC -DPIC -o 
>>
>>.libs/cairo_font.o
>>
>>>cairo_font.c: In function '_font_cache_create_entry':
>>>cairo_font.c:89: error: 'CAIRO_FONT_BACKEND_DEFAULT' 
>>
>>undeclared (first 
>>
>>>use in this function)
>>>cairo_font.c:89: error: (Each undeclared identifier is reported only 
>>>once
>>>cairo_font.c:89: error: for each function it appears in.)
>>>make[4]: *** [cairo_font.lo] Error 1
>>>make[4]: Leaving directory `/root/mono/libgdiplus/cairo/src'
>>>make[3]: *** [all-recursive] Error 1
>>>make[3]: Leaving directory `/root/mono/libgdiplus/cairo'
>>>make[2]: *** [all] Error 2
>>>make[2]: Leaving directory `/root/mono/libgdiplus/cairo'
>>>make[1]: *** [all-recursive] Error 1
>>>make[1]: Leaving directory `/root/mono/libgdiplus'
>>>make: *** [all] Error 2
>>>[root at localhost libgdiplus]#
>>>
>>>What do I need to do to fix this? Or what should I search 
>>
>>for to find 
>>
>>>an answer.
>>>
>>>Thanks
>>>Pete.
>>>
>>>_______________________________________________
>>>Mono-list maillist  -  Mono-list at lists.ximian.com 
>>>http://lists.ximian.com/mailman/listinfo/mono-list
>>>
>>>
>>
>>
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 


More information about the Mono-list mailing list