From: Mauricio Fernandez Date: 2007-10-18T05:04:22+09:00 Subject: Re: rocaml 0.6.0: fast, easy Ruby extensions in Objective Caml On Thu, Oct 18, 2007 at 04:10:55AM +0900, Daniel Berger wrote: > > > On Oct 17, 9:31 am, Mauricio Fernandez wrote: > > rocaml allows you to write Ruby extensions in Objective Caml. > > > > I grabbed the latest and greatest Ocaml tarball and installed it. > However, when I try to install rocaml I get this: > > sh: camlp5: not found > *** extconf.rb failed *** > > I have no camlp5 in /usr/local/bin. I have camlp4, however, and the > comments in rocaml_extconf.rb suggest that either should suffice. > > What should I do? I see you solved this by installing camlp5, but I'd still like to fix the camlp* selection code. What does camlp4 -v return for you? $ camlp4 -v Camlp4 version 3.10.0 camlp4 in 3.10.0 is incompatible with 3.09.2's (OTOH camlp5 *is* backwards compatible). The code that detects camlp5 is have_camlp5 = ! `camlp5 -v 2>&1`["version"].empty? For some reason it didn't work properly but I can't see why. Any idea? -- Mauricio Fernandez - http://eigenclass.org - singular Ruby