[Mono-bugs] [Bug 61072][Wis] New - "make install" in mcs package does not use mcs available in my PATH, but wants /usr/bin/mcs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 2 Jul 2004 10:09:48 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by y.leikind@sam-solutions.net.

http://bugzilla.ximian.com/show_bug.cgi?id=61072

--- shadow/61072	2004-07-02 10:09:48.000000000 -0400
+++ shadow/61072.tmp.19138	2004-07-02 10:09:48.000000000 -0400
@@ -0,0 +1,42 @@
+Bug#: 61072
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: y.leikind@sam-solutions.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: "make install" in mcs package does not use mcs available in my PATH, but wants /usr/bin/mcs
+
+I build all Mono packages with --prefix=/opt. 
+
+I have /opt/bin in my path:
+
+leikind@pc324:~/src/mcs-1.0$ which mcs
+/opt/bin/mcs
+
+
+Strange thing, after I have successfully built the mcs package, and try to
+install it, I get the message  that mcs is needed to perform installation,
+as though it is missing (it is not):
+
+leikind@pc324:~/src/mcs-1.0$ sudo make install
+*** You need a C# compiler installed to build MCS. (make sure mcs works
+from the command line)
+*** Read INSTALL.txt for information on how to bootstrap
+*** a Mono installation.
+make: *** [platform-check] Error 1
+
+
+Only if I create a symlink :  ln -s /opt/bin/mcs  /usr/bin/mcs, make
+install works. The same is with the mono program, I have to symlink it.
+
+It should be able to use mcs in  /opt/bin, as it is in the PATH variable.