caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Markus Mottl" <markus.mottl@gmail.com>
To: "Ashish Agarwal" <Ashish.Agarwal@yale.edu>
Cc: "Caml List" <caml-list@inria.fr>
Subject: Re: [Caml-list] problem installing janestreet core through godi
Date: Tue, 21 Oct 2008 16:22:09 -0400	[thread overview]
Message-ID: <f8560b80810211322p54f80ea3sde1484ca9ed56ab8@mail.gmail.com> (raw)
In-Reply-To: <d8be5ae20810211134q5142ff98rcdcce6e8998c7380@mail.gmail.com>

2008/10/21 Ashish Agarwal <Ashish.Agarwal@yale.edu>:
> I am having trouble installing JaneStreet's Core library through godi.
> On Mac OS X, it fails while installing the prerequisite bin-prot:
> ...
>> ocamlfind ocamlc -package type-conv -c -pp "cpp $ARCH_FLAGS " -I +camlp4
>> type_class.mli
>> File "type_class.mli", line 93, characters 15-16:
>> Syntax error
> ...
> Line 93 of type_class.mli is:
> MK_BASE(unit)

It's possible that the C-preprocessor works differently on Mac OS X.
I haven't investigated this yet, but would be grateful if anybody who
has set up Godi on a Mac could try to find a patch.

> On a Red Hat Enterprise Linux system, bin-prot successfully installs.
> However, janestreet-core fails:
> ...
>> ocamlfind ocamlc -package res,sexplib,bin_prot,threads -c -thread -dtypes
>> -for-pack Core -dtypes -I +camlp4 -I . binable.ml
>> File "binable.ml", line 12, characters 21-47:
>> Unbound type constructor Map_to_safe.sw_arg
> ...
> Line 12 of binable.ml is
> val bin_sw_arg_t : binable Map_to_safe.sw_arg

janestreet-core is out of date, and a new version will be released
within the next few weeks.  You might want to downgrade the bin-prot
package installed in your Godi tree to an older version.

Regards,
Markus

-- 
Markus Mottl        http://www.ocaml.info        markus.mottl@gmail.com


  reply	other threads:[~2008-10-21 20:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21 18:34 Ashish Agarwal
2008-10-21 20:22 ` Markus Mottl [this message]
2008-10-22  8:16   ` [Caml-list] " Mark Shinwell
2008-10-22 13:08     ` Ashish Agarwal
2008-10-22 13:52       ` Markus Mottl
2008-10-22 17:57       ` Nobuyuki TOMIZAWA
     [not found]         ` <d8be5ae20810221134q171e27bat67328196849526e2@mail.gmail.com>
2008-10-22 18:34           ` Fwd: " Ashish Agarwal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f8560b80810211322p54f80ea3sde1484ca9ed56ab8@mail.gmail.com \
    --to=markus.mottl@gmail.com \
    --cc=Ashish.Agarwal@yale.edu \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).