Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with installation Caml-light 0.75 #4845

Closed
vicuna opened this issue Aug 11, 2009 · 1 comment
Closed

Problem with installation Caml-light 0.75 #4845

vicuna opened this issue Aug 11, 2009 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Aug 11, 2009

Original bug ID: 4845
Reporter: artte
Status: closed (set by @xavierleroy on 2012-02-05T10:21:58Z)
Resolution: unable to duplicate
Priority: normal
Severity: block
Category: -for Caml light use https://github.com/camllight/camllight/issues

Bug description

Hi everyone
First of all thanks for your help with my funny I think, problem. I
really need help with installation ocaml light? I know and I got
INSTALL doc in package, but I need your help with this:

Details bout my sys:
Centos 5 Linux Plesk 9
Cenova Cast for streaming
I try to install liquidsoap - commands in ocaml for streaming, but
first I need Caml Light properly configured and installed and thats
the case...

thank you very much for any help from us, and pardon for my
unprofessional question

below results after make configure command and also make install,
there are a lot of errors what I see, but I dont know what I need to
change in Makefile or somewhere else.

Arthur

Additional information

MAKE CONFIGURE RESULTS:

/bin/ranlib' RANLIB=ranlib BINDIR=/usr/local/bin LIBDIR=/usr/local/lib/
caml-light

MANDIR=/usr/local/man/man1 MANEXT=1 X11_INCLUDES=/usr/X11R6/include
X11_LIB=/usr/X11R6/lib

BIGNUM_ARCH=C TEXINPUTDIR=/usr/lib/texmf/tex/latex/etc EMACSLISPDIR=/
usr/lib/emacs/site-lisp

TCLINCLDIR=/usr/local/lib/tcl8.0/include TKINCLDIR=/usr/local/lib/
tk8.0/include

TKLIBDIR=/usr/local/lib/tk8.0/lib TCLLIBDIR=/usr/local/lib/tcl8.0/lib
'TKLIBS=-ltk8.0 -ltcl8.0 -lX11

-lm' all
make[1]: Entering directory /root/cl75/contrib/mletags' /lib/cpp -P -Dunix lexer.mlp > lexer.mll camllex lexer.mll 119 states, 72 actions. camlyacc -s parser.mly camlyacc: 7 shift/reduce conflicts, 11 reduce/reduce conflicts. camlc -c -g -W -O fast tags.mli camlc -c -g -W -O fast parser.mli camlc -c -g -W -O fast lexer.mli camlc -c -g -W -O fast lexer.ml camlc -c -g -W -O fast parser.ml camlc -c -g -W -O fast main.ml camlc -o mletags -g lexer.zo parser.zo main.zo make[1]: Leaving directory /root/cl75/contrib/mletags'

  • for d in libunix libgraph debugger libnum libstr mletags camlmode
    lorder profiler camltk4 camlsearch
  • cd camlmode
  • make CC=gcc OPTS= 'CPP=/lib/cpp -P' 'RANLIBTEST=test -f /usr/bin/
    ranlib -o -f /bin/ranlib'

RANLIB=ranlib BINDIR=/usr/local/bin LIBDIR=/usr/local/lib/caml-light
MANDIR=/usr/local/man/man1

MANEXT=1 X11_INCLUDES=/usr/X11R6/include X11_LIB=/usr/X11R6/lib
BIGNUM_ARCH=C

TEXINPUTDIR=/usr/lib/texmf/tex/latex/etc EMACSLISPDIR=/usr/lib/emacs/
site-lisp

TCLINCLDIR=/usr/local/lib/tcl8.0/include TKINCLDIR=/usr/local/lib/
tk8.0/include

TKLIBDIR=/usr/local/lib/tk8.0/lib TCLLIBDIR=/usr/local/lib/tcl8.0/lib
'TKLIBS=-ltk8.0 -ltcl8.0 -lX11

