From: Pierre Habraken <Pierre.Habraken@imag.fr>
To: Sven Luther <sven.luther@wanadoo.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Caml build on Linux
Date: Wed, 14 Jan 2004 11:07:54 +0100 [thread overview]
Message-ID: <400514FA.604F008@imag.fr> (raw)
In-Reply-To: <20040114091120.GA25936@iliana>
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
next prev parent reply other threads:[~2004-01-14 10:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-14 6:30 Pierre Habraken
2004-01-14 9:11 ` Sven Luther
2004-01-14 10:07 ` Pierre Habraken [this message]
2004-01-14 12:32 ` Damien Doligez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=400514FA.604F008@imag.fr \
--to=pierre.habraken@imag.fr \
--cc=caml-list@inria.fr \
--cc=sven.luther@wanadoo.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox