Mono 5.18 on copr   January 2nd, 2019

The status of Mono in Fedora is sad. We cannot upgrade to the latest Mono versions because we require binary reference assemblies for the build, as described in https://bugzilla.redhat.com/show_bug.cgi?id=1436896#c91

My hope is that when .NET Core and msbuild become part of official Fedora, we can create the various packages for the binary reference assemblies.

For the moment, I create a copr for each Mono version, where we build Mono “the Fedora way”, but with Bootstrap mode always enabled.

So here is the current release Mono 5.18.0.225 for Fedora 29 and Epel 7:
https://copr.fedorainfracloud.org/coprs/tpokorra/mono-5.18/

The sources for the spec file and the patches are here:
https://github.com/tpokorra/mono-5.x-fedora/tree/master/mono-5.18

Tags: , , , ,
Posted in Hosting, Software Development | Comments Closed

I had problems installing nuget packages on CentOS 7 with the mono packages from my copr at https://copr.fedorainfracloud.org/coprs/tpokorra/mono/

I got this error when running nuget restore:

WARNUNG: Error: TrustFailure (Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED)

The solution is to run once this command (see also http://www.mono-project.com/docs/about-mono/releases/3.12.0/#cert-sync):

sudo cert-sync /etc/pki/tls/certs/ca-bundle.crt

This command is run by default when you install the mono package provided by Xamarin, see https://github.com/mono/linux-packaging-mono/blob/centos/mono-core.spec#L393

Tags:
Posted in Hosting, Software Development | Comments Closed

This post is about the latest Mono release, and its availability for older Linux distributions.

Thankfully, Xamarin provides Mono packages for the most current Linux distributions at http://www.mono-project.com/download/#download-lin.

I am building Mono packages for older Linux distributions, and some constellations not supported by Xamarin.

Here are the Mono 4.6.0.245 packages for CentOS and Fedora:

Here is the list of Mono 4.6.0.245 installed to /opt, for various Linux distributions:

For a summary of packages that I maintain for Mono, see also https://github.com/tpokorra/lbs-mono/wiki

A short status update on MonoDevelop 6:

Tags: ,
Posted in Software Development | Comments Closed

This post is about the latest Mono release, and its availability for older Linux distributions.

Thankfully, Xamarin provides Mono packages for the most current Linux distributions at http://www.mono-project.com/download/#download-lin. The Xamarin packages have not been updated yet, due to migration to a new Jenkins server.

I was not able yet to package MonoDevelop 6:

But here are the Mono 4.4.0.182 packages for CentOS and Fedora:

Here is the list of Mono 4.4.0.182 installed to /opt, for various Linux distributions:

For a summary of packages that I maintain for Mono, see also https://github.com/tpokorra/lbs-mono/wiki

I was asked if there are mono packages available for CentOS7 32 bit.

CentOS7 was initially only released for 64 bit, but in October 2015, it was released for 32 bit as well: http://seven.centos.org/2015/10/centos-linux-7-32-bit-x86-i386-architecture-released/

So I checked my build options: OBS does not support CentOS7 for 32 bit yet, neither does copr.

So I decided to try to build the packags on LBS. I had to modify my lxc scripts to be able to create a container for CentOS7 32 bit, and that was quite easy (https://github.com/tpokorra/lxc-scripts/issues/19).

Now there are the packages mono-opt, mono-basic-opt and mono-xsp-opt available for CentOS7 32bit.

To use them, run this:

rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0x4796B710919684AC"
yum install yum-utils
yum-config-manager --add-repo https://lbs.solidcharity.com/repos/tpokorra/mono/centos/7/lbs-tpokorra-mono.repo
yum install mono-opt mono-xsp-opt mono-basic-opt mono-libgdiplus-opt

Make sure to call . /opt/mono/env.sh (mind the space after the dot) before you do any Mono calls!

Tags: , ,
Posted in Software Development | Comments Closed

This post is about the latest Mono release, and its availability for older Linux distributions.

Thankfully, Xamarin provides Mono packages for the most current Linux distributions at http://www.mono-project.com/download/#download-lin

I used to build mono-opt for Debian, Ubuntu, CentOS, Fedora and OpenSUSE, since July 2013 (see http://lists.ximian.com/pipermail/mono-list/2013-July/050114.html).

The long-term goal has always been to get Mono integrated directly into the Linux distributions. Therefore I decided to get involved with Fedora and CentOS, which I use for most of my servers.

As a result, we now have Mono 4.0.5 and MonoDevelop 5.9 in Fedora 23, and we (Claudio and myself) are working on getting Mono 4.2 and MonoDevelop 5.10 into Fedora 24. The next step would be to get Mono updated in Epel as well, so that you can use uptodate packages of Mono on CentOS too.

I am glad to see that things are happening on the Debian side as well, with Mono 4.2.1 in the experimental branch: https://packages.debian.org/search?keywords=mono-complete

OpenSUSE has Mono 4.0.4 in Leap 42.1: https://software.opensuse.org/package/mono-complete

So things are looking good!

I decided to use the infrastructure of the Fedora project for the CentOS mono-opt packages. You can find uptodate Mono and MonoDevelop packages for CentOS6 and CentOS7 at https://copr.fedoraproject.org/coprs/tpokorra/mono-opt/. There are also Mono packages for CentOS5, but no MonoDevelop for CentOS5.
This replaces the mono-opt packages for CentOS5 at https://lbs.solidcharity.com/package/tpokorra/mono/mono-opt which I will not be maintaining anymore over there.

For Fedora users, Claudio and myself do maintain a repository with the latest Mono and MonoDevelop here: https://copr.fedoraproject.org/coprs/tpokorra/mono/

For Ubuntu 12.04, Mono llvm does not build anymore, because it requires GCC with at least version 4.7. At the moment I don’t have a reason to build Mono and MonoDevelop for Ubuntu 12.04 anymore. I will also not build packages for Ubuntu non-LTS releases. If you need it, email me, and we can discuss.

So here are the updated packages:

Tags: , ,
Posted in Software Development | Comments Closed

There have been new stable releases of Mono and MonoDevelop: https://releases.xamarin.com/stable-release-cycle-5-service-release-4/

I have updated the mono-opt and monodevelop-opt packages.

You can install it from OBS: have a look at the instructions here: https://software.opensuse.org/download.html?project=home%3Atpokorra%3Amono&package=mono-opt

To use mono-opt, you need to call the environment script first (mind the space between the dot and the slash…):

. /opt/mono/env.sh

Package names for RPM based systems:

  • CentOS6 and CentOS7
  • Fedora 21 and Fedora 22
  • OpenSUSE 13.1 and OpenSUSE 13.2
yum install mono-opt monodevelop-opt mod_mono-opt mono-basic-opt mono-nant-opt mono-tools-opt mono-uncrustify-opt mono-xsp-opt nunit-opt nuget-opt

Just for OpenSUSE, there is also a mono-opt-devel package. For all other rpm based distributions, I deliver the devel files within the mono-opt package.

Package names for Debian based systems:

  • Debian Wheezy (7) and Debian Jessie (8)
  • Ubuntu 12.04, Ubuntu 14.04, Ubuntu 14.10 and Ubuntu 15.04
apt-get install mono-opt monodevelop-opt modmono-opt mono-basic-opt mono-nant-opt mono-tools-opt mono-uncrustify-opt mono-xsp-opt nunit-opt nuget-opt

 

mono-opt for CentOS5

I have also updated mono-opt for CentOS5, which I build on my LBS server. You can install the latest version following the instructions at https://lbs.solidcharity.com/package/tpokorra/mono/mono-opt:

wget https://download.solidcharity.com/repos/tpokorra/mono/centos/5/lbs-tpokorra-mono.repo -O /etc/yum.repos.d/lbs-tpokorra-mono.repo
yum install mono-opt

 

Tags: , ,
Posted in Software Development | Comments Closed

There have been new stable releases of Mono and MonoDevelop: https://releases.xamarin.com/stable-release-cycle-5-service-release-2/

I have updated the mono-opt and monodevelop-opt packages.

You can install it from OBS: have a look at the instructions here: https://software.opensuse.org/download.html?project=home%3Atpokorra%3Amono&package=mono-opt

To use mono-opt, you need to call the environment script first (mind the space between the dot and the slash…):

. /opt/mono/env.sh

Package names for RPM based systems:

  • CentOS6 and CentOS7
  • Fedora 21 and Fedora 22
  • OpenSUSE 13.1 and OpenSUSE 13.2
yum install mono-opt mono-opt-devel monodevelop-opt mod_mono-opt mono-basic-opt mono-nant-opt mono-tools-opt mono-uncrustify-opt mono-xsp-opt nunit-opt nuget-opt

Package names for Debian based systems:

  • Debian Wheezy (7) and Debian Jessie (8)
  • Ubuntu 12.04, Ubuntu 14.04, Ubuntu 14.10 and Ubuntu 15.04
apt-get install mono-opt monodevelop-opt modmono-opt mono-basic-opt mono-nant-opt mono-tools-opt mono-uncrustify-opt mono-xsp-opt nunit-opt nuget-opt

Fix for building Debian packages on OBS:

There has been a change on OBS, resulting in lintian errors now failing the build.

For more details see https://github.com/openSUSE/open-build-service/issues/944

The solution for me was:

osc meta prjconf -e
  # insert this line:
  Support: !lintian

You can see and set this setting also in the web UI: https://build.opensuse.org/project/prjconf/home:tpokorra:mono

mono-opt for CentOS5

I have also updated mono-opt for CentOS5, which I build on my LBS server. You can install the latest version following the instructions at https://lbs.solidcharity.com/package/tpokorra/mono/mono-opt:

wget https://download.solidcharity.com/repos/tpokorra/mono/centos/5/lbs-tpokorra-mono.repo -O /etc/yum.repos.d/lbs-tpokorra-mono.repo
yum install mono-opt mono-opt-devel

 

Tags: , ,
Posted in Software Development | Comments Closed

Mono 4 for CentOS5   June 11th, 2015

As you may have noticed, the Mono packages provided by Xamarin won’t work on CentOS5, because some libraries are too old.

Yesterday, I realized that my Mono build for CentOS5 was still on version 3.12.1.

So I updated my Mono packages on LBS, and we have the latest Mono 4.0.1.44 available for CentOS5 now.

To install it, follow the instructions at https://lbs.solidcharity.com/package/tpokorra/mono/mono-opt:

wget https://download.solidcharity.com/repos/tpokorra/mono/centos/5/lbs-tpokorra-mono.repo -O /etc/yum.repos.d/lbs-tpokorra-mono.repo
yum install mono-opt mono-opt-devel

To use it, you need to call the environment script first (mind the space between the dot and the slash…):

. /opt/mono/env.sh
Tags: , ,
Posted in Software Development | Comments Closed

There was recently a new Mono version made available: Cycle 5 Service Release 1 (4.0.1.44)

You can install it from OBS: have a look at the instructions here: https://software.opensuse.org/download.html?project=home%3Atpokorra%3Amono&package=mono-opt

Please note, that for CentOS 6 and CentOS7, Fedora 20 and Fedora 21, OpenSUSE 13.1 and OpenSUSE 13.2 these packages are available:

yum install mono-opt mono-opt-devel monodevelop-opt mod_mono-opt mono-basic-opt mono-nant-opt mono-tools-opt mono-uncrustify-opt mono-xsp-opt nunit-opt nuget-opt

For Debian 7 and Debian 8, and various Ubuntu releases, these packages are available:

apt-get install mono-opt monodevelop-opt modmono-opt mono-basic-opt mono-nant-opt mono-tools-opt mono-uncrustify-opt mono-xsp-opt nunit-opt nuget-opt

Yes, monodevelop-opt is back! I had to build nuget-opt and nunit-opt, and now it works again.

Mono 3.12.x:

I have created a new repository for those that still need mono-opt for version 3.12.x:
Have a look at the instructions here:
https://software.opensuse.org/download.html?project=home%3Atpokorra%3Amono-3.12&package=mono-opt

Tags: ,
Posted in Software Development | Comments Closed