-lm' all
make[1]: Entering directory /root/cl75/contrib/camlmode' make[1]: Nothing to be done for all'.
make[1]: Leaving directory `/root/cl75/contrib/camlmode'

  • for d in libunix libgraph debugger libnum libstr mletags camlmode
    lorder profiler camltk4 camlsearch
  • cd lorder
  • make CC=gcc OPTS= 'CPP=/lib/cpp -P' 'RANLIBTEST=test -f /usr/bin/
    ranlib -o -f /bin/ranlib'

RANLIB=ranlib BINDIR=/usr/local/bin LIBDIR=/usr/local/lib/caml-light
MANDIR=/usr/local/man/man1

MANEXT=1 X11_INCLUDES=/usr/X11R6/include X11_LIB=/usr/X11R6/lib
BIGNUM_ARCH=C

TEXINPUTDIR=/usr/lib/texmf/tex/latex/etc EMACSLISPDIR=/usr/lib/emacs/
site-lisp

TCLINCLDIR=/usr/local/lib/tcl8.0/include TKINCLDIR=/usr/local/lib/
tk8.0/include

TKLIBDIR=/usr/local/lib/tk8.0/lib TCLLIBDIR=/usr/local/lib/tcl8.0/lib
'TKLIBS=-ltk8.0 -ltcl8.0 -lX11

-lm' all
make[1]: Entering directory /root/cl75/contrib/lorder' camlc -c -g -W -I ../../src/compiler tsort.ml camlc -c -g -W -I ../../src/compiler main.ml camlc -g -I ../../src/compiler -o camllorder misc.zo config.zo tsort.zo main.zo make[1]: Leaving directory /root/cl75/contrib/lorder'

  • for d in libunix libgraph debugger libnum libstr mletags camlmode
    lorder profiler camltk4 camlsearch
  • cd profiler
  • make CC=gcc OPTS= 'CPP=/lib/cpp -P' 'RANLIBTEST=test -f /usr/bin/
    ranlib -o -f /bin/ranlib'

RANLIB=ranlib BINDIR=/usr/local/bin LIBDIR=/usr/local/lib/caml-light
MANDIR=/usr/local/man/man1

MANEXT=1 X11_INCLUDES=/usr/X11R6/include X11_LIB=/usr/X11R6/lib
BIGNUM_ARCH=C

TEXINPUTDIR=/usr/lib/texmf/tex/latex/etc EMACSLISPDIR=/usr/lib/emacs/
site-lisp

TCLINCLDIR=/usr/local/lib/tcl8.0/include TKINCLDIR=/usr/local/lib/
tk8.0/include

TKLIBDIR=/usr/local/lib/tk8.0/lib TCLLIBDIR=/usr/local/lib/tcl8.0/lib
'TKLIBS=-ltk8.0 -ltcl8.0 -lX11

-lm' all
make[1]: Entering directory `/root/cl75/contrib/profiler'
sed -e 's|LIBDIR|/usr/local/lib/caml-light|' camlpro.mlp > camlpro.ml
camlc -c -W -g -I ../../src/compiler profiler.mli
camlc -c -W -g -I ../../src/compiler camlpro.ml
camlc -g -I ../../src/compiler -o camlpro config.zo misc.zo
interntl.zo globals.zo location.zo

syntax.zo modules.zo builtins.zo types.zo pr_type.zo error.zo
typing.zo par_aux.zo primdecl.zo

ty_decl.zo config.zo parser.zo lexer.zo ty_intf.zo camlpro.zo
camlc -c -O none profiler.mli
camlc -c -O none profiler.ml
/bin/rm -f io.mli
ln -s ../../src/lib/io.mli ./io.mli
camlc -c -O none io.mli
camlc -c -O none io.ml
camllibr -stdlib ../../src/lib -o stdlibp.zo bool.zo eq.zo exc.zo
int.zo fstring.zo string.zo fchar.zo

char.zo float.zo list.zo fvect.zo vect.zo profiler.zo io.zo pair.zo
arg.zo filename.zo hashtbl.zo

lexing.zo parsing.zo printexc.zo sort.zo printf.zo stream.zo stack.zo
queue.zo format.zo random.zo

