caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] configuration errors under linux
@ 2003-01-10 14:41 Roland Höpfner
  2003-01-13 11:44 ` Jacques Garrigue
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Höpfner @ 2003-01-10 14:41 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 2039 bytes --]

Hello ML,

I try to compile ocaml-3.06 and I get an error when I type ./configure!

My linux box won’t find the library labltk! But where can I find that
library?

Here is I part of my ./configure output:

Threads library supported (using bytecode-level scheduling).
X11 not found, the "graph" library will not be supported.
NDBM not found, the "dbm" library will not be supported.
Configuring LablTk...
X11 not found.
Configuration failed, LablTk will not be built.

** Configuration summary **

Directories where Objective Caml will be installed:
        binaries.................. /usr/local/bin
        standard library.......... /usr/local/lib/ocaml
        manual pages.............. /usr/local/man (with extension .1)
Configuration for the bytecode compiler:
        C compiler used........... gcc
        options for
compiling..... -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64
        options for linking.......  -Wl,-E  -lm -ldl
        shared libraries are supported
        options for
compiling..... -fPIC -fno-defer-pop -Wall -Wno-unused
-D_FILE_OFFSET_BITS=64
        command for building...... gcc -shared -o lib.so
-Wl,-rpath,/a/path
objs
Configuration for the native-code compiler:
        hardware architecture..... i386
        OS variant................ linux_elf
        C compiler used........... gcc
        options for compiling..... -Wall -Wno-unused
-D_FILE_OFFSET_BITS=64
        options for linking.......   -lm
        assembler ................ $(AS)
        preprocessed assembler ... gcc -c -DSYS_$(SYSTEM)
        profiling with gprof ..... supported
        ocamlopt -pack ........... supported
Source-level replay debugger: supported
Additional libraries supported:
        unix str num dynlink bigarray threads
Configuration for the "num" library:
        target architecture ...... x86
Configuration for the "graph" library:
        options for compiling ....
        options for linking ...... not found
The "labltk" library: not found

[-- Attachment #2: Type: text/html, Size: 8395 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] configuration errors under linux
  2003-01-10 14:41 [Caml-list] configuration errors under linux Roland Höpfner
@ 2003-01-13 11:44 ` Jacques Garrigue
  0 siblings, 0 replies; 2+ messages in thread
From: Jacques Garrigue @ 2003-01-13 11:44 UTC (permalink / raw)
  To: rolandhoepfner; +Cc: caml-list

From: Roland Hopfner <rolandhoepfner@arcor.de>
> 
> I try to compile ocaml-3.06 and I get an error when I type ./configure!
> 
> My linux box won't find the library labltk! But where can I find that
> library?

The message may be confusing: labltk is included in the distribution,
but since some requirements could not be fulfilled it cannot be
compiled.
Note that you can perfectly use ocaml without tk support, only
camltk/labltk will be unavailable, and ocamlbrowser too.

> Here is I part of my ./configure output:
> 
> Threads library supported (using bytecode-level scheduling).
> X11 not found, the "graph" library will not be supported.
> NDBM not found, the "dbm" library will not be supported.
> Configuring LablTk...
> X11 not found.
> Configuration failed, LablTk will not be built.

Here is the real answer: X11 was not found.
I have no idea where is your X11, but it is probably not in a standard
place.  See INSTALL for options to explicitly tell configure where to
look for X11 headers/libraries.

> Configuration for the "graph" library:
>         options for compiling ....
>         options for linking ...... not found
> The "labltk" library: not found

Not found is innapropriate. This should be "will not be compiled".

Jacques Garrigue
-------------------
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-13 11:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-10 14:41 [Caml-list] configuration errors under linux Roland Höpfner
2003-01-13 11:44 ` Jacques Garrigue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).