[Mono-dev] Building Mono 1.2.3 from Source

Jonathan Pryor jonpryor at vt.edu
Thu Mar 22 06:39:46 EDT 2007


On Wed, 2007-03-21 at 10:44 -0400, Brown, Robert wrote:
> I have a really dumb question…  I'm running Debian and have installed
> mono 1.2.1 from Apt along with xsp and mod-mono.  However, I want to
> use the new features so I ended up building mono 1.2.3 from source and
> setting the install directory to /opt/mono-1.2.3.1; that went well.  
> 
> Now I'm trying to build XSP but when I run ./configure it says
> "checking for mono… /usr/bin/mono".  What do I need to do to tell it
> to use the newer version of mono lacerated at /opt/mono-1.2.3.1?  

You need to export the following variables so that `configure' finds
your /opt/mono-1.2.3.1 install instead of your OS-provided install:

	export PATH=/opt/mono-1.2.3.1/bin:$PATH
	export PKG_CONFIG_PATH=/opt/mono-1.2.3.1/lib/pkgconfig:$PKG_CONFIG_PATH
	export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/mono-1.2.3.1/lib
	export MONO_GAC_PREFIX=/opt/mono-1.2.3.1:/usr

 - Jon





More information about the Mono-devel-list mailing list