[Mono-bugs] [Bug 23643] New - mcs gets assembly locations wrong w/ relative paths

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
18 Apr 2002 21:57:47 -0000

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 joe@ximian.com.


--- shadow/23643	Thu Apr 18 17:57:47 2002
+++ shadow/23643.tmp.23082	Thu Apr 18 17:57:47 2002
@@ -0,0 +1,44 @@
+Bug#: 23643
+Product: Mono/MCS
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: joe@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: mcs gets assembly locations wrong w/ relative paths
+glib-sharp is compiled and located in glib/
+When building pango-sharp in pango/, it is compiled with "-r
+../glib/glib-sharp.dll", which builds fine.
+When building atk-sharp in atk/, it tries to compile with "-r
+../glib/glib-sharp.dll -r ../pango/pango-sharp.dll" and bails out with the
+/opt/mono/bin/mono /usr/bin/mcs.exe --unsafe --target library -r
+../glib/glib-sharp.dll -r ../pango/pango-sharp.dll -o atk-sharp.dll
+--recurse *.cs
+** (process:29301): WARNING **: Could not find assembly glib-sharp
+error CS0006: Can not find assembly `../pango/pango-sharp.dll'
+Error: Compilation failed
+make: *** [linux] Error 1
+However, if you copy glib-sharp.dll into the pango/ directory and build
+pango-sharp.dll and then build atk-sharp.dll, it works fine, so it looks
+like there is some path hardcoding on there, perhaps related to the
+relative paths, which is causing a problem.