English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Findlib fails to build on OS X Leopard
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-07-17 (05:59)
From: MONATE Benjamin 205998 <Benjamin.MONATE@c...>
Subject: Re :_Findlib_fails_to_build_on_OS_X_Leopard
> My colleague is trying to install GODI but it's choking on findlib
> 1.2.2. Specifically, the command used to locate the std. lib. in
> get_stdlib is not compatible with OS X's sed:
> ocamlc -where | sed "s/\r//" || ...

We had the same problem in Frama-C configure.in files and fixed it by replacing
this test by
OCAMLLIB=`ocamlc -where | tr -d '\\r'`

Hope this helps,