[Mono-devel-list] Using mono CVS

christophe barbe christophe at cattlegrid.net
Tue Nov 9 10:14:19 EST 2004

I am not clear on what I need to do to actually use my freshly compiled
mono CVS (installed in /usr/local) instead of the stable one (in /usr).

My goal is to play with the Xquery implementation in Mono.Xml.Ext. I
added it to the Makefile. It builds and install fine.

I can compile a simple program with /usr/local/bin/mcs.

The CVS gacutil sees the assembly:

~$ /usr/bin/gacutil | grep Mono.Xml.Ext
~$ /usr/local/bin/gacutil -l | grep Mono.Xml.Ext
Mono.Xml.Ext, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Version=1.0.5000.0 seems to indicate that I am using NET_1_1 according
to mcs/class/Mono.Xml.Ext/Assembly/AssemblyInfo.cs.

Then when I want to compile a cs file with "using Mono.Xml.Ext;" I get:
~$ /usr/local/bin/mcs test.cs
test.cs(6) error CS0246: The namespace `Mono.Xml.Ext' can not be found (missing assembly reference?)
Compilation failed: 1 error(s), 0 warnings

To use mono CVS I did export a few things:
export PATH=/usr/local/bin/:$PATH
export LD_LIBRARY_PATH=/usr/local/lib/
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
export MONO_PATH=/usr/local/lib/

Any ideas?


Christophe Barbé <christophe.barbe at ufies.org>
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E

First they ignore you, then they laugh at you, then they fight you,
then you win. -- Mohandas Gandhi 

More information about the Mono-devel-list mailing list