Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#2104 closed defect (later)

mldonkey configure fails due to wrong version of ocaml

Reported by: southgate@… Owned by: pguyot (Paul Guyot)
Priority: High Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

mldonkey 2.5.16 is failing to build with the following error:

---

Objective-Caml 3.07 is required * * Check http://caml.inria.fr/ Do you want this script to try to download and install ocaml LOCALLY in mldonkey directory ?

---

if mldonkey 2.5.16 is manually configured to use ocaml 3.08, it configures and builds properly.

Change History (5)

comment:1 Changed 20 years ago by pguyot (Paul Guyot)

Are you sure that 2.5.16 can be compiled with 3.08? I even tried 2.5.22 and with 3.09+cvs.

I get:

Error: Target com.apple.build returned: shell command "cd "/Volumes/Screwy/src/opendarwin/darwinports/dports/net/mldonkey/work/mldonkey-2.5.16" && make all" returned error 2 Command output: ocamlrun ocamlc -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 502, characters -72--44: use of antiquotation syntax deprecated since version 3.05 File "tools/zoggy/pa_zog.ml", line 42, characters 40-41: This expression has type int but is here used with type Lexing.position make: * [pa_zog.cma] Error 2

There is a patch on mldonkey patch system, but it's very big and I felt very tired and very lazy then.

BTW, I did enable mldonkey to build with any version of OCaml 3.x by adding: configure.args --enable-ocamlver=3.

comment:2 Changed 20 years ago by olegb@…

Owner: changed from darwinports-bugs@… to pguyot@…

assigning to maintainer.

comment:3 Changed 20 years ago by pguyot (Paul Guyot)

Resolution: later
Status: newclosed

comment:4 Changed 20 years ago by pguyot (Paul Guyot)

According to mldonkey change log, 2.5.25 will fix all the ocaml-3.08 incompatible code. I'm just waiting for 2.5.25 to reach the tarball state (currently at 2.5.22) to avoid a CVS checkout.

http://savannah.nongnu.org/cgi-bin/viewcvs/*checkout*/mldonkey/mldonkey/distrib/ChangeLog?rev=HEAD&content-type=text/plain

comment:5 Changed 20 years ago by pguyot (Paul Guyot)

Markus solved the problem by creating a 2.5.28 tarball and putting it on his od website.

Note: See TracTickets for help on using tickets.