[Mono-dev] Right MCS in Path, Configure Gets Wrong MCS

Todd Berman tberman at off.net
Thu Sep 22 05:16:15 EDT 2005

On Wed, 2005-09-21 at 20:18 -0500, Stephen Quattlebaum wrote:
> I asked this question on the list a few weeks ago but no response.  Maybe a
> different set of eyes happen across it this time.
> --
> I'm trying to build gtk-sharp from SVN.  I have a stable mono installation
> in /usr, but I also have a bleeding-edge installation at
> /home/stephen/bin/mono-svn.  I want to use the mcs found there
> (/home/stephen/bin/mono-svn/bin/mcs) b/c I plan to install gtk-sharp there,
> and the 'stable' compiler in /usr is much older.
> I have my PATH set up for my user account so that the newer mono is the one
> that should be seen.  I.e.,
> `which mcs` returns the expected /home/stephen/bin/mono-svn/bin/mcs.
> When I run ./bootstrap-2.4 --prefix=/home/stephen/bin/mono-svn/, however, I
> get the following summary after configure runs:
> Configuration summary
>    * Installation prefix = /home/stephen/bin/mono-svn/
>    * C# compiler: /usr/bin/mcs

My best guess is to make sure that your PKG_CONFIG_PATH
contains /home/stephen/bin/mono-svn/lib/pkgconfig/ as I believe gtk#
checks for mcs using the location of the mono.pc, but I could be wrong.


More information about the Mono-devel-list mailing list