[Mono-dev] Problem creating a parallel mono environment

Dale Ragan 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.

Good Luck,

Dale

>  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>
> wrote:
>> 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
>> with
>> [mono].
>>
>>>   Hi,
>>>
>>>   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 :
>>>
>>> #!/bin/bash
>>> MONO_PREFIX=~/parallel/mono
>>> GNOME_PREFIX=~/parallel/GNOME
>>> export
>>> DYLD_LIBRARY_FALLBACK_PATH=$MONO_PREFIX/lib:$DYLD_LIBRARY_FALLBACK_PATH
>>> 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
>>> PKG_CONFIG_PATH=$MONO_PREFIX/lib/pkgconfig:$GNOME_PREFIX/lib/pkgconfig
>>> 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
>>> that?
>>>
>>>   Thanks in advance.
>>> _______________________________________________
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>
>>
>>
>>
>



More information about the Mono-devel-list mailing list