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: Nathaniel Gray <n8gray@g...>
Subject: 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//" || ...

The version of sed included with Leopard doesn't support
backslash-escapes like \r.  Instead, it treats '\r' just like 'r', so
this turns '/Users/blah/...' into '/Uses/blah/...' and the std. lib.
can't be found.

Until this bug is fixed the workaround is to install gnu sed.

Cheers,
-n8

-- 
>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- http://mojave.cs.caltech.edu -->