[Mono-list] Mono for an older Linux RHEL4r5?

jmalcolm malcolm.justin at gmail.com
Wed Dec 15 21:15:32 EST 2010

CodeSlinger wrote:
> We have an older version of Linux - Red Hat EL4r5 - also known as Update
> 5, 2007-05-01.
> Do I have much of a chance running a decent version of Mono on this older
> system?

You will have to wait for a more authoritative answer, but as a user of Mono
on RHEL5 I can say that I see no reason why you would not be able to build
and run Mono on RHEL4.  I would not be surprised if there are no packages
kicking around for that though.  You will probably have to build from
source.  This could be a bit of a pain.

I would expect the biggest problem to be compiling libgdiplus as it relies
on quite a few graphics libraries (including Cairo).  Mono almost certainly
needs newer versions than you have in RHEL4.  So, you will have to update
these which will likely also require building from source.  It may also
require newer versions of automake, autoconf, or the like.

libgdiplus is an implementation of GDI+ for Linux which is used to support

After you get libgdiplus in place, Mono should build fine I expect.  If you
are building Mono 2.8+ you will not have to worry about what version of
glib2 you have installed as Mono now uses the built-in eglib instead.  I
think maybe the only other thing you might need is bison.

If you want to run asp.net stuff you may run into an issue with the age of
your Apache install as well but I am not sure about that either.

Note, I have not tried to build Mono on RHEL4 myself.  Mono works very well
with RHEL5 if you are looking for an excuse to upgrade.

CodeSlinger wrote:
> I'm a Windows .NET developer and know some but not a lot about Linux.
> Would the installation of Mono on our system impact any kernel stuff or
> does it install in such a manner [perhaps just accessing a separate
> directory] that the production guys won't freak out about adding Mono to
> their system?
> Thanks, Dave

Mono does not impact the kernel at all.  It runs 100% in user space.  What
your production guys will or will not freak out about is hard to know of

If you specify "--prefix=/usr" when you build Mono almost everything will
end up in "/usr/lib/mono".  I think the default is "/usr/local/lib/mono" if
you do not specify anything.

View this message in context: http://mono.1490590.n4.nabble.com/Mono-for-an-older-Linux-RHEL4r5-tp3089477p3090218.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list