[Mono-devel-list] Makefile error?

Richard Torkar richard.torkar at htu.se
Wed Jul 16 06:06:05 EDT 2003


I seem to have a slight problem with the new build scripts.
I might be doing something wrong here, if that is the case I apologize
in advance ;-)

cd mono && ./autogen.sh --prefix=/home/torkar/install/install && make &&
make install works great

cd mcs && make all bails on the other hand...

make[2]: Entering directory `/home/torkar/install/mcs/class/System'
touch ../../build/deps/System.dll.stamp
MONO_PATH="../../class/lib:$MONO_PATH" mono  ../../mcs/mcs.exe    -g
/nowarn:1595 /nowarn:0169 /nowarn:0109 /nowarn:0067 /nowarn:0649
/nowarn:0679 /noconfig /lib:/usr/local/lib /r:System.Xml.dll
/r:corlib.dll /target:library /out:../../class/lib/System.dll
error CS0006: Cannot find assembly `System.Xml.dll'
Compilation failed: 1 error(s), 0 warnings
make[2]: *** [../../class/lib/System.dll] Error 1

So it can't find System.Xml.dll? Hmm, System.Xml.dll is actually in
/home/torkar/install/install/lib and LD_LIBRARY_PATH is set to that dir.

If I try to do a "make" in System.XML it of course bails complaining
about not being able to find System.dll...

Any ideas what's up? Am I doing something wrong, since I am a bit
unaccustomed with the new build system?


More information about the Mono-devel-list mailing list