Am Montag, den 24.11.2008, 16:51 +0100 schrieb Michael Krauss:
> > Von: Gerd Stolpmann <[EMAIL PROTECTED]>
> >
> > I think the problem is that the bootstrap uses in its first build steps
> > "make", not "gmake" (in the hope any make will do). The messages in
> > bootstrap.log are untypical for gmake.
> > 
> > You can try this: In line 467 of bootstrap replace "make" by "gmake".
> > Then try again. This call is the only call of "make".
> 
> Changing make to gmake in line 447 
> 
> ( cd run/ocamlrun-3.09.3
>   gmake -f Makefile.godi all
> ) 2>&1
> 
> does partially help. Now something is been compiled. But bootstrap still 
> fails, now on a later point:
> 
> [EMAIL PROTECTED]:~/godi-rocketboost-20080630$ wc -l bootstrap.log 
> 266 bootstrap.log
> 
> [EMAIL PROTECTED]:~/godi-rocketboost-20080630$ tail -20 bootstrap.log 
> cd byterun; gmake fat
> gmake[1]: Entering directory 
> `/export/home/mickraus/godi-rocketboost-20080630/run/ocamlrun-3.09.3/byterun'
> (echo '#include "mlvalues.h"'; \
>        echo '#include "prims.h"'; \
>        sed -e 's/.*/extern value &();/' primitives; \
>        echo 'c_primitive caml_builtin_cprim[] = {'; \
>        sed -e 's/.*/  &,/' primitives; \
>        echo '  0 };'; \
>        echo 'char * caml_names_of_builtin_cprim[] = {'; \
>        sed -e 's/.*/  "&",/' primitives; \
>        echo '  0 };') > prims.c
> gcc -DCAML_NAME_SPACE -O -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64   -c -o 
> prims.o prims.c
> gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64  -o ocamlfatrun \
>                 prims.o \
>                 ../../netsys-2.2.4/libnetsys.a \
>                 ../../godi-digest/libdigest.a \
>                 ../otherlibs/str/libstr.a \
>                 ../otherlibs/unix/libunix.a libcamlrun.a -lnsl -lsocket -lm   
> gmake[1]: Leaving directory 
> `/export/home/mickraus/godi-rocketboost-20080630/run/ocamlrun-3.09.3/byterun'
> boot_console cannot be started

That's strange.

> [EMAIL PROTECTED]:~/godi-rocketboost-20080630$ find . -name boot_console
> ./godi-tools-boot/boot_console
> [EMAIL PROTECTED]:~/godi-rocketboost-20080630$ ls -l 
> ./godi-tools-boot/boot_console
> -rw-r--r-- 1 mickraus staff 3718042 2008-07-01 01:23 
> ./godi-tools-boot/boot_console
> [EMAIL PROTECTED]:~/godi-rocketboost-20080630$ file 
> ./godi-tools-boot/boot_console
> ./godi-tools-boot/boot_console:       executable 
> /home/gerd/pub/godi-bootstrap/godi-tools/trunk/console-src/console/./boot_console.runtime
>  script
> 
> 
> I tried to execute boot_console manually, but OpenSolrais couldn't start it:
> 
> [EMAIL PROTECTED]:~/godi-rocketboost-20080630$ chmod +x 
> ./godi-tools-boot/boot_console
> [EMAIL PROTECTED]:~/godi-rocketboost-20080630$ 
> ./godi-tools-boot/boot_consolebash: ./godi-tools-boot/boot_console: 
> /home/gerd/pub/godi-bootstrap/godi-tools/trunk/console-src/console/./boot_cons:
>  bad interpreter: No such file or directory

This does not work. It must be started like

run/ocamlrun-3.09.3/byterun/ocamlfatrun godi-tools-boot/boot_console

because the interpreter line in boot_console does not match your paths.

Does this work?

Gerd

> 
> Kind regards
> Michael Krauss
> 
> 
-- 
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany 
[EMAIL PROTECTED]          http://www.gerd-stolpmann.de
Phone: +49-6151-153855                  Fax: +49-6151-997714
------------------------------------------------------------


_______________________________________________
Godi-list mailing list
[email protected]
https://godirepo.camlcity.org/mailman/listinfo/godi-list

Reply via email to