[Mono-dev] Problem creating a parallel mono environment
dale.ragan at sinesignal.com
Fri Jun 4 09:29:22 EDT 2010
If you're using the source tarballs to install, then during configure you
need to pass the install directory by using the prefix flag.
$ ./configure --prefix=$HOME/parallel/mono
If you're installing from svn, then you need to use autogen.sh
$ ./autogen.sh --prefix=$HOME/parallel/mono
Do this for libgdiplus and mono before compiling each and installing them.
The bash script is to set your environment variables for running mono
from your parallel environment, it does not set the prefix flag for you.
I'm sure it is possible to have a portable environment, though I've never
tried. I don't find it too difficult to just install what I need from
server to server with a bash script.
> I did that, however as you saw on my script I used the 'parallelmono'
> mono alias instead of just 'mono', I hope that is not a problem?
> As I consequence question of what I'm trying to do, I wonder if it is
> possible to have a 'portable' parallel mono/monodevelop setup, a
> single folder that contains everything I need to run monodevelop(no
> dependencies to system wide libraries, only libraries that are inside
> the folder) so I could just backup this folder and deploy on another
> linux system and it would run without me needing to install anything.
> On Fri, Jun 4, 2010 at 1:47 AM, Dale Ragan <dale.ragan at sinesignal.com>
>> Did you do this step, which is right after the instruction on how to
>> create the environment bash script:
>> $ source ~/pathandwhateveryounamedthebashscript
>> It should change your prompt after running, to indicate you're in an
>> alternate environment. Based on the script, your prompt should start
>>> I'm trying to setup mono 2.6.4 on Ubuntu 10.04, but I have little
>>> experience with linux, I'm following the instructions here -
>>> http://www.mono-project.com/Parallel_Mono_Environments .
>>> The reason for that is to try monodevelop 2.4 which won't compile
>>> against mono 2.4.4 that comes with ubuntu. I want to setup mono in a
>>> private directory on my home folder ( ~/parallel/mono ) here is how I
>>> configured the enviroment setup script :
>>> export LD_LIBRARY_PATH=$MONO_PREFIX/lib:$LD_LIBRARY_PATH
>>> export C_INCLUDE_PATH=$MONO_PREFIX/include:$GNOME_PREFIX/include
>>> export ACLOCAL_PATH=$MONO_PREFIX/share/aclocal
>>> export PATH=$MONO_PREFIX/bin:$PATH
>>> PS1="[parallelmono] \w @ "
>>> Everything goes fine until I try to install, until some error pops
>>> saying they can't write to directory usr/local/share/libgc(I execute
>>> make install without root permissions). Should'nt all the mono
>>> binaries be installed on my private directory? Maybe I still need to
>>> set another variable?
>>> All I want is to have complete control of a mono/monodevelop
>>> instalation that sits on my home. Can somebody give me a light on
>>> Thanks in advance.
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list