Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 files and fixed it by replacing
this test by
OCAMLLIB=`ocamlc -where | tr -d '\\r'`

Hope this helps,