[Bug 10307] New: mono-1.2.5 quoting problem somewhere...
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Nov 4 11:27:38 CST 2007
http://bugs.winehq.org/show_bug.cgi?id=10307
Summary: mono-1.2.5 quoting problem somewhere...
Product: Wine
Version: CVS/GIT
Platform: Other
OS/Version: other
Status: NEW
Keywords: download, source
Severity: normal
Priority: P2
Component: wine-misc
AssignedTo: wine-bugs at winehq.org
ReportedBy: dank at kegel.com
Found this while trying http://www.mono-project.com/GtkSharp:_Hello_World
$ wget http://kegel.com/wine/winetricks
$ sh winetricks mono12
$ cd ~/".wine/drive_c/Program Files/Mono-1.2.5.2"
$ rm -f x.cs
$ touch x.cs
$ wine cmd /c bin/mcs.bat x.cs -pkg:gtk-sharp-2.0
fails with
error CS2001: Source file
`Files/Mono-1.2.5.2/lib/mono/gtk-sharp-2.0/pango-sharp.dll' could not be found
(On Windows, it correctly complains that there's no entry point.)
The file "~/.wine/drive_c/Program
Files/Mono-1.2.5.2/lib/mono/gtk-sharp-2.0/pango-sharp.dll"
exists.
+relay shows a few clues.
000e:Call msvcrt.fopen(00153588 "C:\\Program
Files\\Mono-1.2.5.2\\lib\\pkgconfig\\gtk-sharp-2.0.pc",004059fa "r")
ret=00405ae3
...
000e:Call ntdll.strlen(001510e8 "Libs:
-r:${libdir}/mono/gtk-sharp-2.0/pango-sharp.dll
-r:${libdir}/mono/gtk-sharp-2.0/atk-sharp.dll
-r:${libdir}/mono/gtk-sharp-2.0/gdk-sharp.dll
-r:${libdir}/mono/gtk-sharp-2.0/gtk-sharp.dll") ret=00403d73
...
000e:Call ntdll.strlen(00151698 "-r:C:/Program
Files/Mono-1.2.5.2/lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:C:/Program
Files/Mono-1.2.5.2/lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:C:/Program
Files/Mono-1.2.5.2/lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:C:/Program
Files/Mono-1.2.5.2/lib/mono/gtk-sharp-2.0/gtk-sharp.dll") ret=00409aa7
...
000e:Call ntdll.strlen(001518c0 "-r:C:/Program") ret=00403d73
...
000e:Call ntdll.strlen(001518ce
"Files/Mono-1.2.5.2/lib/mono/gtk-sharp-2.0/pango-sharp.dll") ret=00403d73
Somehow when ${libdir} was expanded, some quotes were left off,
or something.
It kind of looks like the variable expansion is happening inside mono.
+all shows
000e:Call ntdll.strcmp(00155a30 "libdir",00155b78 "libdir") ret=672f5c28
000e:Ret ntdll.strcmp() retval=00000000 ret=672f5c28
000e:RET libglib-2.0-0.g_str_equal() retval=00000001 ret=672d181e
000e:RET libglib-2.0-0.g_hash_table_lookup() retval=00155bd0 ret=004033bf
000e:CALL libglib-2.0-0.g_strdup() ret=004033c7
000e:Call ntdll.strlen(00155bd0 "C:/Program Files/Mono-1.2.5.2/lib")
ret=672f3670
so presumably it's mono that is screwing up here.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list