ports/118800: New port: ocaml-pgocaml type-safe PostgreSQL interface for OCaml, requires ocaml-csv which I recently submitted.

Thomas Crimi tcrimi at procida.us
Wed Dec 19 06:48:06 UTC 2007


On Dec 18, 2007, at 9:30 AM, pav at FreeBSD.org wrote:
> State-Changed-Why:
> Does not build:
>
> ocamlfind ocamlc -g -package unix,extlib,pcre,calendar,csv \
> 	  -pp "camlp4o pa_extend.cmo q_MLast.cmo -loc loc -impl" \
> 	  -I +camlp4 -c -impl pa_pgsql.ml4
> File "pa_pgsql.ml4", line 376, characters 2-6:
> Parse error: ':' expected after [name] (in [entry])
> Uncaught exception: Stream.Error("':' expected after [name] (in  
> [entry])")
> Preprocessor error
> gmake: *** [pa_pgsql.cmo] Error 2

  This port requires OCaml 3.10.0 (which I had hacked the port on my  
system to do a while ago but had forgotten about).

  Searching through the logs, I see this exchange with regards to an  
3.10 update:
http://www.mail-archive.com/freebsd-ports@freebsd.org/msg08817.html

  These are my first ports but I'm willing to offer whatever help I  
can to get 3.10.0 updated.  There may have been some issues with other  
OCaml-dependent ports breaking but that can be fixed with camlp5.  A  
few ports that sprang to mind:

  cduce - updated to 0.5
  ocaml-ulex updated to 1.0
  pxp - updated to 1.2.0, or use camlp5, not sure which is the better  
option

  I'm imagining the port stalled due to these and other  
incompatibilities, please let me know what the best way to help would  
be.

  Regards,
   Tom




More information about the freebsd-ports-bugs mailing list