genlex.zo baltree.zo set.zo map.zo
camlc -c -O none prodump.ml
make[1]: Leaving directory `/root/cl75/contrib/profiler'

  • for d in libunix libgraph debugger libnum libstr mletags camlmode
    lorder profiler camltk4 camlsearch
  • cd camltk4
  • make CC=gcc OPTS= 'CPP=/lib/cpp -P' 'RANLIBTEST=test -f /usr/bin/
    ranlib -o -f /bin/ranlib'

RANLIB=ranlib BINDIR=/usr/local/bin LIBDIR=/usr/local/lib/caml-light
MANDIR=/usr/local/man/man1

MANEXT=1 X11_INCLUDES=/usr/X11R6/include X11_LIB=/usr/X11R6/lib
BIGNUM_ARCH=C

TEXINPUTDIR=/usr/lib/texmf/tex/latex/etc EMACSLISPDIR=/usr/lib/emacs/
site-lisp

TCLINCLDIR=/usr/local/lib/tcl8.0/include TKINCLDIR=/usr/local/lib/
tk8.0/include

TKLIBDIR=/usr/local/lib/tk8.0/lib TCLLIBDIR=/usr/local/lib/tcl8.0/lib
'TKLIBS=-ltk8.0 -ltcl8.0 -lX11

-lm' all
make[1]: Entering directory `/root/cl75/contrib/camltk4'
cd libsupport; make CC='gcc' OPTS='' CPP='/lib/cpp -P'
RANLIBTEST='test -f /usr/bin/ranlib -o -f

/bin/ranlib' RANLIB='ranlib' BINDIR='/usr/local/bin' LIBDIR='/usr/
local/lib/caml-light'

MANDIR='/usr/local/man/man1' MANEXT='1' X11_INCLUDES='/usr/X11R6/
include' X11_LIB='/usr/X11R6/lib'

TCLINCLDIR='/usr/local/lib/tcl8.0/include' TKINCLDIR='/usr/local/lib/
tk8.0/include'

TKLIBDIR='/usr/local/lib/tk8.0/lib' TCLLIBDIR='/usr/local/lib/tcl8.0/
lib' TKLIBS='-ltk8.0 -ltcl8.0

-lX11 -lm'
make[2]: Entering directory /root/cl75/contrib/camltk4/libsupport' camlc -c -W -O fast -g -I ../../libunix catchexc.ml camlc -c -W -O fast -g -I ../../libunix hashtblc.mli camlc -c -W -O fast -g -I ../../libunix hashtblc.ml camlc -c -W -O fast -g -I ../../libunix support.mli camlc -c -W -O fast -g -I ../../libunix support.ml camlc -c -W -O fast -g -I ../../libunix protocol.mli Cannot find the compiled interface file unix.zi. make[2]: *** [protocol.zi] Error 2 make[2]: Leaving directory /root/cl75/contrib/camltk4/libsupport'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/cl75/contrib/camltk4'

  • for d in libunix libgraph debugger libnum libstr mletags camlmode
    lorder profiler camltk4 camlsearch
  • cd camlsearch
  • make CC=gcc OPTS= 'CPP=/lib/cpp -P' 'RANLIBTEST=test -f /usr/bin/
    ranlib -o -f /bin/ranlib'

RANLIB=ranlib BINDIR=/usr/local/bin LIBDIR=/usr/local/lib/caml-light
MANDIR=/usr/local/man/man1

MANEXT=1 X11_INCLUDES=/usr/X11R6/include X11_LIB=/usr/X11R6/lib
BIGNUM_ARCH=C

TEXINPUTDIR=/usr/lib/texmf/tex/latex/etc EMACSLISPDIR=/usr/lib/emacs/
site-lisp

TCLINCLDIR=/usr/local/lib/tcl8.0/include TKINCLDIR=/usr/local/lib/
tk8.0/include

TKLIBDIR=/usr/local/lib/tk8.0/lib TCLLIBDIR=/usr/local/lib/tcl8.0/lib
'TKLIBS=-ltk8.0 -ltcl8.0 -lX11

