[Mono-dev] Compiling Mono? - I give up (Not proceeding)

David Schmitt david at dasz.at
Wed May 2 05:53:46 UTC 2012

On 2012-05-01 03:44, Rob Wilkens wrote:
> Ok, So i'll get to where i'm at now:
> 1) I did an "apt-get source mono" ran an autogen, make..... (and
> eventually make install) -- figuring this would get me the same version
> that i was running.

When working with Debian packages, you need to inspect the debian/rules 
file to see how the package is actually built. Since this build is 
intended for packaging, it will not be usable without building and 
installing the actual .deb packages.

For local building of source packages, I recommended dpkg-buildpackage 
to drive the process.

See http://www.debian.org/doc/manuals/maint-guide/build.en.html

Also, you might be missing some of the build-dependencies, which can 
also easily installed with "apt-get build-dep mono".

> -Direct from the command line without 'mono' command: It works fine, but
> i suspect that this is using the /usr/bin version

There is an explanation on the mono page, describing how to use multiple 
versions of mono:


> I realize i'm on my own with building from apt-get source, as these are
> ubuntu files and not mono project files.

I'm currently building from the mono-2-10 branch from git, primarily 
doing a autogen --prefix=... && make && make install and it worked for me.

Best Regards, David

More information about the Mono-devel-list mailing list