[Mono-bugs] [Bug 356314] New: net_2_1_tuned fails to 'make install' on Win32
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Jan 25 11:35:36 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=356314
Summary: net_2_1_tuned fails to 'make install' on Win32
Product: Mono: Tools
Version: unspecified
Platform: Other
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: P5 - None
Component: linker
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: andyhume32 at yahoo.co.uk
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=191854)
--> (https://bugzilla.novell.com/attachment.cgi?id=191854)
*hack* patch
[Is mcs/tools/tuner == component "linker"?]
I've been unable to build on Win32 for a long time and finally tracked down the
problem. The Makefile for mcs/tools/tuner does not allow for running under
Win32 where the path(s) need to be DOS-ified for gacutil and thus attempts to
write to the root of the disk rather than to folders within the cygwin tree.
The failure logging in 'make install' was the following:
[[
MONO_PATH="../../class/lib/net_1_1_bootstrap;$MONO_PATH"
/usr/src/mono/mono/runtime/mono-wrapper
./../class/lib/net_1_1_bootstrap/gacutil.exe /i
./../class/lib/net_2_1_tuned/System.dll /f /root /usr/local/lib /package 2.1
[... ...]
Failure adding assembly to the cache: gac directories could not be created,
possibly permission issues.
]]
I run the build as under standard user account, and gacutil was trying to
create "C:\usr" (well D:\usr in my case by that's immaterial). When I manually
created such a folder and gave myself write permissions, after build it
contained:
/usr/local/lib/mono/
2.1/ { System.dll, System.Core.dll, System.Xml.Core.dll }
gac/ { same assemblies, in the expected structure }
So the Makefile apparently needs to use cygpath on Win32. (On machines where
no error occurs I presume '/usr/local...' is being created?!) It should of
course have been writing to "C:\cygwin\usr\local\..." or similar.
With the attached *hack* diff (imitating mono-services' Makefile) it seems to
work for me now.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list