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 am trying to install the MonoDevelop IDE from source. One of its prerequisites is Mono 2.10.

Unfortunately the preinstalled mono runtime on my current Ubuntu system is 2.6.7.

I managed to make a parallel mono install on my system. It is located at /opt/mono-2.10.

Sadly, once I run the ./configure script, it fails saying that the /usr/bin/mono executable is outdated (as well as other executables related to mono).

I would want to try to pass a different path to ./configure, to point to my parallel mono install (/opt/mono-2.10/bin/mono) etc.

How can I do that?

Thanks in advance.

share|improve this question
    
It would help if you could point to a location from where the source could be downloaded. Add that to your question. –  Faheem Mitha Nov 14 '11 at 0:17

1 Answer 1

up vote 0 down vote accepted

Put /opt/mono-2.10/bin ahead of /usr/bin in your PATH:

PATH=/opt/mono-2.10/bin:$PATH
./configure
make

This may not be enough. Typically configure scripts take additional settings in the form of --with-… options or environment variables. Run ./configure --help to see the possibilities.

share|improve this answer

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.