-lm' all
make[1]: Entering directory /root/cl75/contrib/camlsearch' (cd source; \ make "COMPLIBDIR=../../../src/compiler" "UNIXLIBDIR=../../ libunix") make[2]: Entering directory /root/cl75/contrib/camlsearch/source'
camlc -c -I ../../libunix -I ../../../src/compiler -g -W general.mli
camlc -c -I ../../libunix -I ../../../src/compiler -g -W general.ml
camlc -c -I ../../libunix -I ../../../src/compiler -g -W
comparisons.mli
camlc -c -I ../../libunix -I ../../../src/compiler -g -W
comparisons.ml
camlc -c -I ../../libunix -I ../../../src/compiler -g -W
directory_and_file.mli
camlc -c -I ../../libunix -I ../../../src/compiler -g -W
directory_and_file.ml
Cannot find the compiled interface file unix.zi.
make[2]: *** [directory_and_file.zo] Error 2
make[2]: Leaving directory /root/cl75/contrib/camlsearch/source' make[1]: *** [all] Error 2 make[1]: Leaving directory /root/cl75/contrib/camlsearch'
make: *** [all] Error 2
[root@ns303625 contrib]#
[root@ns303625 contrib]# cd ..
[root@ns303625 cl75]# vdir
total 64
-rw-r--r-- 1 24253 popuser 15267 Dec 2 1998 CHANGES
drwxrwxr-x 3 24253 popuser 4096 Aug 9 21:17 config
drwxrwxr-x 17 24253 popuser 4096 Jan 26 2002 contrib
-rw-r--r-- 1 24253 popuser 3116 Dec 2 1998 COPYRIGHT
drwxrwxr-x 19 24253 popuser 4096 Jan 26 2002 examples
-rw-rw-r-- 1 24253 popuser 8279 Dec 19 1996 INSTALL
-rw-rw-r-- 1 24253 popuser 514 Dec 21 1997 KNOWN-BUGS
-rw-rw-r-- 1 24253 popuser 2778 Jul 3 1995 PORTING
-rw-r--r-- 1 24253 popuser 5602 Dec 2 1998 README
drwxrwxr-x 13 24253 popuser 4096 Aug 9 21:18 src
[root@ns303625 cl75]# cd src
[root@ns303625 src]# make uninstall
rm -rf /usr/local/lib/caml-light
rm -f /usr/local/bin/camlrun /usr/local/bin/camlc /usr/local/bin/
camllight
rm -f /usr/local/bin/camlyacc /usr/local/bin/camllex /usr/local/bin/
camlmktop
[root@ns303625 src]# make configure
cd ../config; sh autoconf "gcc -fno-defer-pop -D__FAVOR_BSD "
Checking the sizes of integers and pointers...
sizes.c: In function 'main':
sizes.c:5: warning: incompatible implicit declaration of built-in
function 'printf'
OK, this is a regular 32 bit architecture.
schar.c: In function 'main':
schar.c:6: warning: incompatible implicit declaration of built-in
function 'exit'
The char type is signed. Good!
endian.c: In function 'main':
endian.c:20: warning: incompatible implicit declaration of built-in
function 'exit'
This is a little-endian architecture.
align.c: In function 'main':
align.c:87: warning: incompatible implicit declaration of built-in
function 'exit'
This architecture has no alignment constraints.
dblalign.c: In function 'main':
dblalign.c:36: warning: incompatible implicit declaration of built-in
function 'exit'
Doubles can be word-aligned.
bytecopy.c: In function 'main':
bytecopy.c:11: warning: incompatible implicit declaration of built-in
function 'memmove'
bytecopy.c:12: warning: incompatible implicit declaration of built-in
function 'exit'
Function "memmove" is provided and handles overlapping moves
correctly.
bytecopy.c: In function 'main':
bytecopy.c:11: warning: incompatible implicit declaration of built-in
function 'bcopy'
bytecopy.c:12: warning: incompatible implicit declaration of built-in
function 'exit'
Function "bcopy" is provided and handles overlapping moves correctly.
bytecopy.c: In function 'main':
bytecopy.c:11: warning: incompatible implicit declaration of built-in
function 'memcpy'
bytecopy.c:12: warning: incompatible implicit declaration of built-in
function 'exit'
The return type for signal handlers appears to be "void".
Signals have the BSD semantics.
rename() found.
You have BSD sockets.
unistd.h found.
dirent.h found.
lockf() found.
mkfifo() found.
getcwd() found.
getwd() found.
getpriority() found.
utime() found.
utimes() found.
dup2() found.
fchmod() found.
truncate() found.
select() found.
symlink() found.
wait3() found.
waitpid() found.
getgroups() found.
POSIX termios found.
async_io.c: In function 'main':
async_io.c:35: warning: incompatible implicit declaration of built-in
function 'exit'
Asynchronous I/O are supported.
setitimer() found.
gethostname() found.
uname() found.
gettimeofday() found.
[root@ns303625 src]#

---------------------------------------------------------------------------­-----------------
MAKE INSTALL RESULTS:

