Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I don't have root access to an AIX 5.2 machine and want to run Mono programs in it.

share|improve this question
add comment

3 Answers

up vote 10 down vote accepted

Mono does not support AIX.

If you want to try to port Mono to AIX, you would probably want to:

  • Turn on the manual checking of dereferences in Mono, as AIX keeps the page at address zero mapped, preventing a whole class of errors from being caught. I forget the name of the define, but it was introduced some six months ago.

  • You would have to make sure that your signal handlers work, and that exception unwinding works on your platform.

The rest is probably replacing a few Posix functions with some AIX equivalents, but if you get the two above working, you would likely have a working Mono installation. But neither one of those tasks is easy.

share|improve this answer
add comment

Edit: my answer is about "how to install Mono without root access". Clearly Miguel's answer about Mono not working on AIX makes the rest moot.

Alex is right, you can install in your home directory.

Full instructions for installing Mono outside of /usr are available here:

http://www.mono-project.com/Parallel_Mono_Environments

Following these instructions is helpful if, for example, somebody installed Mono in /usr later on but you wanted to keep using your version.

share|improve this answer
add comment

Just compile from sources and install it into you home directory with ./configure --prefix=$HOME; make; make install. This way you don't need root access at any step.

To run .net assemblies with your compiled version of mono run ~/bin/mono program.exe or add ~/bin to your PATH and just use mono program.exe.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.