Re: Removing Camlp4 dependency from OPAM package

Andre Maroneze <[email protected]> Mon, 7 Mar 2016 19:08:49 +0100
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============7665693320243124087==
Content-Type: multipart/alternative;
 boundary="------------010101060606010402070407"

This is a multi-part message in MIME format.
--------------010101060606010402070407
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable

Thank you!

I tried the version from github (937f931), and despite a few issues with=20
'./configure' (which insisted that camlp4 should be installed, so I=20
commented out a few lines) and 'make clean' (which removed a few extra=20
files), I was able to compile and use it. It worked out of the box=20
without doing ./configure, but because I needed to set the prefix for an=20
opam installation, I had to run it and thus remove the lines related to=20
camlp4.

Anyway, thank you for your responsiveness.**


On 03/06/2016 03:50 PM, Jacques Garrigue wrote:
> I have just committed a fix that removes the dependency on camlp4 to th=
e git repository (either github or ocamlforge).
> This just adds the preprocessed files to the repository, so that one do=
esn't have to process them locally.
> Can you give it a try?
>
> Basically, camlp4 is only used for stream parsers, which were available=
 in ocaml before the merge of camlp4
> (and subsequent removal). It would be nice if they were supported again=
 natively.
> Note that this is a problem of parsing, so ppx is of no help there.
>
> Cheers,
>
> Jacques
>
>

--=20
Andr=E9 Maroneze
Ing=E9nieur-chercheur CEA/LIST
Laboratoire S=FBret=E9 et S=E9curit=E9 des Logiciels


--------------010101060606010402070407
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dwindows-1252"
      http-equiv=3D"Content-Type">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    Thank you!<br>
    <br>
    I tried the version from github (937f931), and despite a few issues
    with './configure' (which insisted that camlp4 should be installed,
    so I commented out a few lines) and 'make clean' (which removed a
    few extra files), I was able to compile and use it. It worked out of
    the box without doing ./configure, but because I needed to set the
    prefix for an opam installation, I had to run it and thus remove the
    lines related to camlp4.<br>
    <br>
    Anyway, thank you for your responsiveness.<b class=3D"b5"></b><br>
    <br>
    <br>
    <div class=3D"moz-cite-prefix">On 03/06/2016 03:50 PM, Jacques
      Garrigue wrote:<br>
    </div>
    <blockquote
      cite=3D"mid:[email protected]=
p"
      type=3D"cite">
      <pre wrap=3D"">I have just committed a fix that removes the depende=
ncy on camlp4 to the git repository (either github or ocamlforge).
This just adds the preprocessed files to the repository, so that one does=
n't have to process them locally.
Can you give it a try?

Basically, camlp4 is only used for stream parsers, which were available i=
n ocaml before the merge of camlp4
(and subsequent removal). It would be nice if they were supported again n=
atively.
Note that this is a problem of parsing, so ppx is of no help there.

Cheers,

Jacques


</pre>
    </blockquote>
    <br>
    <pre class=3D"moz-signature" cols=3D"72">--=20
Andr=E9 Maroneze
Ing=E9nieur-chercheur CEA/LIST
Laboratoire S=FBret=E9 et S=E9curit=E9 des Logiciels</pre>
  </body>
</html>

--------------010101060606010402070407--

--===============7665693320243124087==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Lablgtk-list mailing list
[email protected]
https://lists.ocamlcore.org/cgi-bin/listinfo/lablgtk-list

--===============7665693320243124087==--