Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: MONATE Benjamin 205998 <Benjamin.MONATE@c...>
Subject: Re :_Findlib_fails_to_build_on_OS_X_Leopard
Hi,
 
> 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,
Benjamin