caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Laurent Chéno" <laurent.cheno@noos.fr>
To: Caml-list <caml-list@margaux.inria.fr>
Subject: [Caml-list] ocamltk417 installation on MacOS X
Date: Sat, 12 May 2001 15:52:54 +0200	[thread overview]
Message-ID: <200105121352.f4CDqtb23116@nez-perce.inria.fr> (raw)

(désolé pour les anglophones, je parle trop mal anglais)

Je souhaite installer ocamltk417 sur MacOS X, après avoir installé 
XTools de Tenon,
qui a installé Tcl et Tk.

J'ai réécrit ainsi le fichier site.config

------- site.config ----------------------------------------------------
## Location of Objective Caml Libraries
OCAMLLIBDIR=/usr/local/lib/ocaml
#OCAMLLIBDIR=/usr/local/lib/objective-caml

## Compilation and link flags for Tcl/Tk applications
## Preprocessor flags to find tcl.h and tk.h
#CPPFLAGS=-I/usr/lib/tcltk8.3/include
#CPPFLAGS=-I/usr/include
#CPPFLAGS=-I/usr/local/lib/tcltk8/include
CPPFLAGS=-I/usr/X11R6/include

## ld flags to add path to libtcl*.* and libtk*.*
#LDFLAGS=-L/opt/tcltk/include
#LDFLAGS=-L/usr/local/lib/tcltk8/include
LDFLAGS=-L/usr/X11R6/lib

## If you're building the japanised version of MMM, you must use the
## japanised versions of Tcl and Tk. The libraries are usually installed
## as libtclXXjp.a and libtkXXjp.a. Uncomment the following line if you
## want "configure" to find the correct libraries
# LIBEXT=jp

## Installation directory
## The default is $(OCAMLLIBDIR)/camltk
## This MUST be an absolute path
INSTALLDIR=$OCAMLLIBDIR/camltk
# INSTALLDIR=$HOME/ocamltk417/`arch`
----------------------------------------------------------------------------

hélas, voici ce que me donne un ./configure :

[localhost:~/tmp/camltk417] cheno% ./configure --with-config=site.config
loading cache ./config.cache
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc  ) works... yes
checking whether the C compiler (cc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E -traditional-cpp
checking for unistd.h... yes
checking for limits.h... yes
./configure: .: no such file or directory: site.config [880]
configure: error: OCAMLLIBDIR is still undefined. Edit site.config
[localhost:~/tmp/camltk417] cheno%


Merci à tous les experts patients et indulgents de leur aide.

Cordialement,

Laurent
--
Laurent Chéno
Prof. de mathématiques en PSI*
et de l'option informatique en MP/MP*
Lycée Louis-le-Grand, Paris

http://pauillac.inria.fr/~cheno/
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr


                 reply	other threads:[~2001-05-12 13:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200105121352.f4CDqtb23116@nez-perce.inria.fr \
    --to=laurent.cheno@noos.fr \
    --cc=caml-list@margaux.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;
as well as URLs for NNTP newsgroup(s).