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

2005-09-22 Thread Todd Berman
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.

--Todd

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


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

2005-09-22 Thread Mike Kestner
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 [EMAIL PROTECTED]

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list