[Mono-list] Build problems

Hugues Lismonde h.li@skynet.be
Sun, 05 Jan 2003 22:58:18 +0100


Hi,

Sorry if this was already answered in this list but I have difficulties 
building Mono.

I've downloaded the mono-build.sh script and ran it on a Debian 3.0 box. 
Everything seems to go ok (except at the end of the Mono runtime build, 
the script tries to copy libraries which does not exists but it does not 
complain about this.)

At the end, the script tells me to copy the libraries in my lib folder 
(but which ones? libmono, libgc,... are copied and nothing else exists 
in the mono "sandbox").

After that, I try to compile the mcs tree (from CVS) and mcs keeps 
complaining about not finding corlib.dll.

Here's a dump of  the compilation:

hugues@server:~/mono/mcs$ make -f makefile.gnu install 
prefix=/home/hugues/mono/install/
if test x$prefix = x; then \
        echo Usage is: make -f makefile.gnu install prefix=YOURPREFIX; \
        exit 1; \
fi;
for i in jay mcs class nunit nunit20 monoresgen ilasm tools ; do \
        make -C $i -f makefile.gnu install || exit 1; \
done
make[1]: Entering directory `/home/hugues/mono/mcs/jay'
make -f makefile linux
make[2]: Entering directory `/home/hugues/mono/mcs/jay'
make[2]: Nothing to be done for `linux'.
make[2]: Leaving directory `/home/hugues/mono/mcs/jay'
make[1]: Leaving directory `/home/hugues/mono/mcs/jay'
make[1]: Entering directory `/home/hugues/mono/mcs/mcs'
mcs /target:exe  -o mcs.exe AssemblyInfo.cs assign.cs attribute.cs 
driver.cs cs-parser.cs cs-tokenizer.cs tree.cs location.cs cfold.cs 
class.cs codegen.cs const.cs constant.cs decl.cs delegate.cs enum.cs 
ecore.cs expression.cs genericparser.cs interface.cs literal.cs 
modifiers.cs namespace.cs parameter.cs pending.cs report.cs 
rootcontext.cs statement.cs support.cs typemanager.cs
The assembly corlib.dll was not found or could not be loaded.
It should have been installed in the `/home/hugues/mono/install/lib' 
directory.
make[1]: *** [mcs.exe] Error 1
make[1]: Leaving directory `/home/hugues/mono/mcs/mcs'
make: *** [install] Error 1

Any idea?

Thanks,
Hugues Lismonde