Opened 12 years ago

Closed 7 years ago

#37100 closed defect (duplicate)

coq 8.4 +coqide

Reported by: joerg@… Owned by: pmetzger (Perry E. Metzger)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: coqide Cc: jens.p.gerlach@…, cooljeanius (Eric Gallager)
Port: coq

Description

There seems to be a problem installing coq +coqide. The compile breaks due to:

:info:build Error: /opt/local/lib/ocaml/site-lib/lablgtk2/gdk.cmi
:info:build is not a compiled interface

Probably this is due to a mix of ocaml3 and ocaml4. Installing coq +coqide results in both versions of ocaml being installed.

Any help is appreciated.

Greetings, Joerg

Change History (7)

comment:1 Changed 12 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to reilles@…

Please remember to Cc the maintainer.

comment:2 Changed 12 years ago by benedikt.huber@…

I can confirm this bug. Probably this is because the lablgtk2 port is built with ocaml (version 4), but coq still depends on caml3. I guess the best thing is to drop the dependency on caml3; this should be possible now [1].

I managed to build coq +coqide using a local Portfile: I switched to ocaml and camlp5, and applied a simple patch to two ML files in the IDE (this is necessary, as the definition of Gdk.Tags.modifier changed in newer versions of lablgtk2). So far, it seems the IDE works well.

Kind Regards, Benedikt

[1] http://comments.gmane.org/gmane.science.mathematics.logic.coq.club/8977

Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 12 years ago by ecronin (Eric Cronin)

Cc: jens.p.gerlach@… egall@… added

Has duplicate: #37487

comment:4 Changed 10 years ago by jmroot (Joshua Root)

Owner: changed from reilles@… to perry@…

comment:5 Changed 7 years ago by pmetzger (Perry E. Metzger)

So far as I know, Coq hasn't depended on ocaml3 in a very long time. If someone is still having trouble, please let me know.

Last edited 7 years ago by pmetzger (Perry E. Metzger) (previous) (diff)

comment:6 Changed 7 years ago by pmetzger (Perry E. Metzger)

Okay, this seems to be an instance of a more general problem, which I am tracking in #56376

comment:7 Changed 7 years ago by pmetzger (Perry E. Metzger)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.