[Mono-dev] Mono svn + Ubuntu 7.04, patch and request for correction - libXrender etc, compiling instructions idea.

Victor Sergienko singalen at gmail.com
Tue Jul 31 16:13:25 EDT 2007


Hi gentlemen,

I'm trying to make it into Mono development hard way - compiling own
application.
I'm using Ubuntu 7.04 latest.

1. In order to compile libgdiplus, needed to do the attached hack in
sources, is it sensible?

2. I'm totally unfamiliar with these, can someone please give a hint?
During linking I got
gcc -g -O2 -pthread -o .libs/testgdi testgdi.o
../src/.libs/libgdiplus.so ../cairo/src/.libs/libcairo.a -lX11 -lm
/usr/lib/libglib-2.0.so /usr/lib/libfreetype.so -lz -lpng12 -lpthread
-lfontconfig -Wl,--rpath -Wl,/usr/local/lib
I get a bunch of errors about libXrender symbols not found. Probably
configure scripts for tests need a change.
Thanks.

3. During compilation, I put together a list of required libraries. It
might make some use, mabe even at
http://www.mono-project.com/Compiling_Mono

=================================
1. Be ware, you'll need about 500M of disk space for sources.

2. To compile "mono" - libraries and runtime - one needs:
automake
autoconf
bison
flex

3. To compile "libgdiplus" - GUI basic layer - one needs:
libpng12-dev
libx11-dev
libfontconfig1-dev
autmake1.9 (and set env variable WANT_AUTOMAKE=1.9) (see
http://bugzilla.ximian.com/show_bug.cgi?id=81734) (maybe this really
calls to correct the source)
libxrender-dev
freetype-dev
fontconfig libxft2-dev intltool libgtksourceview-dev libgtk2.0-dev
libpango1.0-dev freetype1-tools freetype2-demos libx11-dev
libtiff4-dev libjpeg62-dev libpng12-dev libglib2-dev
libxrender?-dev

It's also recommended to have:
libjpeg*-dev
libgif-dev
libungif4-dev
=================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vic.diff
Type: text/x-patch
Size: 895 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070731/18b1519c/attachment.bin 


More information about the Mono-devel-list mailing list