From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA09710; Wed, 14 Jan 2004 11:06:10 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA09400 for ; Wed, 14 Jan 2004 11:06:09 +0100 (MET) Received: from imag.imag.fr (imag.imag.fr [129.88.30.1]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id i0EA68506985 for ; Wed, 14 Jan 2004 11:06:08 +0100 (MET) Received: from horus.imag.fr (horus.imag.fr [129.88.38.1]) by imag.imag.fr (8.12.10/8.12.10) with ESMTP id i0EA66b1015274; Wed, 14 Jan 2004 11:06:06 +0100 (CET) Received: from imag.fr (conque.imag.fr [129.88.38.148]) by horus.imag.fr (8.12.5+Sun/8.12.5/ImagV2.1.pm) with ESMTP id i0EA66QD021786; Wed, 14 Jan 2004 11:06:06 +0100 (CET) Message-ID: <400514FA.604F008@imag.fr> Date: Wed, 14 Jan 2004 11:07:54 +0100 From: Pierre Habraken Organization: =?iso-8859-1?Q?Universit=E9?= Joseph Fourier X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.9-21 i686) X-Accept-Language: en MIME-Version: 1.0 To: Sven Luther CC: caml-list@inria.fr Subject: Re: [Caml-list] Caml build on Linux References: <4004E221.F67C3AAB@imag.fr> <20040114091120.GA25936@iliana> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-Information: Please contact the ISP for more information X-Loop: caml-list@inria.fr X-Spam: no; 0.00; pierre:01 pierre:01 caml-list:01 sven:01 luther:01 contrib:01 contrib:01 bindir:01 libdir:01 subdirs:01 libunix:01 libunix:01 gcc:01 opts:01 usr:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Sven Luther wrote: > > > Building the contrib dir. of cl75 fails on redhat 7.1 and redhat 9 > > with error : "Cannot find the compiled interface file unix.zi". > [...] > look at the version (in tarball only) marked with debian, it contained > some changes needed to build, but i don't remamber them. Got same error with debian package. > > Also make sure you install the main caml-light stuff before building > contribs. I think this is your problem. Yes, I am sure I did install the main stuff before building contribs. In fact, I changed the installation directories in src/Makefile and contrib/Makefile. I understand that the changes I applied to BINDIR, LIBDIR and MANDIR should be automatically propagated by make to all Makefiles in subdirs but I am not sure that the propagation is actually done... Also the I just discovered that the build of libunix fails: + cd libunix + make CC=gcc OPTS= 'CPP=/lib/cpp -P' 'RANLIBTEST=test -f /usr/bin/ranlib -o -f /bin/ranlib' RANLIB=ranlib BINDIR=/opt/caml-light/bin LIBDIR=/opt/caml-light/lib MANDIR=/opt/caml-light/man/man1 MANEXT=1 X11_INCLUDES=/usr/X11R6/include X11_LI B=/usr/X11R6/lib BIGNUM_ARCH=C TEXINPUTDIR=/usr/lib/texmf/tex/latex/etc EMACSLIS PDIR=/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/l ocal/lib/tcl8.0/lib 'TKLIBS=-ltk8.0 -ltcl8.0 -lX11 -lm' all make[1]: Entering directory `/usr/local/src2/cl75/contrib/libunix' gcc -I../../src/runtime -O -c -o accept.o accept.c In file included from /usr/include/sys/un.h:38, from socketaddr.h:4, from accept.c:8: /usr/include/string.h:242: parse error before `(' /usr/include/string.h:242: conflicting types for `memmove' /usr/include/string.h:42: previous declaration of `memmove' /usr/include/string.h:242: parse error before `__const' make[1]: *** [accept.o] Error 1 make[1]: Leaving directory `/usr/local/src2/cl75/contrib/libunix' It might be that the version of some libc headers is not compatible with the one required by the sources (?)... Pierre -- Pierre HABRAKEN - mailto:Pierre.Habraken@imag.fr Tél: 04 76 82 72 83 - Fax: 04 76 82 72 87 IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners