[Mono-devel-list] Building from cvs

Ben Maurer bmaurer at users.sourceforge.net
Fri Jun 13 16:09:27 EDT 2003


On Fri, 2003-06-13 at 15:08, Roland Troisch wrote:
> Hi there, this was working perfectly for me except:
> 
> "tar zxvf ../monocharge-20030607.tar.gz
> cd ..
> mono/doc/mono-build.sh"
> 
> that second build still produced the same errors, is there a step
> missing after the tar command?, and...
> 
>  adding the few lines to my bash file...my redhat 9 machine says 
> - bash: Add: command not found
> 
> anybody know what gives?

>From what I have heard, that script is broken. Here is what you need to
do:
In /etc/profile.d make a new .sh file:

MONO_PATH=/devel/install/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/devel/install/lib
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/devel/install/lib/pkgconfig
PATH=$PATH:/devel/install/bin
export MONO_PATH LD_LIBRARY_PATH PKG_CONFIG_PATH PATH

replace /devel/install with whatever it is for you (note you can *not*
use ~).

Reboot.

cd mono
./autogen.sh --prefix=../install
make; make install; cd ..
# untar everything from monocharge to install
cd mcs
make; make install prefix=../install
cd gtk-sharp
./autogen.sh --prefix=../install
make; make install; cd ..
cd monodoc
./autogen.sh --prefix=../install
make; make install; cd ..





More information about the Mono-devel-list mailing list