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

jmalcolm malcolm.justin at gmail.com
Thu Dec 16 13:13:12 EST 2010

CodeSlinger wrote:
> That's encouraging. Any suggestions on problems you encountered
> appreciated and meanwhile I'm going to try to enlist help from one of our
> Linux guys that also wants to learn C# and is more familiar with Linux
> installs and dependencies. Thanks so much, Dave

As I said, I really did not run into any problems at all.  It was a breeze. 
Now, I do not know what packages you have installed on your system so I
cannot say what you will run into.  You obviously have to have a development
environment (gcc compiler, make, automake, autoconf, bison, etc) installed
to build anything from source.  I do not even know if you have that.

The most important thing is that you can use "yum" to automatically download
and install whatever you need (eg. "yum install gcc" will install the
compiler).  I also used wget to download the source.  Your admin should know
all about how to use yum.  These packages come directly from Red Hat and
will receive security updates and such whenever your admins download updates
or upgrades.  I did not have to install anything that was not part of the
standard RHEL4 distribution (other than Mono itself of course).

Here is all I did (as root) to build Mono:

First, download the latest stable source and unpack it:

mkdir /usr/src/mono
cd /usr/src/mono
tar -xvjf libgdiplus*
tar -xvjf mono*

Ok, now build and install libgdiplus:

cd libgdiplus*
./configure --prefix=/usr && make && make install
cd ..

And then build and install mono...

cd mono*
./configure --prefix=/usr && make && make install
cd ..

Ta da! That was it.

You can type "mono --version" to see that it is working fine.

If you run into any problems it is probably just because of a missing
package on your system.  Just download that package with yum and start the
failing step again.

Good luck.


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

More information about the Mono-list mailing list