MLTon build (was: Re: [MLton] cvs commit: C types now distinguish between signed and unsigned words)
Alexandre
Xlex0x835@rambler.ru
Fri, 14 Jan 2005 12:14:19 +0300
Ok, I understand what to do with non standard installed GnuMP (and
modify Wiki docs about that).
But, please, explain me, what to do with this:
===================================
CWD: ~/Applications/MLTon/mlton-20041109 Time: 12:06:36 Jobs: 1
xlex@Karlson>make all-no-docs
make dirs runtime compiler world-no-check
mkdir -p /Users/xlex/Applications/MLTon/mlton-20041109/build/bin
/Users/xlex/Applications/MLTon/mlton-20041109/build/lib/self
/Users/xlex/Applications/MLTon/mlton-20041109/build/lib/include
Compiling MLton runtime system for self.
make -C runtime
make[2]: Nothing to be done for `all'.
/bin/cp -fpR /Users/xlex/Applications/MLTon/mlton-20041109/runtime/*.a
/Users/xlex/Applications/MLTon/mlton-20041109/build/lib/self/
/bin/cp -fpR runtime/*.h include/*.h
/Users/xlex/Applications/MLTon/mlton-20041109/build/lib/include/
mkdir -p
/Users/xlex/Applications/MLTon/mlton-20041109/build/lib/include/
platform
/bin/cp -fpR bytecode/interpret.h
/Users/xlex/Applications/MLTon/mlton-20041109/build/lib/include
/bin/cp -fpR runtime/platform/*.h
/Users/xlex/Applications/MLTon/mlton-20041109/build/lib/include/
platform
make -C bytecode
make[2]: Nothing to be done for `all'.
bytecode/print-opcodes
>/Users/xlex/Applications/MLTon/mlton-20041109/build/lib/opcodes
ar r
/Users/xlex/Applications/MLTon/mlton-20041109/build/lib/self/libmlton.a
bytecode/interpret.o
ar r
/Users/xlex/Applications/MLTon/mlton-20041109/build/lib/self/libmlton-
gdb.a bytecode/interpret-gdb.o
for x in
/Users/xlex/Applications/MLTon/mlton-20041109/build/lib/self/*.a; do
ranlib $x; done
ranlib: file:
/Users/xlex/Applications/MLTon/mlton-20041109/build/lib/self/
libmlton.a(spawne.o) has no symbols
ranlib: file:
/Users/xlex/Applications/MLTon/mlton-20041109/build/lib/self/
libmlton.a(spawnp.o) has no symbols
ranlib: file:
/Users/xlex/Applications/MLTon/mlton-20041109/build/lib/self/
libmlton.a(Ptrace.o) has no symbols
make -C /Users/xlex/Applications/MLTon/mlton-20041109/mlton
/bin/sh: line 1: mlton: command not found
/bin/sh: line 1: mlton: command not found
/bin/sh: line 1: mlton: command not found
/bin/sh: line 1: mlton: command not found
/bin/sh: line 1: mlton: command not found
/bin/sh: line 1: mlton: command not found
make -C front-end
rm -f ml.lex.sml
mllex ml.lex
make[3]: execvp: mllex: Permission denied
make[3]: *** [ml.lex.sml] Error 127
make[2]: *** [front-end/ml.lex.sml] Error 2
make[1]: *** [compiler] Error 2
make: *** [all-no-docs] Error 2
===================================
I found at the Wiki page that I have to have mlton source directory at
the path, so I do:
======================================================
CWD: ~/Applications/MLTon/mlton-20041109 Time: 12:06:11 Jobs: 1
xlex@Karlson>export PATH=$PATH:`pwd`
CWD: ~/Applications/MLTon/mlton-20041109 Time: 12:06:28 Jobs: 1
xlex@Karlson>env |grep PATH
MANPATH=/opt/local/man/
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/bin/:/Users/xlex/
Applications/MLTon/mlton-20041109
======================================================
So, I didn't get:
======================================================
.../upgrade-basis: mlton: command not found
Error: cannot upgrade basis because the compiler doesn't work
make[3]: *** [upgrade-basis.sml] Error 1
======================================================
error message, but I get error message which I show you at the top...
An no ideas how to fix it...
Regards,
/Alexandre.
On Jan 14, 2005, at 10:05, Alexandre wrote:
> I will try, but I have compilation question.
> <stripped>
> Yes, I know - I need GMP library installed, which I do installed in
> /opt/local/ - how can I show this at the compilation time?
>
>
> Regards,
> /Alexandre.
>
>> Could someone on a PPC please run this test with mlton-20041109?
>> Thanks.
>> <test.tgz>
>
>
> _______________________________________________
> MLton mailing list
> MLton@mlton.org
> http://mlton.org/mailman/listinfo/mlton
>