caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] [help] camlimages sur MacOS X
@ 2002-05-04 12:44 Laurent Chéno
  0 siblings, 0 replies; 2+ messages in thread
From: Laurent Chéno @ 2002-05-04 12:44 UTC (permalink / raw)
  To: caml-list

Je n'arrive pas à installer correctement camlimages sur MacOS X.

Comment obtenir une installation correcte des différentes 
librairies graphiques ?
1. par exemple : j'ai fait fink install giflib qui s'est bien 
passé, mais ./configure ne trouve pas la librairie gif :
checking for DGifOpenFileName in -lgif... no
checking for DGifOpenFileName in -lungif... no

Il existe pourtant : /sw/lib/libgif.4.1.0.dylib, 
/sw/lib/libgif.4.dylib, /sw/lib/libgif.a, /sw/lib/libgif.dylib, 
/sw/lib/libgif.la, /sw/lib/libimlib-gif..la, /sw/lib/libimlib-gif.so

2. j'obtiens à la fin du ./configure :
Language: ocaml version 3.04
Installed in: /usr/local/lib/ocaml/camlimages
External libraries: bmp ppm jpeg freetype(2) ps
Lablgtk: found at /usr/local/lib/ocaml/lablgtk


Merci de votre aide.
Cordialement,

LC
--
Laurent Chéno <mailto:laurent.cheno@noos.fr>
Prof. de mathématiques en PSI* et de l'option informatique en 
MP/MP* au lycée Louis-le-Grand, Paris
http://pauillac.inria.fr/~cheno/

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

* Re:  [Caml-list] [help] camlimages sur MacOS X
@ 2002-05-06 12:08 Damien Doligez
  0 siblings, 0 replies; 2+ messages in thread
From: Damien Doligez @ 2002-05-06 12:08 UTC (permalink / raw)
  To: caml-list, laurent.cheno

>From: =?ISO-8859-1?Q?Laurent_Ch=E9no?= <laurent.cheno@noos.fr>
>
>Comment obtenir une installation correcte des diff=E9rentes=20
>librairies graphiques ?
>1. par exemple : j'ai fait fink install giflib qui s'est bien=20
>pass=E9, mais ./configure ne trouve pas la librairie gif :
>checking for DGifOpenFileName in -lgif... no
>checking for DGifOpenFileName in -lungif... no
>
>Il existe pourtant : /sw/lib/libgif.4.1.0.dylib,=20
>/sw/lib/libgif.4.dylib, /sw/lib/libgif.a, /sw/lib/libgif.dylib,=20
>/sw/lib/libgif.la, /sw/lib/libimlib-gif..la, /sw/lib/libimlib-gif.so

Moi j'ai eu plusieurs problemes avec les diverses librairies utilisees
par camlimages.  Pour giflib, camlimages ne va pas chercher dans
/sw/lib, donc il faut aller dans /usr/lib et faire:

  for i in /sw/lib/*gif*; do ln -s $i; done

Pour plusieurs autres librairies, j'ai du faire "ranlib *.a" dans
/usr/lib et dans /usr/local/lib parce que les procedures d'install ne
le faisaient pas.

J'ai aussi du faire des liens dans /usr/local/include...

Bonne chance,

-- Damien
-------------------
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:[~2002-05-06 12:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-04 12:44 [Caml-list] [help] camlimages sur MacOS X Laurent Chéno
2002-05-06 12:08 Damien Doligez

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).