Opened 12 years ago

Closed 12 years ago

#32173 closed defect (duplicate)

CamlP4 META doesn't contains reference to dynlink

Reported by: ontologiae@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: ocaml

Description (last modified by ryandesign (Ryan Carsten Schmidt))

ocamlfind query -p-format -recursive camlp4.lib give :

camlp4
camlp4.lib

It should contains dynlink.

It implies a lot compilation fails

Change History (6)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

What port is this ticket about?

comment:2 Changed 12 years ago by ontologiae@…

It's the port ocaml which contains camlp4. One solution is to add the lib in the META file : package "lib" (

  • requires = "camlp4"

+ requires = "camlp4 dynlink"

version = "[distributed with Ocaml]"

comment:3 in reply to:  2 Changed 12 years ago by ontologiae@…

Replying to ontologiae@…:

It's the port ocaml which contains camlp4.

One solution is to add the lib in the META file :

 package "lib" (
 -  requires = "camlp4"
 +  requires = "camlp4 dynlink"
   version = "[distributed with Ocaml]"

comment:4 Changed 12 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to mww@…
Port: ocaml-doc added

comment:5 Changed 12 years ago by mf2k (Frank Schima)

Port: ocaml added; ocaml-doc removed

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

Resolution: duplicate
Status: newclosed

Seems OK with the current version:

% ocamlfind query -p-format -recursive camlp4.lib
dynlink
camlp4
camlp4.lib

Most likely this is the same problem described in #31677.

Note: See TracTickets for help on using tickets.