Browse thread
Caml build problems
-
Don Jackson
-
Gerd Stolpmann
- John Carr
- Jacques Garrigue
- Damien Doligez
-
Gerd Stolpmann
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jacques Garrigue <garrigue@m...> |
| Subject: | Re: [Caml-list] Caml build problems |
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