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

Mike Kestner mkestner at novell.com
Thu Sep 22 10:20:10 EDT 2005


On Thu, 2005-09-22 at 02:16 -0700, Todd Berman wrote:

> > `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.

You're wrong.  ;-)

AC_PATH_PROG(CSC, mcs, no)

I don't have any idea how that could be failing to return the mcs from
your path.  That's pretty fundamental autoconf stuff.

-- 
Mike Kestner <mkestner at novell.com>




More information about the Mono-devel-list mailing list