From: Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Caml build problems
Date: Tue, 26 Jul 2005 22:25:16 +0900 (JST) [thread overview]
Message-ID: <20050726.222516.94140945.garrigue@math.nagoya-u.ac.jp> (raw)
In-Reply-To: <1122380699.1706.138.camel@localhost.localdomain>
From: Gerd Stolpmann <info@gerd-stolpmann.de>
> Am Dienstag, den 26.07.2005, 00:31 -0700 schrieb Don Jackson:
> > Hello,
> >
> > I am trying to build Caml on Solaris 9 for i386.
> >
> > Here is my configure command line, which finishes fine:
> >
> > ./configure -prefix /home/dcj -x11include /usr/local/X11R6/include
> > -x11lib /usr/local/X11R6/lib
> >
> > I then "gmake world", which dies when trying to build graph.
> > It seems like it is not picking up the new location of the X11
> > libraries, although they are specified
> >
> > gmake[1]: Leaving directory `/home/dcj/src/ocaml-3.08.3/otherlibs/threads'
> > gmake[1]: Entering directory `/home/dcj/src/ocaml-3.08.3/otherlibs/graph'
> > gmake[1]: *** No rule to make target `/usr/X11R6/include/X11/Xlib.h', needed
> > by `open.o'. Stop.
> > gmake[1]: Leaving directory `/home/dcj/src/ocaml-3.08.3/otherlibs/graph'
> > gmake: *** [otherlibraries] Error 2
> >
> > Any ideas about how to fix this?
>
> Obviously, the X11 path is wrong.
Actually no. This is a bug in the 3.08.3 tarball, due to a bug in
recent versions of gcc (?) which cause the .depend of
the graph subdirectory to wrongly depend on the X11 installation.
The fix is to adapt dependencies to your installation:
$ cd otherlibs/graph
$ make depend
> > Actually, I don't really want to do anything with X11 anyway...I just
> > want to compile "unison" with command line only support.
You can also configure with the -no-x11 option.
This will disable both the graph and labl/camltk libraries.
Not too good if you are a developper, but if this is not your case no
problem.
Jacques Garrigue
next prev parent reply other threads:[~2005-07-26 13:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-26 7:31 Don Jackson
2005-07-26 12:24 ` [Caml-list] " Gerd Stolpmann
2005-07-26 13:21 ` John Carr
2005-07-26 13:25 ` Jacques Garrigue [this message]
2005-07-26 13:25 ` 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=20050726.222516.94140945.garrigue@math.nagoya-u.ac.jp \
--to=garrigue@math.nagoya-u.ac.jp \
--cc=caml-list@yquem.inria.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