[Mono-winforms-list] compiling mono swf in local directory?

Paul Johnson paul@all-the-johnsons.co.uk
Wed, 19 Jan 2005 13:42:54 +0000


Hi,

> Is there a way to have the stable mono release system wide installed while
> working on the svn version in a local directory?

Yes, but in my experience, it's messy.

Compile mono as normal to your local directory. When you come to execute
mcs, you need to say /home/paul/bin/mcs -
r:/home/paul/lib/System.Windows.Forms

(where /home/paul is your home directory, /bin is whereever the mono
binaries live, /lib whereever the mono libs live). I have a feeling
you'll also have to tell it to use the includes from /home/paul/includes
as well.

As I say, can be done, but is messy.

Failing that, run autogen.sh --prefix=/opt and then you just need to
say /opt/bin/mcs. Slightly less messy, but still a pain.

TTFN

Paul
-- 
"He's not the Messiah, he's a very naughty boy"
- Life of Brian, Monty Python