[Mono-devel-list] got a pkg-config clue Re: clue re: glib versionitis ?

Paul paul at all-the-johnsons.co.uk
Thu Sep 30 19:08:49 EDT 2004


Hi,

>     RedHat 9 , 2.4.20-6 .
> 
>     For those following the unfolding drama (of me getting a s.w.f gui 
> to run), I made more progress after `cp /usr/local/lib/libgdiplus.so* 
> /usr/lib` .

From rom memory, RH9 shouldn't of had the pkgconfig problems

>      But:
> [root at isslx3 dotNET]# rpm -i 
> /download/mono-posix-1.0.1-1.ximian.8.1.i386.rpm   # I know, I'm not 
> using FC2, so it shouldn't work

Use the FC1 version, it should work. Failing that, install redcarpet and
use that to install Mono. Personally though, I'd follow the instructions
below....

>     Does mono1.1.1 have enough to provide for these mono(System) & 
> mono(mscorlib) dependencies ? 

I'd do the following

1. Completely remove all of the mono rpm components. Totally.
2. Remove the self compiled version of libgdiplus and the sourcecode
3. Checkout from cvs the following mono mcs monodoc libgdiplus xsp gtk-
sharp. You will also need to get hold of cairo
4. cd mono
5. ./autogen.sh --prefix=/usr --with-preview={yes/no} (depending on if
you want to preview the alpha code, say yes or no)
6. Follow the readme file and run make get-monolite-latest, then make
monolite-bootstrap
7. su
8. make install

Okay, mono and mcs is now compiled and running.

1. cd ../cairo-0.1.23
2. ./configure --disable-gl --prefix=/usr
3. make
4. su, make install
5. cd ../libgdiplus
6. ./autogen.sh --prefix=/usr
7. make
8. su, make install

Right, you now can access System.Drawing properly

Now, if you want xsp to be installed, cd into the directory, read the
docs, make and install.

Finally, if you have run with --with-preview=yes on the
mono ./autogen.sh line and want to run the new version of SWF...

1. cd mcs/class/Managed.Windows.Forms
2. make clean
3. make
4. su
5. make MCS=mcs
6. make prefix=/usr install
7. /sbin/ldconfig

You should now have a fully working version of mono and mcs. The last
things to do is to make and install gtk-sharp and monodoc. These are the
same as building any other source application.

When you do the cvs update of mono/mcs etc, you need to clean up SWF

1. cd mcs/class/Managed.Windows.Forms
2. make clean
3. cd ../System.Windows.Forms
4. make clean
5. make
6. su, make MCS=mcs
7. make prefix=/usr install

Do the cvs update, cd mono, make bootstrap, su, make install

Jobs a good 'un.

If you're not running gcc 3.2 at least, update it to at least 3.2 -
prior to that there were all sorts of wierd problems with optimisations,
the STL and such.

Hope that helps. I think my website may soon get a copy of this posting,
it looks quite useful!

TTFN

Paul
-- 
Homer: Donut? 
Lisa: No, thanks. Do you have any fruit? 
Homer: This has purple stuff inside. Purple is a fruit.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20041001/84de1f61/attachment.bin 


More information about the Mono-devel-list mailing list