[Mono-bugs] [Bug 53171][Wis] Changed - CodeDOM requires the $PATH to include mono

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 21 Jan 2004 12:29:02 -0500 (EST)


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 bmaurer@users.sf.net.

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

--- shadow/53171	2004-01-21 10:33:15.000000000 -0500
+++ shadow/53171.tmp.4564	2004-01-21 12:29:02.000000000 -0500
@@ -1,23 +1,23 @@
 Bug#: 53171
 Product: Mono/Class Libraries
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
-Priority: Minor
-Component: Sys.Web
+Severity: Unknown
+Priority: Wishlist
+Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: jaak@zd.com.pl               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: System.Web.Compilation - compiler execution problem
+Summary: CodeDOM requires the $PATH to include mono
 
 This applies to CVS as of 21 Jan 2004:
 
 Description of Problem:
 
 Looks like the System.Web.Compilation attempts to spawn the compiler
@@ -69,6 +69,19 @@
 
 Additional Information:
 
 Executing the following command before spawning "mod-mono-server.exe" helps:
 
 export PATH=/opt/mono/bin:$PATH
+
+------- Additional Comments From bmaurer@users.sf.net  2004-01-21 12:29 -------
+Actually, the `problem' is in System.dll (in codedom).
+
+IMHO, this is not valid. We should be able to expect that the Mono 
+bin path will be in the PATH. We could do it the `right' way though: 
+we could have an icall that would give the path to `mono' and just 
+use mcs.exe in this directory. MS.net probably does something 
+similar -- their csc.exe is in the same directory as mscorlib.dll, so 
+i bet they just use the same directory.
+
+We could also solve this by linking to mcs (there is another bug on 
+this)