Re: [Mono-dev] MAXHINCR or MAX_HEAP_SECTS error
Hello Lucas, ./configure --with-gc=none --with-large-heap=yes --with-sge=yes --prefix=/opt/mono-3.0.2 make make install Since you installed your version of Mono to a different directory, you need to set your path and other environment variables to that directory. You need to do this each time before you run your program: export PATH=/opt/mono-3.0.2/bin:$PATH export LD_LIBRARY_PATH=/opt/mono-3.0.2/lib:$LD_LIBRARY_PATH export PKG_CONFIG_PATH=/opt/mono-3.0.2/lib/pkgconfig:$PKG_CONFIG_PATH Hope this helps, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Monodevelop on centos 6.5 configure error
Hello Brandon, Running autoconf ... configure.in:1: error: possibly undefined macro: m4_esyscmd_s If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. **Error**: autoconf failed. The version of autoconf on CentOS6 is too old. You can download the latest version from http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz and make install it. I think you also need the latest automake: http://ftp.gnu.org/gnu/automake/automake-1.13.tar.gz but I am not completely sure if that is required... all the best, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Monodevelop on centos 6.5 configure error
Hello Brandon, which version of Mono are you using? Version 3.4 should be fine. Timotheus On 9 July 2014 21:50, Brandon Perry bperry.volat...@gmail.com wrote: Indeed, installing latest git master resolves that issue. [root@localhost monodevelop]# git --version git version 2.0.0.GIT [root@localhost monodevelop]# 'make' still fails though, much later on in the build chain, researching it now, but here is the error: Errors: /root/monodevelop/main/Main.sln (default targets) - (Build target) - /root/monodevelop/main/external/xwt/Xwt.Gtk/Xwt.Gtk.csproj (default targets) - /usr/local/lib/mono/4.0/Microsoft.CSharp.targets (CoreCompile target) - Xwt.GtkBackend/CustomTreeModel.cs(88,12): error CS1501: No overload for method `EmitRowsReordered' takes `3' arguments Xwt.GtkBackend/CustomListModel.cs(62,12): error CS1501: No overload for method `EmitRowsReordered' takes `3' arguments 277 Warning(s) 2 Error(s) Time Elapsed 00:00:34.4877370 make[2]: *** [sln_build] Error 1 make[2]: Leaving directory `/root/monodevelop/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/monodevelop/main' make: *** [all-recursive] Error 1 [root@localhost monodevelop]# Any thoughts are appreciated. On Wed, Jul 9, 2014 at 2:34 PM, Brandon Perry bperry.volat...@gmail.com wrote: It does seem to be an issue with git 1.7.1. It does not seem to have a --count argument to 'git-rev-list'. Going to upgrade git and try. On Wed, Jul 9, 2014 at 1:48 PM, Brandon Perry bperry.volat...@gmail.com wrote: Thanks, this worked to pass the configuration. However, make now fails: [root@localhost monodevelop]# make if test -d .git; then \ git submodule update --init --recursive || exit 1; \ fi make[1]: Entering directory `/root/monodevelop/main' Making all in external make[2]: Entering directory `/root/monodevelop/main/external' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/monodevelop/main/external' Making all in . make[2]: Entering directory `/root/monodevelop/main' if test -f ./buildinfo; then cp ./buildinfo ./build/bin/buildinfo; else ./../scripts/configure.sh gen-buildinfo ./build/bin; fi /usr/bin/git failed make[2]: *** [build/bin/buildinfo] Error 1 make[2]: Leaving directory `/root/monodevelop/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/monodevelop/main' make: *** [all-recursive] Error 1 [root@localhost monodevelop]# I have git installed via yum: [root@localhost monodevelop]# git --version git version 1.7.1 [root@localhost monodevelop]# Is a specific version of git required? All of my sources were checked out with git, so I know it is at least functional. On Wed, Jul 9, 2014 at 1:39 PM, Brandon Perry bperry.volat...@gmail.com wrote: Sure, I can definitely try this. On Wed, Jul 9, 2014 at 1:39 PM, Timotheus Pokorra timotheus.poko...@solidcharity.com wrote: Hello Brandon, Running autoconf ... configure.in:1: error: possibly undefined macro: m4_esyscmd_s If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. **Error**: autoconf failed. The version of autoconf on CentOS6 is too old. You can download the latest version from http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz and make install it. I think you also need the latest automake: http://ftp.gnu.org/gnu/automake/automake-1.13.tar.gz but I am not completely sure if that is required... all the best, Timotheus -- http://volatile-minds.blogspot.com -- blog http://www.volatileminds.net -- website -- http://volatile-minds.blogspot.com -- blog http://www.volatileminds.net -- website -- http://volatile-minds.blogspot.com -- blog http://www.volatileminds.net -- website -- http://volatile-minds.blogspot.com -- blog http://www.volatileminds.net -- website ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Which SQLite?
Hello Edward, Mono.Data.Sqlite is reliably available on mac/linux. And I had the brilliant idea that I would install mono on windows, and then grab the Mono.Data.Sqlite.dll from the mono installation, and distribute it. However, there's this: https://bugzilla.xamarin.com/show_bug.cgi?id=2148 The latest windows release is mono 3.2.3, which unfortunately includes a bug that kills Mono.Data.Sqlite, that was fixed in 3.2.6 or 3.2.7. So if a new windows build is released anytime soon with a functional Mono.Data.Sqlite, it will be the obvious easiest best solution: Just use Mono.Data.Sqlite natively on systems that have mono (max/linux) and distribute Mono.Data.Sqlite.dll for windows. For OpenPetra, we are using Mono.Data.Sqlite in our code, no matter if it runs on Linux or on Windows. On Windows, we copy the Mono.Data.Sqlite.dll and the sqlite3.dll to our application directory. We use the Mono.Data.Sqlite.dll that came with Mono for windows version 2.10.6 (C:\Program Files (x86)\Mono-2.10.6\lib\mono\2.0). The sqlite3.dll comes from http://www.sqlite.org/sqlite-dll-win32-x86-3071300.zip We run the software with Microsoft .Net, not with Mono on Windows. On Linux, sqlite3 is installed via yum or apt-get, and Mono.Data.Sqlite is part of Mono anyways in the GAC. That works fine for us. Hope this helps, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Which SQLite?
For OpenPetra, we are using Mono.Data.Sqlite in our code, no matter if it runs on Linux or on Windows. hmm, I forgot the link that I wanted to include: https://github.com/openpetra/openpetra/tree/master/csharp/ThirdParty/SQLite That directory contains the dlls that we are using on Windows, and the readme. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono Web Site
Hello Miguel, Thanks to the help of Alexander Koeplinger that worked with us for the last couple of months, we have migrated the Mono website from MediaWiki to a static content manager on GitHub. Well done! I noticed on a german news article (http://www.heise.de/developer/meldung/Mono-3-6-bringt-verbesserten-Profiler-2291264.html) that it still linked to the old downloads page on go-mono.com: http://www.go-mono.com/mono-downloads/download.html I see that the root of go-mono.com redirects to mono-project.com. I guess it would make sense to redirect the sub pages as well, to avoid confusion. Thanks again for the new website, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono Web Site
Hello Miguel, go-mono.com has always hosted the downloads. So this is fine. What I meant was this: When I go to http://www.go-mono.com/mono-downloads/download.html, I see the 3.6 release, but the link for OpenSUSE leads to http://download.mono-project.com/archive/3.2.3/linux/x64/ I think the new page at http://www.mono-project.com/download makes much more sense, so I suggest a redirect from http://www.go-mono.com/mono-downloads/download.html to there. Or does it make sense to maintain two pages with the same desired content? After all, http://www.go-mono.com redirects to http://www.mono-project.com/ anyway. Thanks, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] RPM build
Hello Neale, I copied env.sh from monodevelop and adapted for openSUSE and the build went cleanly. However, why does the RPM believe it has these Requires: rpm -q --requires -p ../RPMS/x86_64/mono-opt-3.6.0-1.1.x86_64.rpm : mono() = 0.0.736.133 mono() = 0.0.738.133 mono() = 0.0.741.133 mono() = 0.0.743.133 I don't have an openSUSE machine around at the moment. The output on the OBS Server does make sense, but seems to be different than your output: https://build.opensuse.org/package/binary/home:tpokorra:mono/mono-opt?arch=x86_64filename=mono-opt-3.6.0-4.1.x86_64.rpmrepository=openSUSE_12.3 I hope this helps, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] RPM Build Error
Hello Neale, Using the source RPM for openSUSE 12.3 I get the following error: I assume that you are refering to my packages that I build on the OBS server? They are not official, but can be useful. usr/src/packages/BUILD/mono-3.6.0 + cp ../../SOURCES/env.sh /usr/src/packages/BUILDROOT/mono-opt-3.6.0-1.1.x86_64//opt/mono cp: cannot stat `../../SOURCES/env.sh': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.abBMdB (%install) Apparently, the env.sh didn't get put in the source RPM. You can find all the sources here: https://build.opensuse.org/package/show/home:tpokorra:mono/mono-opt I guess I have to add the env.sh properly as a source to the spec file. I will try this tomorrow. Thanks for the suggestion, it makes sense! All the best, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] RPM build
Hello Gabriel, The RPM for CentOS 6 doesn't seem to include the /opt/mono/lib/pkgconfig directory (the package for Ubuntu does). Is this a bug? If not, what's the reasoning behind that decision? Please run: yum install mono-opt-devel explanation: I first built mono-opt for Ubuntu and CentOS, all in one rpm. Then I built it for OpenSUSE, and rpmlint complained about development libraries in the main rpm, so I had to split it into rpm and devel rpm. I could have made a distinction in the rpm, because CentOS would have been fine with all in one rpm, but I was too lazy I guess... There are more mono related packages available, please browse http://download.opensuse.org/repositories/home:/tpokorra:/mono/CentOS_CentOS-6/x86_64/ All the best, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] RPM build
Hello Neale, Are you interested in packages for Linux on System z (aka s390x)? I can only speak for myself: No I just found: http://www.mono-project.com/docs/about-mono/supported-platforms/s390/ mentioning your name :) Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] RPM build
On 19 August 2014 15:01, Neale Ferguson nealefergu...@verizon.net wrote: Not personally, but as part of your build process to make a download of the s390x RPM available publicly. I am using the build platform at https://build.opensuse.org/ and unfortunately there is no support for s390x build machines at the moment. This list is a bit outdated: http://en.opensuse.org/openSUSE:Build_Service_supported_build_targets It mentions s390x, as tested, but not available. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] libapache2-mod-mono available from mono-project.com ?
Hello Vladimir, the OBS repository that you are mentioning is linked by the mono-project website, but it is a community project. You are probably looking for the package called modmono-opt see also http://download.opensuse.org/repositories/home:/tpokorra:/mono/xUbuntu_14.04/amd64/ for the available packages. hope this helps, Timotheus On 19 August 2014 14:15, Vladimir Dimitrov vlad.dimit...@gmail.com wrote: Are there any plans on adding the libapache2-mod-mono package in the repository hosted by the mono-project website? The last working version shipped in Ubuntu is 2.10 which is pretty old and buggy and the new Ubuntu 14.4 cannot even install that package. So having that package available directly from the mono project would be great if possible. - Vladimir ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] libapache2-mod-mono available from mono-project.com ?
Why not build from source code? I personally try not to build on production servers. And it is so much faster to just install it from somewhere instead of building yourself. Obviously you need to trust the source... But by using the OBS platform, all changes are visible, and no hidden code could be injected during the build. Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] libapache2-mod-mono available from mono-project.com ?
Hello Vladimir, I had in mind this one: http://download.mono-project.com/repo/debian/ this looks good, I did not notice before that it exists! Yes, would be good if mod_mono will make it into that repo as well! Hmm looks like the mod mono version there is the old one (2.10) :( In my repository, I am using a git checkout from July 2013: https://build.opensuse.org/package/view_file/home:tpokorra:mono/mod_mono/_service?expand=1 https://github.com/mono/mod_mono/commit/6b73e850920865b8f6a16f232e555c71ec1cd26a There is no newer official release of mod_mono than 2.10: https://github.com/mono/mod_mono/releases Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] RPM build
Hello Neale, I can provide a buildbot environment or whatever you use to create packages at the same time the x86[_64] ones are built. this reminds me of this thread: http://lists.ximian.com/pipermail/mono-devel-list/2014-June/041649.html related to http://monojenkins.cloudapp.net/ You should ask Alex about that. Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] libapache2-mod-mono available from mono-project.com ?
Hello Vladimir, Yes, looks like there hasn't been updates to the mod_mono project for a long time :(. There are definitely some very critical bugs that just restart the module all of a sudden, lets it hang and use up 100% cpu time or render random portions of the configuration in a bad condition making random parts of the application to stop working. I am personally using mono-xsp-opt, with fastcgi-mono-server4 and lighttpd, that works alright. Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] libapache2-mod-mono available from mono-project.com ?
I am personally using mono-xsp-opt, with fastcgi-mono-server4 and lighttpd, that works alright. On production with high load? Unfortunately not yet. I am still in development. But I remembered reading somewhere, mentioning someone bigger was using fastcgi-mono-server. This might be it: http://stackoverflow.com/a/12188358 Describing the hosting of the website servicestack.net. Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [MonoDevelop] Failing to compile on Linux in last few days - %(Culture)
Hello Jesse, (cross posting to Mono Development list because it seems to be a problem in Mono git master) I checked the specific revision of Mono that still worked to build MonoDevelop: https://github.com/mono/mono/commit/8020aafc3b2cfe43696b8f0e9d784c7ead432380 My next build of Mono was based on https://github.com/mono/mono/commit/96b66b38673015fce249025b21af99cc0779009b and that caused this error when building MonoDevelop. I cannot see myself which commit might be causing the new behaviour. Here again the error for the mono list: /opt/mono/lib/mono/4.5/Microsoft.Common.targets: error : Cannot copy /root/rpmbuild/BUILD/monodevelop-5.4/src/addins/MonoDevelop.Gettext/obj/Debug/%(Culture)/MonoDevelop.Gettext.resources.dll to /root/rpmbuild/BUILD/monodevelop-5.4/build/AddIns/DisplayBindings/Gettext/MonoDevelop.Gettext.resources.dll, as the source file doesn't exist. With Mono 3.6, the copy command looks like this and works fine: Copying file from '/root/rpmbuild/BUILD/monodevelop-5.4/src/addins/MonoDevelop.Gettext/obj/Debug/am/MonoDevelop.Gettext.resources.dll' to '/root/rpmbuild/BUILD/monodevelop-5.4/build/AddIns/DisplayBindings/Gettext/am/MonoDevelop.Gettext.resources.dll' Does anybody know what causes this? Thanks, Timotheus On 28 August 2014 02:55, Jesse Litton monodevelop-l...@eternaldusk.com wrote: Ah, that fits - because I too generally build with the latest mono from git master branch. -Jesse On 08/27/2014 03:50 PM, Timotheus Pokorra wrote: Hello Jesse, I noticed the same error as well. I think it was no change in monodevelop, but a change in the latest mono built from git master. It still worked fine with Mono git master from Friday morning, but failed a day later. I can compile Monodevelop git master fine with mono 3.6. Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono .Net difference - handling xs:extension please help
Hello MarL, I then use xsd.exe in Mono runtime 2.10.8.1 to generate a C# class from the schema. I then use the following code to deserialize the instance document It seems you are using an ancient version of Mono. Please try with a recent Mono, see http://www.mono-project.com/download/, we are now at 3.10.0 Hopefully the behaviour has been fixed. If it still does not work, please let the list know! All the best, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono .Net difference - handling xs:extension please help
Hello MarL, Don't worry, no need to install a new OS... Please have a look on the download page: http://www.mono-project.com/download/#download-lin see the link http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives I think that even provides a recent version of MonoDevelop. Yes: http://origin-download.mono-project.com/repo/debian/pool/main/m/monodevelop/ So after adding the Xamarin repository to your apt sources, apt-get update apt-get install mono-devel monodevelop should work for you. I hope this helps, Timotheus On 12 November 2014 10:34, MarLOne infoseeker...@gmail.com wrote: Hello Timotheus, Thanks and will try. Perhaps you can give me some assistance with MonoDevelop/Mono. In MS .Net, I can stay in say XP (even it has reached end of life) and still can run VS2010 with .Net 4. But in Mint, I seem to be stuck in the version of Mono I can get, hence that old version you are seeing. Is there a trustworthy PPA that allows me to use the latest Mono/MonoDevelop without having to upgrade the OS? I am new to this kind of behavour where I have get a new OS just to get a new version of application. Thanks. MarL -- View this message in context: http://mono.1490590.n4.nabble.com/Mono-Net-difference-handling-xs-extension-please-help-tp4664552p4664556.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Kontaktdaten: in Plauen: 03741 7424995 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Heads up: Elimination of the 2.0 and 4.0 profiles
On 9 January 2015 at 23:31, Alistair Bush alistair.b...@gmail.com wrote: Are there any plans on updating monodevelop and its dependent libraries to build with 4+. Believe i've already seen issues building monodevelop ( or a submodule) with mono (git) sorry no details as I didn't really look at it. Yes, I can confirm that MonoDevelop currently does not build with mono from git master. for example, https://github.com/mono/ikvm-fork/blob/master/reflect/IKVM.Reflection.csproj#L13 references TargetFrameworkVersionv2.0/TargetFrameworkVersion I filed an issue for that a while ago. https://github.com/mono/ikvm-fork/issues/6 Another error: /root/rpmbuild/BUILD/monodevelop-5.8/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git.csproj: error : /root/rpmbuild/BUILD/monodevelop-5.8/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git.csproj: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns=http://schemas.microsoft.com/developer/msbuild/2003; to the Project element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. This script will fix most of these project files issues: for f in `find . -name *.csproj` do sed -i 's/ToolsVersion=.*/ToolsVersion=4.0/g' $f sed -i 's#TargetFrameworkVersion.*/TargetFrameworkVersion#TargetFrameworkVersionv4.0/TargetFrameworkVersion#g' $f sed -i 's#Project DefaultTargets=Build ToolsVersion=4.0#Project DefaultTargets=Build ToolsVersion=4.0 xmlns=http://schemas.microsoft.com/developer/msbuild/2003;#g' $f sed -i 's#Project ToolsVersion=4.0#Project ToolsVersion=4.0 xmlns=http://schemas.microsoft.com/developer/msbuild/2003;#g' $f done But then I still get these errors: /root/rpmbuild/BUILD/monodevelop-5.8/Main.sln (default targets) - (Build target) - /root/rpmbuild/BUILD/monodevelop-5.8/src/addins/TextTemplating/Mono.TextTemplating/Mono.TextTemplating.csproj (default targets) - /opt/mono/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) - Mono.TextTemplating/CompiledTemplate.cs(86,53): error CS1501: No overload for method `GetValue' takes `1' arguments /root/rpmbuild/BUILD/monodevelop-5.8/Main.sln (default targets) - (Build target) - /root/rpmbuild/BUILD/monodevelop-5.8/external/guiunit/src/framework/GuiUnit_NET_4_5.csproj (default targets) - /opt/mono/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) - Internal/MethodHelper.cs(222,76): error CS0234: The type or namespace name `AsyncStateMachineAttribute' does not exist in the namespace `System.Runtime.CompilerServices'. Are you missing an assembly reference? Internal/MethodHelper.cs(222,27): error CS1501: No overload for method `IsDefined' takes `1' arguments Internal/Tests/TestMethod.cs(141,80): error CS0234: The type or namespace name `AsyncStateMachineAttribute' does not exist in the namespace `System.Runtime.CompilerServices'. Are you missing an assembly reference? All the best, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Heads up: Elimination of the 2.0 and 4.0 profiles
On 10 January 2015 at 15:26, xplicit s...@ngs.ru wrote: Mono.TextTemplating/CompiledTemplate.cs(86,53): error CS1501: No overload for method `GetValue' takes `1' arguments PropertyInfo.GetValue(object) method is from 4.5 framework. If you build with NET 4.5 target framework that's something wrong with NET_4_5 symbol definition in mono code. Look at the source, the method GetValue is wrapped into #if NET_4_5 conditional. Thanks, this was a useful comment. Now I realised that I had used 4.0 framework, which does not make sense. with this it works: for f in `find . -name *.csproj` do sed -i 's/ToolsVersion=.*/ToolsVersion=4.0/g' $f sed -i 's#TargetFrameworkVersion.*/TargetFrameworkVersion#TargetFrameworkVersionv4.5/TargetFrameworkVersion#g' $f sed -i 's#Project DefaultTargets=Build ToolsVersion=4.0#Project DefaultTargets=Build ToolsVersion=4.0 xmlns=http://schemas.microsoft.com/developer/msbuild/2003;#g' $f sed -i 's#Project ToolsVersion=4.0#Project ToolsVersion=4.0 xmlns=http://schemas.microsoft.com/developer/msbuild/2003;#g' $f done Another little patch to the file main/configure.in, to replace gmcs with mcs, and MonoDevelop compiles fine with Mono from git master. Should I submit pull requests to the several git submodules currently linked in MonoDevelop? Should we discuss this on the monodevelop develop list? Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono.Posix Cross Compiling
Hello, As far as I can tell, any attempt to use Conditional property in the Reference tag is simply ignored. So I settle on using the kludgy hack of using different csproj files on windows mono. It works so I didn't spend more time on it - but if there's a more elegant solution, I'd like to know. For OpenPetra, because we have so many assemblies, and our developers work with all sorts of different IDEs (VisualStudio, SharpDevelop, MonoDevelop) we generate the sln and csproj files and don't commit them to the code repository. If you are interested: we have written a NAnt task generateProjectFiles to generate the project files and solution files: https://github.com/openpetra/openpetra/blob/master/inc/nanttasks/GenerateProjectFiles.cs The templates for the various IDEs are stored here: https://github.com/openpetra/openpetra/tree/master/inc/template/sharpdevelop4 https://github.com/openpetra/openpetra/tree/master/inc/template/monodevelop2 https://github.com/openpetra/openpetra/tree/master/inc/template/vs2010 The package names are calculated from the directory hierarchy. Perhaps this is useful for other projects as well. Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] mono-core.spec.in
Why was mono-core.spec.in dropped from the source? What is/will be used to generate RPMS? have a look here: https://github.com/directhex/xamarin-mono/tree/centos Jo maintains the Xamarin spec files there. Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] mono 4.0.0 xbuild won't build project
Hello Cyd, System.DateTime.Now System.TimeZoneNotFoundException: Exception of type 'System.TimeZoneNotFoundException' was thrown. This sounds familiar. I had that recently on Fedora for ppc64le. see my comment: https://bugzilla.redhat.com/show_bug.cgi?id=1224945#c1 quote The exception is thrown here: https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System/TimeZoneInfo.cs#L88 Please have a look at the function TimeZoneInfo CreateLocal () at https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System/TimeZoneInfo.cs#L121 This refers also to https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System/TimeZoneInfo.cs#L163 defining timeZoneDirectory enclosed in #if LIBC. /quote hope this helps, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Error trying to compile mono on CentOs 5
Supplementary question - I am trying to load a time zone using: TimeZoneInfo.FindSystemTimeZoneById(GMT Standard Time) Try to use TimeZoneInfo.FindSystemTimeZoneById(GMT) instead. The timezone must exist as a file in /usr/share/zoneinfo see for details: https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System/TimeZoneInfo.cs#L451 and https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System/TimeZoneInfo.cs#L163 hope that helps, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Error trying to compile mono on CentOs 5
I have mono 3.12 packages built for CentOS5 here: https://lbs.solidcharity.com/package/tpokorra/mono/mono-opt I did not upgrade them to 4.0, but if that would help you, I could have a look. I have just built the Mono 4.0.1.44 packages for CentOS5, 32 bit and 64 bit. hope this helps, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Error trying to compile mono on CentOs 5
Hello Nikki, Have a look at my post a while ago: http://www.pokorra.de/2015/03/mono-3-12-1-for-various-linux-distributions-and-recommendation-of-xamarin-monodevelop-packages/ see at the bottom, about CentOS5. I have mono 3.12 packages built for CentOS5 here: https://lbs.solidcharity.com/package/tpokorra/mono/mono-opt I did not upgrade them to 4.0, but if that would help you, I could have a look. You could also look at the spec files, what I did: https://github.com/tpokorra/lbs-mono/tree/master/mono-opt hope this helps, Timotheus On 10 June 2015 at 16:32, nikkilocke ni...@trumphurst.com wrote: I would like to run mono on CentOs 5. I tried installing binaries using the instructions at http://www.mono-project.com/docs/getting-started/install/linux/ It failed because there is no command yum-config-manager on CentOs 5. I manually installed the mono repo, and tried again. It failed because CentOs 5 does not understand the checksums used. I manually installed python-hashlib and tried again. This time it failed with the following errors: mono-basic-4.0.1-1.noarch from mono has depsolving problems -- Missing Dependency: mono(System.Core) = 4.0.0.0 is needed by package mono-basic-4.0.1-1.noarch (mono) mono-basic-4.0.1-1.noarch from mono has depsolving problems -- Missing Dependency: mono(mscorlib) = 4.0.0.0 is needed by package mono-basic-4.0.1-1.noarch (mono) mono-basic-4.0.1-1.noarch from mono has depsolving problems -- Missing Dependency: mono(System) = 4.0.0.0 is needed by package mono-basic-4.0.1-1.noarch (mono) mono-basic-4.0.1-1.noarch from mono has depsolving problems -- Missing Dependency: mono(System.Drawing) = 4.0.0.0 is needed by package mono-basic-4.0.1-1.noarch (mono) mono-basic-4.0.1-1.noarch from mono has depsolving problems -- Missing Dependency: mono(System.Windows.Forms) = 4.0.0.0 is needed by package mono-basic-4.0.1-1.noarch (mono) Error: Missing Dependency: mono(System.Core) = 4.0.0.0 is needed by package mono-basic-4.0.1-1.noarch (mono) Error: Missing Dependency: mono(System) = 4.0.0.0 is needed by package mono-basic-4.0.1-1.noarch (mono) Error: Missing Dependency: mono(mscorlib) = 4.0.0.0 is needed by package mono-basic-4.0.1-1.noarch (mono) Error: Missing Dependency: mono(System.Drawing) = 4.0.0.0 is needed by package mono-basic-4.0.1-1.noarch (mono) Error: Missing Dependency: mono(System.Windows.Forms) = 4.0.0.0 is needed by package mono-basic-4.0.1-1.noarch (mono) So now I am trying to build mono on CentOs 5, using the instructions at http://www.mono-project.com/docs/compiling-mono/compiling-from-git/ I cloned the git repository, and ran ./autogen.sh --prefix=/usr/local This gave me 2 messages: You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4' aclocal: unrecognized option -- `-Wnone' I copied the libtool.m4 file to aclocal.m4, and tried again - still got the second message. I removed the -Wnone flag from autogen.sh and ran again - it went to completion. I then ran make, and that failed with: Making all in libgc make[2]: Entering directory `/usr/src/mono/libgc' make[2]: *** No rule to make target `all'. Stop. make[2]: Leaving directory `/usr/src/mono/libgc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/mono' make: *** [all] Error 2 This is presumably because the configuration process has not created a Makefile in libgc. What do I do now? -- View this message in context: http://mono.1490590.n4.nabble.com/Error-trying-to-compile-mono-on-CentOs-5-tp4666171.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Kontaktdaten: in Plauen: 03741 7424995 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Error trying to compile mono on CentOs 5 (Mono-devel-list Digest, Vol 123, Issue 6)
Hello, TP please also install the package mono-opt-devel. That includes TP /opt/mono/lib/libMonoPosixHelper.so, I just checked. Despite naming conventions, libMonoPosixHelper.so is definitely a runtime package, not something belonging in a -devel I tried to work around that with https://en.opensuse.org/openSUSE:Packaging_checks#Suppressing_False_Positives but did not get it to work. I have now changed my spec file, so that only OpenSUSE packages will build mono-opt and mono-opt-devel, and all other RPM distros will just build a mono-opt. I hope this clears up some of the confusion... All the best, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Error trying to compile mono on CentOs 5
Hello Niamh, TP and also split the TP packages for CentOS into mono-opt and mono-opt-devel. Perhaps add a note about there being 2 packages in the installation instructions? Thanks for the suggestion! I have noted it for a future feature: https://github.com/SolidCharity/LightBuildServer/issues/109 Thanks, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Error trying to compile mono on CentOs 5 (Mono-devel-list Digest, Vol 123, Issue 6)
Hello Andres, Despite naming conventions, libMonoPosixHelper.so is definitely a runtime package, not something belonging in a -devel I tried to work around that with https://en.opensuse.org/openSUSE:Packaging_checks#Suppressing_False_Positives but did not get it to work. I have now changed my spec file, so that only OpenSUSE packages will build mono-opt and mono-opt-devel, and all other RPM distros will just build a mono-opt. I hope this clears up some of the confusion... Why not include libMonoPosixHelper in the mono-opt package, instead of removing the mono-opt-devel package? My packages are not split like the Xamarin packages or the Fedora packages, where you have many packages resulting from the mono src.rpm. The aim is that they should just work, and I don't want to invest maintaining them to a high standard of cleanness. Rather I have invested my time into Mono on Fedora packages, which results in the achievement that Fedora 23 will be delivered with Mono4 onboard! :) All the best, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Buggered yum repo
Hello Edward, > Error: Package: mono-devel-4.0.4.1-0.xamarin.1.x86_64 > (download.mono-project.com_repo_centos_) > >Requires: libc.so.6(GLIBC_2.15)(64bit) > > So then I thought, maybe you guys support on Centos but not RHEL? And I > looked at what's available in Centos ... Centos only goes up to 2.12. > I know that the packages from Xamarin never worked for CentOS5. I guess they only target the latest CentOS version, which is 7. Yes, on CentOS7 there is glibc 2.17 As an alternative, you are welcome to use this copr repo https://copr.fedoraproject.org/coprs/tpokorra/mono/ which is maintained by Claudio and myself. It provides a separate repository for each CentOS6 and CentOS7, and we keep it uptodate with the latest stable Mono version. Now that we got Mono 4 into Fedora23, the next step would be to get it into Epel for CentOS7. But currently my focus is on other projects, but will get to it. Hope this helps, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Error trying to compile mono on CentOs 5
Hello Niamh, Is libMonoPosixHelper.so not included? please also install the package mono-opt-devel. That includes /opt/mono/lib/libMonoPosixHelper.so, I just checked. All the best, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Error trying to compile mono on CentOs 5
Hello Niamh, OK, but I don't see it on your site for CentOS 5 https://lbs.solidcharity.com/project/tpokorra/mono However yum does find it :) yes, building the package mono-opt results in 2 deliverable packages, mono-opt and mono-opt-devel. I had to do it this way to satisfy some requirement for OpenSUSE packages. So I made life easier for myself, and also split the packages for CentOS into mono-opt and mono-opt-devel. All the best, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] About porting Mono to aix
Hello, > Recently I tried to port mono to IBM aix6.1 system, did any one try to do > this before, > > and I met a problem and I didn’t know how to fixed, on compiling runtime > module, it need > > a monolite to compile it, but I think there is not a supported version for > aix, where can I get the > > source code of monolite, is it possible porting mono to aix. I know that the Fedora people are building Mono for ppc64 architecture. Perhaps you can use their mono to build your mono? I don't know enough about monolite, but it seems the Fedora people are using the default monolite that comes with the mono tarball (at least on the first 4.x build, after that the previous mono version is used for building). See the history of builds of Mono for ppc64: http://ppc.koji.fedoraproject.org/koji/packageinfo?packageID=4277 On each build, you get a link to the src rpm. eg. the first successful bootstrap build of Mono 4: http://ppc.koji.fedoraproject.org/koji/buildinfo?buildID=333854 hope this helps, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] release 4.4? 4.2.4?
Hello Seif, > for that. I just updated now, and got some updates, but not 4.4.0, mono > is now at 4.2.4. What is going on here? Is 4.4 coming out soon? what is > new in 4.2.4? As far as I have heard on https://gitter.im/mono/mono, the "old Jenkins master was basically dying". In the process of a fresh installation Jo has been working on cleanup on the jenkins jobs. But still some bugs are keeping him busy it seems. He said the 4.4 release for Linux will be ready when it is finished. The release information is here: https://releases.xamarin.com/stable-release-cycle-7/ Regarding 4.2.4, have a look at the release notes: https://releases.xamarin.com/stable-release-cycle-6-service-release-4/ or even at the commits of the branch itself: https://github.com/mono/mono/commits/mono-4.2.0-branch-c6sr4 hope this helps, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] release 4.4? 4.2.4?
> He said the 4.4 release for Linux will be ready when it is finished. > The release information is here: > https://releases.xamarin.com/stable-release-cycle-7/ I have built now the Mono 4.4.0.182 release for mono-opt, which can be installed on older Linux distributions as well. I also have packages for Fedora and CentOS, that install mono in the default directory /usr. See details in this blog post: http://www.pokorra.de/2016/06/cycle-7-mono-4-4-0-182-for-linux-no-monodevelop-6-yet/ If anyone finds these packages useful or finds a problem with those packages, please let me know! I am currently not able to package MonoDevelop 6. The tarball is still missing, and there are some dependancies that I have not packaged yet. hope this helps, Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] WebRequest time out error
> It failed immediately with Time Out error. The code is crashing on the line: > `HttpWebResponse response = (HttpWebResponse)request.GetResponse();` > > What is causing this to happen and how can I fix it? This reminds me of some issue I had some years ago. But I could not reproduce it anymore with Mono 3.12.0 https://bugzilla.xamarin.com/show_bug.cgi?id=11833 Perhaps the patch https://github.com/mono/mono/commit/8c2167d52cb9acf9582647ebb5f99c92d9127fbd would work for you? I have not checked if that patch still applies, or if the code has been replaced by the reference code... I have not tested my use case for a while, that was making use of the httpwebrequest. Timotheus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Diagnosing "Invalid IL code"
Hello Gary, On 12 May 2016 at 06:52, Gary Briggswrote: > I have some code that, when compiled with monodevelop [latest in Ubuntu > 15.10], throws an invalid IL code exception when run with mono. This same > code, when compiled with VS2015, does not throw said exception when run > with mono. I just checked, Ubuntu 15.10 still had Mono 3.2.8. You might want to try Ubuntu 16.04, which comes with Mono 4.2.1 Alternatively, install the latest Mono packages from Xamarin on Ubuntu 15.10: http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives I hope this might solve your issues already, Timothues ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list