[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mldonkey-users] Ocaml 3.07
From: |
Sylvain LE GALL |
Subject: |
Re: [Mldonkey-users] Ocaml 3.07 |
Date: |
Fri, 10 Oct 2003 23:53:08 +0200 |
User-agent: |
Mutt/1.5.4i |
On Fri, Oct 10, 2003 at 10:23:21PM +0200, Sylvain LE GALL wrote:
> Hello,
>
> On Fri, Oct 10, 2003 at 02:09:26PM +0200, BenV wrote:
> > Heia,
> >
> > I just felt like upgrading some stuff, so first I upgraded my
> > Ocaml to version 3.07. Then I did a cvs update, and wanted to
> > compile mldonkey.
> >
> > However, first it wanted to build Ocaml 3.06, which I refused,
> > so after some meddling with configure I got it to configure without
> > doing so.
> >
> > But now 'make depend' gives me this error:
> > ------------------
> > make depend
> > ocamlc.opt -I tools/zoggy -I +camlp4 -pp "camlp4 pa_o.cmo pr_dump.cmo" -a
> > -o pa_zog.cma tools/zoggy/zog_types.ml tools/zoggy/zog_messages.ml
> > tools/zoggy/zog_misc.ml tools/zoggy/pa_zog.ml
> > File "tools/zoggy/pa_zog.ml", line 248, characters 14-22:
> > While expanding quotation "expr":
> > Parse error: end of input expected after [expression] (in [expression])
> > Preprocessor error
> > make: *** [pa_zog.cma] Error 2
> > ------------------
> >
> > Anyone any ideas on this? :)
> >
>
> Yep,
>
> Camlp4 bug when expanding some term... You need a patch or use ocaml
> from debian ( from example ;-> ). I think you should browse caml-list to
> find the patch from Mr Mauny ( if i remember well ).
>
> Anyway, i submit a bug yesterday because mldonkey doesn't compile with
> 3.07. I patch mldonkey to admit to build with 3.07 and then i got
> another error about trying to build gtk.cmo, which i can't see why he is
> needed ....
>
1h30 of work later...
Solution for the compilation ( after you have patch ocaml ) is in patch 2038 on
the mldonkey
savannah site.
( http://savannah.nongnu.org/patch/download.php?id=2038 )
Regard
Sylvain LE GALL