........
fi
camlc -c -W int_misc.mli
camlc -c -W int_misc.ml
camlc -c -W fnat.mli
camlc -c -W fnat.ml
camlc -c -W nat.mli
camlc -c -W nat.ml
camlc -c -W big_int.mli
camlc -c -W big_int.ml
camlc -c -W arith_flags.mli
camlc -c -W arith_flags.ml
camlc -c -W ratio.mli
camlc -c -W ratio.ml
camlc -c -W num.mli
camlc -c -W num.ml
camlc -c -W arith_status.mli
camlc -c -W arith_status.ml
camlc -c -W ltx_num.mli
camlc -c -W ltx_num.ml
camlc -c -W fmt_num.mli
camlc -c -W fmt_num.ml
camllibr -o nums.zo int_misc.zo fnat.zo nat.zo big_int.zo
arith_flags.zo ratio.zo num.zo arith_status.zo
camlc -c -W numprint.ml
camlmktop -o camlnum -custom int_misc.zo fnat.zo nat.zo big_int.zo
arith_flags.zo ratio.zo num.zo arith_status.zo numprint.zo libnums.a
/usr/local/lib/caml-light/libcaml.a(sys.o): In function
error_message': sys.c:(.text+0x2bc): warning: sys_errlist' is deprecated; use
strerror' or strerror_r' instead
sys.c:(.text+0x2b3): warning: sys_nerr' is deprecated; use strerror'
or strerror_r' instead make[1]: Leaving directory /root/cl75/contrib/libnum'

  • for d in libunix libgraph debugger libnum libstr mletags camlmode
    lorder profiler camltk4 camlsearch
  • cd libstr
  • make CC=gcc OPTS= 'CPP=/lib/cpp -P' 'RANLIBTEST=test -f /usr/bin/
    ranlib -o -f /bin/ranlib' RANLIB=ranlib BINDIR=/usr/local/bin LIBDIR=/
    usr/local/lib/caml-light MANDIR=/usr/local/man/man1 MANEXT=1
    X11_INCLUDES=/usr/X11R6/include X11_LIB=/usr/X11R6/lib BIGNUM_ARCH=C
    TEXINPUTDIR=/usr/lib/texmf/tex/latex/etc EMACSLISPDIR=/usr/lib/emacs/
    site-lisp TCLINCLDIR=/usr/local/lib/tcl8.0/include TKINCLDIR=/usr/
    local/lib/tk8.0/include TKLIBDIR=/usr/local/lib/tk8.0/lib TCLLIBDIR=/
    usr/local/lib/tcl8.0/lib 'TKLIBS=-ltk8.0 -ltcl8.0 -lX11 -lm' all
    make[1]: Entering directory /root/cl75/contrib/libstr' gcc -O -Iregex-0.12 -I../../src/runtime -c -o strstubs.o strstubs.c strstubs.c: In function 'str_compile_regexp': strstubs.c:58: warning: assignment discards qualifiers from pointer target type strstubs.c: In function 'str_replacement_text': strstubs.c:187: warning: incompatible implicit declaration of built-in function 'memmove' cd regex-0.12; CC="gcc" sh configure; make checking for install checking for AIX checking how to run the C preprocessor checking for DYNIX/ptx libseq checking for POSIXized ISC checking for minix/config.h checking for ANSI C header files checking for string.h checking for working alloca.h checking for alloca checking for working const checking for gcc to derive installation directory prefix creating config.status creating Makefile make[2]: Entering directory /root/cl75/contrib/libstr/regex-0.12'
    gcc -O -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_ALLOCA_H=1 -I. -I. -
    c regex.c
    regex.c: In function 're_match_2':
    regex.c:3834: warning: passing argument 1 of 'bcmp_translate' discards
    qualifiers from pointer target type
    regex.c:3834: warning: passing argument 2 of 'bcmp_translate' discards
    qualifiers from pointer target type
    make[2]: Leaving directory /root/cl75/contrib/libstr/regex-0.12' rm -f libstr.a ar rc libstr.a strstubs.o regex-0.12/regex.o if test -f /bin/ranlib -o -f /usr/bin/ranlib; then ranlib libstr.a; fi camlc -c -W str.mli camlc -c -W istr.mli camlc -c -W str.ml camlmktop -o camlstr -custom str.zo libstr.a /usr/local/lib/caml-light/libcaml.a(sys.o): In function error_message':
    sys.c:(.text+0x2bc): warning: sys_errlist' is deprecated; use strerror' or strerror_r' instead sys.c:(.text+0x2b3): warning: sys_nerr' is deprecated; use strerror' or strerror_r' instead
    make[1]: Leaving directory `/root/cl75/contrib/libstr'
  • for d in libunix libgraph debugger libnum libstr mletags camlmode
    lorder profiler camltk4 camlsearch
  • cd mletags
  • make CC=gcc OPTS= 'CPP=/lib/cpp -P' 'RANLIBTEST=test -f /usr/bin/
    ranlib -o -f /bin/ranlib' RANLIB=ranlib BINDIR=/usr/local/bin LIBDIR=/
    usr/local/lib/caml-light MANDIR=/usr/local/man/man1 MANEXT=1
    X11_INCLUDES=/usr/X11R6/include X11_LIB=/usr/X11R6/lib BIGNUM_ARCH=C
    TEXINPUTDIR=/usr/lib/texmf/tex/latex/etc EMACSLISPDIR=/usr/lib/emacs/
    site-lisp TCLINCLDIR=/usr/local/lib/tcl8.0/include TKINCLDIR=/usr/
    local/lib/tk8.0/include TKLIBDIR=/usr/local/lib/tk8.0/lib TCLLIBDIR=/
    usr/local/lib/tcl8.0/lib 'TKLIBS=-ltk8.0 -ltcl8.0 -lX11 -lm' all
    make[1]: Entering directory /root/cl75/contrib/mletags' /lib/cpp -P -Dunix lexer.mlp > lexer.mll camllex lexer.mll 119 states, 72 actions. camlyacc -s parser.mly camlyacc: 7 shift/reduce conflicts, 11 reduce/reduce conflicts. camlc -c -g -W -O fast tags.mli camlc -c -g -W -O fast parser.mli camlc -c -g -W -O fast lexer.mli camlc -c -g -W -O fast lexer.ml camlc -c -g -W -O fast parser.ml camlc -c -g -W -O fast main.ml camlc -o mletags -g lexer.zo parser.zo main.zo make[1]: Leaving directory /root/cl75/contrib/mletags'
  • for d in libunix libgraph debugger libnum libstr mletags camlmode
    lorder profiler camltk4 camlsearch
  • cd camlmode
  • make CC=gcc OPTS= 'CPP=/lib/cpp -P' 'RANLIBTEST=test -f /usr/bin/
    ranlib -o -f /bin/ranlib' RANLIB=ranlib BINDIR=/usr/local/bin LIBDIR=/
    usr/local/lib/caml-light MANDIR=/usr/local/man/man1 MANEXT=1
    X11_INCLUDES=/usr/X11R6/include X11_LIB=/usr/X11R6/lib BIGNUM_ARCH=C
    TEXINPUTDIR=/usr/lib/texmf/tex/latex/etc EMACSLISPDIR=/usr/lib/emacs/
    site-lisp TCLINCLDIR=/usr/local/lib/tcl8.0/include TKINCLDIR=/usr/
    local/lib/tk8.0/include TKLIBDIR=/usr/local/lib/tk8.0/lib TCLLIBDIR=/
    usr/local/lib/tcl8.0/lib 'TKLIBS=-ltk8.0 -ltcl8.0 -lX11 -lm' all
    make[1]: Entering directory /root/cl75/contrib/camlmode' make[1]: Nothing to be done for all'.
    make[1]: Leaving directory `/root/cl75/contrib/camlmode'
  • for d in libunix libgraph debugger libnum libstr mletags camlmode
    lorder profiler camltk4 camlsearch
  • cd lorder
  • make CC=gcc OPTS= 'CPP=/lib/cpp -P' 'RANLIBTEST=test -f /usr/bin/
    ranlib -o -f /bin/ranlib' RANLIB=ranlib BINDIR=/usr/local/bin LIBDIR=/
    usr/local/lib/caml-light MANDIR=/usr/local/man/man1 MANEXT=1
    X11_INCLUDES=/usr/X11R6/include X11_LIB=/usr/X11R6/lib BIGNUM_ARCH=C
    TEXINPUTDIR=/usr/lib/texmf/tex/latex/etc EMACSLISPDIR=/usr/lib/emacs/
    site-lisp TCLINCLDIR=/usr/local/lib/tcl8.0/include TKINCLDIR=/usr/
    local/lib/tk8.0/include TKLIBDIR=/usr/local/lib/tk8.0/lib TCLLIBDIR=/
    usr/local/lib/tcl8.0/lib 'TKLIBS=-ltk8.0 -ltcl8.0 -lX11 -lm' all
    make[1]: Entering directory /root/cl75/contrib/lorder' camlc -c -g -W -I ../../src/compiler tsort.ml camlc -c -g -W -I ../../src/compiler main.ml camlc -g -I ../../src/compiler -o camllorder misc.zo config.zo tsort.zo main.zo make[1]: Leaving directory /root/cl75/contrib/lorder'
  • for d in libunix libgraph debugger libnum libstr mletags camlmode
    lorder profiler camltk4 camlsearch
  • cd profiler
  • make CC=gcc OPTS= 'CPP=/lib/cpp -P' 'RANLIBTEST=test -f /usr/bin/
    ranlib -o -f /bin/ranlib' RANLIB=ranlib BINDIR=/usr/local/bin LIBDIR=/
    usr/local/lib/caml-light MANDIR=/usr/local/man/man1 MANEXT=1
    X11_INCLUDES=/usr/X11R6/include X11_LIB=/usr/X11R6/lib BIGNUM_ARCH=C
    TEXINPUTDIR=/usr/lib/texmf/tex/latex/etc EMACSLISPDIR=/usr/lib/emacs/
    site-lisp TCLINCLDIR=/usr/local/lib/tcl8.0/include TKINCLDIR=/usr/
    local/lib/tk8.0/include TKLIBDIR=/usr/local/lib/tk8.0/lib TCLLIBDIR=/
    usr/local/lib/tcl8.0/lib 'TKLIBS=-ltk8.0 -ltcl8.0 -lX11 -lm' all
    make[1]: Entering directory /root/cl75/contrib/profiler' sed -e 's|LIBDIR|/usr/local/lib/caml-light|' camlpro.mlp > camlpro.ml camlc -c -W -g -I ../../src/compiler profiler.mli camlc -c -W -g -I ../../src/compiler camlpro.ml camlc -g -I ../../src/compiler -o camlpro config.zo misc.zo interntl.zo globals.zo location.zo syntax.zo modules.zo builtins.zo types.zo pr_type.zo error.zo typing.zo par_aux.zo primdecl.zo ty_decl.zo config.zo parser.zo lexer.zo ty_intf.zo camlpro.zo camlc -c -O none profiler.mli camlc -c -O none profiler.ml /bin/rm -f io.mli ln -s ../../src/lib/io.mli ./io.mli camlc -c -O none io.mli camlc -c -O none io.ml camllibr -stdlib ../../src/lib -o stdlibp.zo bool.zo eq.zo exc.zo int.zo fstring.zo string.zo fchar.zo char.zo float.zo list.zo fvect.zo vect.zo profiler.zo io.zo pair.zo arg.zo filename.zo hashtbl.zo lexing.zo parsing.zo printexc.zo sort.zo printf.zo stream.zo stack.zo queue.zo format.zo random.zo genlex.zo baltree.zo set.zo map.zo camlc -c -O none prodump.ml make[1]: Leaving directory /root/cl75/contrib/profiler'
  • for d in libunix libgraph debugger libnum libstr mletags camlmode
    lorder profiler camltk4 camlsearch
  • cd camltk4
  • make CC=gcc OPTS= 'CPP=/lib/cpp -P' 'RANLIBTEST=test -f /usr/bin/
    ranlib -o -f /bin/ranlib' RANLIB=ranlib BINDIR=/usr/local/bin LIBDIR=/
    usr/local/lib/caml-light MANDIR=/usr/local/man/man1 MANEXT=1
    X11_INCLUDES=/usr/X11R6/include X11_LIB=/usr/X11R6/lib BIGNUM_ARCH=C
    TEXINPUTDIR=/usr/lib/texmf/tex/latex/etc EMACSLISPDIR=/usr/lib/emacs/
    site-lisp TCLINCLDIR=/usr/local/lib/tcl8.0/include TKINCLDIR=/usr/
    local/lib/tk8.0/include TKLIBDIR=/usr/local/lib/tk8.0/lib TCLLIBDIR=/
    usr/local/lib/tcl8.0/lib 'TKLIBS=-ltk8.0 -ltcl8.0 -lX11 -lm' all
    make[1]: Entering directory /root/cl75/contrib/camltk4' cd libsupport; make CC='gcc' OPTS='' CPP='/lib/cpp -P' RANLIBTEST='test -f /usr/bin/ranlib -o -f /bin/ranlib' RANLIB='ranlib' BINDIR='/usr/local/bin' LIBDIR='/usr/local/lib/caml-light' MANDIR='/ usr/local/man/man1' MANEXT='1' X11_INCLUDES='/usr/X11R6/include' X11_LIB='/usr/X11R6/lib' TCLINCLDIR='/usr/local/lib/tcl8.0/include' TKINCLDIR='/usr/local/lib/tk8.0/include' TKLIBDIR='/usr/local/lib/ tk8.0/lib' TCLLIBDIR='/usr/local/lib/tcl8.0/lib' TKLIBS='-ltk8.0 - ltcl8.0 -lX11 -lm' make[2]: Entering directory /root/cl75/contrib/camltk4/libsupport'
    camlc -c -W -O fast -g -I ../../libunix catchexc.ml
    camlc -c -W -O fast -g -I ../../libunix hashtblc.mli
    camlc -c -W -O fast -g -I ../../libunix hashtblc.ml
    camlc -c -W -O fast -g -I ../../libunix support.mli
    camlc -c -W -O fast -g -I ../../libunix support.ml
    camlc -c -W -O fast -g -I ../../libunix protocol.mli
    Cannot find the compiled interface file unix.zi.
    make[2]: *** [protocol.zi] Error 2
    make[2]: Leaving directory /root/cl75/contrib/camltk4/libsupport' make[1]: *** [all] Error 2 make[1]: Leaving directory /root/cl75/contrib/camltk4'
  • for d in libunix libgraph debugger libnum libstr mletags camlmode
    lorder profiler camltk4 camlsearch
  • cd camlsearch
  • make CC=gcc OPTS= 'CPP=/lib/cpp -P' 'RANLIBTEST=test -f /usr/bin/
    ranlib -o -f /bin/ranlib' RANLIB=ranlib BINDIR=/usr/local/bin LIBDIR=/
    usr/local/lib/caml-light MANDIR=/usr/local/man/man1 MANEXT=1
    X11_INCLUDES=/usr/X11R6/include X11_LIB=/usr/X11R6/lib BIGNUM_ARCH=C
    TEXINPUTDIR=/usr/lib/texmf/tex/latex/etc EMACSLISPDIR=/usr/lib/emacs/
    site-lisp TCLINCLDIR=/usr/local/lib/tcl8.0/include TKINCLDIR=/usr/
    local/lib/tk8.0/include TKLIBDIR=/usr/local/lib/tk8.0/lib TCLLIBDIR=/
    usr/local/lib/tcl8.0/lib 'TKLIBS=-ltk8.0 -ltcl8.0 -lX11 -lm' all
    make[1]: Entering directory /root/cl75/contrib/camlsearch' (cd source; \ make "COMPLIBDIR=../../../src/compiler" "UNIXLIBDIR=../../ libunix") make[2]: Entering directory /root/cl75/contrib/camlsearch/source'
    camlc -c -I ../../libunix -I ../../../src/compiler -g -W general.mli
    camlc -c -I ../../libunix -I ../../../src/compiler -g -W general.ml
    camlc -c -I ../../libunix -I ../../../src/compiler -g -W
    comparisons.mli
    camlc -c -I ../../libunix -I ../../../src/compiler -g -W
    comparisons.ml
    camlc -c -I ../../libunix -I ../../../src/compiler -g -W
    directory_and_file.mli
    camlc -c -I ../../libunix -I ../../../src/compiler -g -W
    directory_and_file.ml
    Cannot find the compiled interface file unix.zi.
    make[2]: *** [directory_and_file.zo] Error 2
    make[2]: Leaving directory /root/cl75/contrib/camlsearch/source' make[1]: *** [all] Error 2 make[1]: Leaving directory /root/cl75/contrib/camlsearch'
    make: *** [all] Error 2
    [root@ns303625 contrib]#
@vicuna
Copy link
Author

vicuna commented Apr 18, 2010

Comment author: @xavierleroy

The compilation log appears garbled and I can't exploit it. Moreover, Liquidsoap uses Objective Caml, not Caml Light (the former is actively supported, but not the latter). Is it OK to close this problem report?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant