caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] problem with ocaml copilation
@ 2003-06-24 10:24 sicard
  0 siblings, 0 replies; only message in thread
From: sicard @ 2003-06-24 10:24 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

Hello
I have a problem when trying to compile the ocaml distribution
after a ./configure where every thing is ok, i do make all
and then ocamlrun is not in boot

gcc-3.2 -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -Wl,-E -o
ocamlrun \
          prims.o libcamlrun.a -lm -ldl -lcurses
make[1]: Leaving directory `/home/sicard/ocaml/ocaml-3.06/byterun'
if test -f stdlib/libcamlrun.a; then :; else \
          ln -s ../byterun/libcamlrun.a stdlib/libcamlrun.a; fi
boot/ocamlrun boot/ocamlc -nostdlib -I boot -warn-error A -I utils -I
parsing -I typing -I bytecomp -I asmcomp -I driver -I toplevel -c
utils/misc.mli
make: boot/ocamlrun : commande introuvable
make: *** [utils/misc.cmi] Erreur 127

a longer log is attached
bonne journée

[-- Attachment #2: errorcaml.txt --]
[-- Type: text/plain, Size: 9369 bytes --]

./configure -prefix /home/sicard/ocaml -cc gcc-3.2
Configuring for a i686-pc-linux-gnu ...
The C compiler is ANSI-compliant.
Checking the sizes of integers and pointers...
OK, this is a regular 32 bit architecture.
64-bit "long long" integer type found (printf with "%ll").
This is a little-endian architecture.
Doubles can be word-aligned.
64-bit integers can be word-aligned.
Native division and modulus have round-towards-zero semantics, will use them.
Dynamic loading of shared libraries is supported.
objcopy and nm found in /usr/bin
ranlib found
#! appears to work in shell scripts
POSIX signal handling found.
strerror() found.
times() found.
termcap functions found (with libraries '-lcurses')
You have BSD sockets.
socklen_t is defined in <sys/socket.h>
inet_aton() found.
unistd.h found.
off_t is defined in <sys/types.h>
dirent.h found.
rewinddir() found.
lockf() found.
mkfifo() found.
getcwd() found.
getwd() found.
getpriority() found.
utime() found.
utimes() found.
dup2() found.
fchmod() found.
truncate() found.
sys/select.h found.
select() found.
symlink() found.
waitpid() found.
wait4() found.
getgroups() found.
POSIX termios found.
setitimer() found.
gethostname() found.
uname() found.
gettimeofday() found.
mktime() found.
setsid() found.
putenv() found.
setlocale() and <locale.h> found.
dlopen() found.
mmap() found.
gethostbyname_r() found (with 6 arguments).
gethostbyaddr_r() found (with 8 arguments).
Replay debugger supported.
System stack overflow can be detected.
Threads library supported (using bytecode-level scheduling).
Location of X11 include files: /usr/X11R6/include/X11
Options for linking with X11: -L/usr/X11R6/lib -lX11
NDBM not found, the "dbm" library will not be supported.
Configuring LablTk...
tcl.h version 8.3 found.
tk.h found.
Tcl/Tk libraries found.

** Configuration summary **

Directories where Objective Caml will be installed:
        binaries.................. /home/sicard/ocaml/bin
        standard library.......... /home/sicard/ocaml/lib/ocaml
        manual pages.............. /home/sicard/ocaml/man (with extension .1)
Configuration for the bytecode compiler:
        C compiler used........... gcc-3.2
        options for compiling..... -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64
        options for linking.......  -Wl,-E  -lm -ldl -lcurses
        shared libraries are supported
        options for compiling..... -fPIC -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64
        command for building...... gcc-3.2 -shared -o lib.so -Wl,-rpath,/a/path objs
Configuration for the native-code compiler:
        hardware architecture..... i386
        OS variant................ linux_elf
        C compiler used........... gcc-3.2
        options for compiling..... -Wall -Wno-unused -D_FILE_OFFSET_BITS=64
        options for linking.......   -lm
        assembler ................ $(AS)
        preprocessed assembler ... gcc -c -DSYS_$(SYSTEM)
        profiling with gprof ..... supported
        ocamlopt -pack ........... supported
Source-level replay debugger: supported
Additional libraries supported:
        unix str num dynlink bigarray threads graph labltk
Configuration for the "num" library:
        target architecture ...... x86
Configuration for the "graph" library:
        options for compiling .... -I/usr/X11R6/include
        options for linking ...... -L/usr/X11R6/lib -lX11
Configuration for the "labltk" library:
        use tcl/tk version ....... 8.3
        options for compiling .... -I/usr/include/tcl8.3 -I/usr/include/tk8.3
        options for linking ......  -ltk8.3 -ltcl8.3 -ldl
sicard@corona:~/ocaml/ocaml-3.06$ make all
cd byterun; make all
make[1]: Entering directory `/home/sicard/ocaml/ocaml-3.06/byterun'
sed -n -e '/^  /s/ \([A-Z]\)/ \&\&lbl_\1/gp' \
       -e '/^}/q' instruct.h > jumptbl.h
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o interp.o interp.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o misc.o misc.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o stacks.o stacks.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o fix_code.o fix_code.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o startup.o startup.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o main.o main.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o freelist.o freelist.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o major_gc.o major_gc.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o minor_gc.o minor_gc.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o memory.o memory.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o alloc.o alloc.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o roots.o roots.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o globroots.o globroots.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o fail.o fail.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o signals.o signals.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o printexc.o printexc.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o backtrace.o backtrace.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o compare.o compare.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o ints.o ints.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o floats.o floats.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o str.o str.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o array.o array.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o io.o io.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o extern.o extern.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o intern.o intern.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o hash.o hash.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o sys.o sys.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o meta.o meta.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o parsing.o parsing.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o gc_ctrl.o gc_ctrl.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o terminfo.o terminfo.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o md5.o md5.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o obj.o obj.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o lexing.o lexing.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o callback.o callback.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o debugger.o debugger.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o weak.o weak.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o compact.o compact.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o finalise.o finalise.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o custom.o custom.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o dynlink.o dynlink.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o unix.o unix.c
ar rc libcamlrun.a interp.o misc.o stacks.o fix_code.o startup.o main.o freelist.o major_gc.o minor_gc.o memory.o alloc.o roots.o globroots.o fail.o signals.o printexc.o backtrace.o compare.o ints.o floats.o str.o array.o io.o extern.o intern.o hash.o sys.o meta.o parsing.o gc_ctrl.o terminfo.o md5.o obj.o lexing.o callback.o debugger.o weak.o compact.o finalise.o custom.o dynlink.o unix.o
ranlib libcamlrun.a
sed -n -e "s/CAMLprim value \([a-z0-9_][a-z0-9_]*\).*/\1/p" \
    alloc.c array.c compare.c extern.c floats.c gc_ctrl.c hash.c intern.c interp.c ints.c io.c lexing.c md5.c meta.c obj.c parsing.c signals.c str.c sys.c terminfo.c callback.c weak.c finalise.c stacks.c dynlink.c > primitives
