From: "Ashish Agarwal" <agarwal1975@gmail.com>
To: "Mark Shinwell" <mshinwell@janestcapital.com>
Cc: "Markus Mottl" <markus.mottl@gmail.com>,
"Caml List" <caml-list@inria.fr>
Subject: Re: [Caml-list] problem installing janestreet core through godi
Date: Wed, 22 Oct 2008 09:08:16 -0400 [thread overview]
Message-ID: <d8be5ae20810220608tcbccb21w1d35216dec0d42b7@mail.gmail.com> (raw)
In-Reply-To: <20081022081635.GU14123@janestcapital.com>
[-- Attachment #1: Type: text/plain, Size: 1527 bytes --]
Thank you for the replies. In type_class.ml and type_class.mli, I
replaced (*pp cpp $ARCH_FLAGS *) with (*pp gcc -E $ARCH_FLAGS *). The
compilation gets further but now fails with:...
ocamlfind ocamlc -package type-conv -c -I +camlp4 -for-pack Bin_prot
binable.ml
File "binable.ml", line 36, characters 21-46:
Unbound type constructor Type_class.writer
On Wed, Oct 22, 2008 at 4:16 AM, Mark Shinwell
<mshinwell@janestcapital.com>wrote:
> On Tue, Oct 21, 2008 at 04:22:09PM -0400, Markus Mottl wrote:
> > 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.
>
> There is something about the preprocessors on Mac OS X which causes cpp to
> behave differently from gcc -E; I've hit this before but can't remember the
> full explanation offhand. You can see the difference, for example, if you
> try to use the ## operator. Does everything work if you get everything
> to use gcc -E for preprocessing?
>
> Mark
>
[-- Attachment #2: Type: text/html, Size: 2244 bytes --]
next prev parent reply other threads:[~2008-10-22 13:08 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 ` [Caml-list] " Markus Mottl
2008-10-22 8:16 ` Mark Shinwell
2008-10-22 13:08 ` Ashish Agarwal [this message]
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=d8be5ae20810220608tcbccb21w1d35216dec0d42b7@mail.gmail.com \
--to=agarwal1975@gmail.com \
--cc=caml-list@inria.fr \
--cc=markus.mottl@gmail.com \
--cc=mshinwell@janestcapital.com \
/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