SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Some patches for building it on Mono and problems with DLL hell

Last post 01-19-2013 6:31 PM by Mailaender. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-01-2013 9:59 PM

    Some patches for building it on Mono and problems with DLL hell

    Hi,

    As a packager for openSUSE and developer for OpenRA I am currently experiencing a DLL hell under Unix with Mono as Xamarin ships an outdated version of SharpZipLib with their Mono releases https://github.com/mono/mono/tree/master/mcs/class/ICSharpCode.SharpZipLib and there has been an API breakage compared to the lastest version you offer for download. I cross-posted at https://bugzilla.xamarin.com/show_bug.cgi?id=8483 a while ago, but no one answered me.

    First of all I would like to contribute a sharpziplib.pc file that I found at http://sophie.zarb.org/distrib/Mandriva/cooker//srpms/mono-sharpziplib/files/4 slightly modified as I think version = 0.36 was a typo:

    prefix=/usr
    exec_prefix=${prefix}
    libdir=${exec_prefix}/lib

    Name: sharpziplib
    Description: C# Zip, GZip, Tar and BZip2 library for .NET
    Version: 0.86
    Libs: -r:${libdir}/mono/sharpziplib/ICSharpCode.SharpZipLib.dll

    In fact it is bad style as a distribution to take care about .pc files because they need to be unified and therefore upstream needs to do this. I just added it because otherwise MonoDevelop won't find it.

    There is also a patch at http://sophie.zarb.org/distrib/Mandriva/cooker//srpms/mono-sharpziplib/files/1 to have a nant profile for mono. It is a replica of build-net-2.0 so maybe you should just link with

    <call target="build-net-2.0" />

    in the build-mono-2.0 section.

    While browsing SharpZipLib.build in SharpZipLib_0860_SourceSamples.zip I also noticed

    <property name="version" value="0.85.5"/>

    which seems to have been forgotten to update?!

    Filed under: , ,
  • 01-18-2013 10:39 PM In reply to

    Re: Some patches for building it on Mono and problems with DLL hell

    Hi,

    Sorry to hear that the Xamarin people are not even answering your post on their forum. As an aside, I had a look at their site, and at the prices they are asking e.g. first price I see is $999 I think it is remarkable to get no response. It was not obvious to me what Xamarin is or does - can you shed some light?

    What should we do with that sharpziplib.pc file?

    In your post on their forum, you talk about "an rpm-conflict with mono-core on openSUSE".

    Can you explain, what is the relationship between mono, openSUSE and Xamarin? In my naivety I would have thought such a post might belong rather on an OpenSUSE forum, for example. Is it that the 0.84 version is delivered with Xamarin?

    Thanks
    David

  • 01-19-2013 6:31 PM In reply to

    Re: Some patches for building it on Mono and problems with DLL hell

    http://xamarin.com/ currently sells their C# compilers for Android and iOS. http://www.mono-project.com is still Open Source and Free/Libre Software. When Attachmate bought Novell and lay-off many Mono developers which then joined the newly founded Xamarin. The impact on openSUSE was that many @novell.com e-Mail addresses did not work anymore and their accounts were suspended. They now use https://build.opensuse.org/home?user=xamarin-release-manager for deployment.

    I tried to fix the problem myself in https://github.com/mono/mono/pull/529 but it has not been yet reviewed or accepted.

    The sharpziplib.pc is an upstream issue therefore I created a set of patches at https://github.com/icsharpcode/SharpZipLib/pull/4 while you are right that the packaging problem should be solved in openSUSE territory.

Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.