(echo '#include "mlvalues.h"'; \
 echo '#include "prims.h"'; \
 sed -e 's/.*/extern value &();/' primitives; \
 echo 'c_primitive builtin_cprim[] = {'; \
 sed -e 's/.*/  &,/' primitives; \
 echo '  0 };'; \
 echo 'char * names_of_builtin_cprim[] = {'; \
 sed -e 's/.*/  "&",/' primitives; \
 echo '  0 };') > prims.c
gcc-3.2 -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64   -c -o prims.o prims.c
gcc-3.2 -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -Wl,-E -o ocamlrun \
          prims.o libcamlrun.a -lm -ldl -lcurses
make[1]: Leaving directory `/home/sicard/ocaml/ocaml-3.06/byterun'
if test -f stdlib/libcamlrun.a; then :; else \
          ln -s ../byterun/libcamlrun.a stdlib/libcamlrun.a; fi
boot/ocamlrun boot/ocamlc -nostdlib -I boot -warn-error A -I utils -I parsing -I typing -I bytecomp -I asmcomp -I driver -I toplevel -c utils/misc.mli
make: boot/ocamlrun : commande introuvable
make: *** [utils/misc.cmi] Erreur 127

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-24 10:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-24 10:24 [Caml-list] problem with ocaml copilation sicard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).