зеркало из https://github.com/mono/mail-archives.git
203 строки
11 KiB
HTML
203 строки
11 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-dev] Compiling on Windows
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-devel-list%40lists.ximian.com?Subject=Re%3A%20%5BMono-dev%5D%20Compiling%20on%20Windows&In-Reply-To=%3CCACk-zm8GFHR_N3%3DZvYrtTRjq1%3DhqKZDyUxUMZrJ-n%2B4JFdYRWA%40mail.gmail.com%3E">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<style type="text/css">
|
|
pre {
|
|
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
|
|
}
|
|
</style>
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="040565.html">
|
|
<LINK REL="Next" HREF="040564.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-dev] Compiling on Windows</H1>
|
|
<B>Greg Najda</B>
|
|
<A HREF="mailto:mono-devel-list%40lists.ximian.com?Subject=Re%3A%20%5BMono-dev%5D%20Compiling%20on%20Windows&In-Reply-To=%3CCACk-zm8GFHR_N3%3DZvYrtTRjq1%3DhqKZDyUxUMZrJ-n%2B4JFdYRWA%40mail.gmail.com%3E"
|
|
TITLE="[Mono-dev] Compiling on Windows">gregnajda at gmail.com
|
|
</A><BR>
|
|
<I>Wed Jun 26 02:05:36 UTC 2013</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="040565.html">[Mono-dev] Supported OS X versions for Mono 3.0
|
|
</A></li>
|
|
<LI>Next message: <A HREF="040564.html">[Mono-dev] Compiling on Windows
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#40562">[ date ]</a>
|
|
<a href="thread.html#40562">[ thread ]</a>
|
|
<a href="subject.html#40562">[ subject ]</a>
|
|
<a href="author.html#40562">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>I'm running into some trouble compiling Mono on Windows. Here are the steps
|
|
I followed:
|
|
|
|
1. Do a git clone (using 1b5ef4d3df262c66f58596bda152db5f4c34741c, "Add a
|
|
GSHAREDVT_REG_IREG return marshalling convention on ARM.", 2013-06-23)
|
|
2. Install cygwin. Include packages: autoconf, automake, bison, gcc-core,
|
|
gcc-g++, libtool, make, python, wget, zip (all from
|
|
<A HREF="http://www.mono-project.com/Compiling_Mono_on_Windows">http://www.mono-project.com/Compiling_Mono_on_Windows</A>), mingw-pthreads (get
|
|
an error with mono/utils/atomic.c without it because it #includes
|
|
<pthread.h>), gettext, gettext-devel (seem to be missing msgfmt without the
|
|
devel package)
|
|
3. Start cygwin
|
|
4. Copy checkout to /home/Greg/mono
|
|
5. Run:
|
|
|
|
export PATH="$PATH:/cygdrive/c/Program Files (x86)/Mono-3.0.10/bin"
|
|
cd mono
|
|
./autogen.sh --prefix=/usr/local 2>&1 | tee
|
|
~/autogen_output_with_stderror.txt
|
|
make V=1 2>&1 | tee ~/make_output_with_stderror_verbose.txt
|
|
|
|
|
|
I did see this in the autogen output. Is it anything to be concerned about?
|
|
|
|
checking winternl.h usability... no
|
|
checking winternl.h presence... yes
|
|
configure: WARNING: winternl.h: present but cannot be compiled
|
|
configure: WARNING: winternl.h: check for missing prerequisite headers?
|
|
configure: WARNING: winternl.h: see the Autoconf documentation
|
|
configure: WARNING: winternl.h: section "Present But Cannot Be Compiled"
|
|
configure: WARNING: winternl.h: proceeding with the compiler's result
|
|
configure: WARNING: ##
|
|
----------------------------------------------------------------------------
|
|
##
|
|
configure: WARNING: ## Report this to
|
|
<A HREF="http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono">http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono</A> ##
|
|
configure: WARNING: ##
|
|
----------------------------------------------------------------------------
|
|
##
|
|
|
|
|
|
|
|
|
|
Here are the last several lines of output from make:
|
|
|
|
make[7]: Entering directory
|
|
`/home/Greg/mono/mcs/class/EntityFramework.SqlServer'
|
|
make all-local
|
|
make[8]: Entering directory
|
|
`/home/Greg/mono/mcs/class/EntityFramework.SqlServer'
|
|
Converting EntityFramework.SqlServer.dll.sources to
|
|
../../build/deps/net_4_5_EntityFramework.SqlServer.dll.response ...
|
|
MONO_PATH="./../../class/lib/net_4_5;$MONO_PATH"
|
|
/home/Greg/mono/runtime/mono-wrapper ./../../class/lib/net_4_5/resgen.exe
|
|
"../../../external/entityframework/src/EntityFramework.SqlServer/Properties/Resources.SqlServer.resx"
|
|
"System.Data.Entity.SqlServer.Properties.Resources.SqlServer.resources"
|
|
Read in 44 resources from
|
|
'C:\Users\Greg\Documents\Programs\cygwin\home\Greg\mono\external\entityframework\src\EntityFramework.SqlServer\Properties\Resources.SqlServer.resx'
|
|
Writing resource file... Done.
|
|
MONO_PATH="./../../class/lib/build;$MONO_PATH"
|
|
/home/Greg/mono/runtime/mono-wrapper ./../../class/lib/build/mcs.exe
|
|
/codepage:65001 /nologo -d:NET_1_1 -d:NET_2_0 -d:NET_3_0 -d:NET_3_5
|
|
-d:NET_4_0 -d:NET_4_5 -nowarn:1699 -nostdlib -lib:./../../class/lib/net_4_5
|
|
-r:mscorlib.dll /debug+ /debug:full -optimize /noconfig -r:System.dll
|
|
-r:System.Xml.dll -r:System.Core.dll -r:EntityFramework.dll
|
|
-r:System.Data.dll -keyfile:../ecma.pub -delaysign -warn:1
|
|
-resource:System.Data.Entity.SqlServer.Properties.Resources.SqlServer.resources
|
|
-resource:../../../external/entityframework/src/EntityFramework.SqlServer/Resources/System/Data/SqlClient/System.Data.Resources.SqlClient.SqlProviderServices.ProviderManifest.xml
|
|
-resource:../../../external/entityframework/src/EntityFramework.SqlServer/Resources/System/Data/SqlClient/System.Data.Resources.SqlClient.SqlProviderServices.StoreSchemaDefinition.ssdl
|
|
-resource:../../../external/entityframework/src/EntityFramework.SqlServer/Resources/System/Data/SqlClient/System.Data.Resources.SqlClient.SqlProviderServices.StoreSchemaDefinition_Sql8.ssdl
|
|
-resource:../../../external/entityframework/src/EntityFramework.SqlServer/Resources/System/Data/SqlClient/System.Data.Resources.SqlClient.SqlProviderServices.StoreSchemaDefinitionVersion3.ssdl
|
|
-resource:../../../external/entityframework/src/EntityFramework.SqlServer/Resources/System/Data/SqlClient/System.Data.Resources.SqlClient.SqlProviderServices.StoreSchemaDefinitionVersion3_Sql8.ssdl
|
|
-resource:../../../external/entityframework/src/EntityFramework.SqlServer/Resources/System/Data/SqlClient/System.Data.Resources.SqlClient.SqlProviderServices.StoreSchemaMapping.msl
|
|
-resource:../../../external/entityframework/src/EntityFramework.SqlServer/Resources/System/Data/SqlClient/System.Data.Resources.SqlClient.SqlProviderServices.StoreSchemaMappingVersion3.msl
|
|
-target:library -out:../../class/lib/net_4_5/EntityFramework.SqlServer.dll
|
|
@./../../build/deps/net_4_5_EntityFramework.SqlServer.dll.response
|
|
error CS1566: Error reading resource file
|
|
`../../../external/entityframework/src/EntityFramework.SqlServer/Resources/System/Data/SqlClient/System.Data.Resources.SqlClient.SqlProviderServices.StoreSchemaDefinition.ssdl'
|
|
error CS1566: Error reading resource file
|
|
`../../../external/entityframework/src/EntityFramework.SqlServer/Resources/System/Data/SqlClient/System.Data.Resources.SqlClient.SqlProviderServices.StoreSchemaDefinition_Sql8.ssdl'
|
|
error CS1566: Error reading resource file
|
|
`../../../external/entityframework/src/EntityFramework.SqlServer/Resources/System/Data/SqlClient/System.Data.Resources.SqlClient.SqlProviderServices.StoreSchemaDefinitionVersion3.ssdl'
|
|
error CS1566: Error reading resource file
|
|
`../../../external/entityframework/src/EntityFramework.SqlServer/Resources/System/Data/SqlClient/System.Data.Resources.SqlClient.SqlProviderServices.StoreSchemaDefinitionVersion3_Sql8.ssdl'
|
|
error CS1566: Error reading resource file
|
|
`../../../external/entityframework/src/EntityFramework.SqlServer/Resources/System/Data/SqlClient/System.Data.Resources.SqlClient.SqlProviderServices.StoreSchemaMapping.msl'
|
|
error CS1566: Error reading resource file
|
|
`../../../external/entityframework/src/EntityFramework.SqlServer/Resources/System/Data/SqlClient/System.Data.Resources.SqlClient.SqlProviderServices.StoreSchemaMappingVersion3.msl'
|
|
Compilation failed: 6 error(s), 0 warnings
|
|
../../build/library.make:256: recipe for target
|
|
`../../class/lib/net_4_5/EntityFramework.SqlServer.dll' failed
|
|
make[8]: *** [../../class/lib/net_4_5/EntityFramework.SqlServer.dll] Error 1
|
|
make[8]: Leaving directory
|
|
`/home/Greg/mono/mcs/class/EntityFramework.SqlServer'
|
|
../../build/rules.make:137: recipe for target `do-all' failed
|
|
make[7]: *** [do-all] Error 2
|
|
make[7]: Leaving directory
|
|
`/home/Greg/mono/mcs/class/EntityFramework.SqlServer'
|
|
../build/rules.make:158: recipe for target `all-recursive' failed
|
|
make[6]: *** [all-recursive] Error 1
|
|
make[6]: Leaving directory `/home/Greg/mono/mcs/class'
|
|
build/rules.make:158: recipe for target `all-recursive' failed
|
|
make[5]: *** [all-recursive] Error 1
|
|
make[5]: Leaving directory `/home/Greg/mono/mcs'
|
|
Makefile:99: recipe for target `profile-do--net_4_5--all' failed
|
|
make[4]: *** [profile-do--net_4_5--all] Error 2
|
|
make[4]: Leaving directory `/home/Greg/mono/mcs'
|
|
Makefile:95: recipe for target `profiles-do--all' failed
|
|
make[3]: *** [profiles-do--all] Error 2
|
|
make[3]: Leaving directory `/home/Greg/mono/mcs'
|
|
Makefile:547: recipe for target `all-local' failed
|
|
make[2]: *** [all-local] Error 2
|
|
make[2]: Leaving directory `/home/Greg/mono/runtime'
|
|
Makefile:463: recipe for target `all-recursive' failed
|
|
make[1]: *** [all-recursive] Error 1
|
|
make[1]: Leaving directory `/home/Greg/mono'
|
|
Makefile:390: recipe for target `all' failed
|
|
make: *** [all] Error 2
|
|
|
|
|
|
|
|
Complete autogen log is at
|
|
<A HREF="http://pastie.org/private/mo0bnluwmekwiws4na4zgand">http://pastie.org/private/mo0bnluwmekwiws4na4zgand</A> complete make log
|
|
is at
|
|
<A HREF="http://www.animerecs.com/Content/make_output_with_stderror_verbose.txt">http://www.animerecs.com/Content/make_output_with_stderror_verbose.txt</A> (too
|
|
big for a pastebin site so I put it on my own site).
|
|
|
|
Any ideas? Also, is there a way to only build the mono runtime and/or a way
|
|
to only run the tests for a particular component? I'm primarily interested
|
|
in testing a bugfix for <A HREF="https://bugzilla.xamarin.com/show_bug.cgi?id=12752.">https://bugzilla.xamarin.com/show_bug.cgi?id=12752.</A>
|
|
|
|
- Greg
|
|
-------------- next part --------------
|
|
An HTML attachment was scrubbed...
|
|
URL: <<A HREF="http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130625/45d665ac/attachment-0001.html">http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130625/45d665ac/attachment-0001.html</A>>
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="040565.html">[Mono-dev] Supported OS X versions for Mono 3.0
|
|
</A></li>
|
|
<LI>Next message: <A HREF="040564.html">[Mono-dev] Compiling on Windows
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#40562">[ date ]</a>
|
|
<a href="thread.html#40562">[ thread ]</a>
|
|
<a href="subject.html#40562">[ subject ]</a>
|
|
<a href="author.html#40562">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list">More information about the Mono-devel-list
|
|
mailing list</a><br>
|
|
</body></html>
|