English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
camlp4 on Debian lenny
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-12-20 (13:35)
From: Stefano Zacchiroli <zack@u...>
Subject: Re: [Caml-list] camlp4 on Debian lenny
On Sat, Dec 20, 2008 at 02:12:53PM +0100, Oliver Bandel wrote:
> The file was not available until I installed the camlp5-package.
> Now I assume, it's not available because it's in
> the wrong directory...

No, it is simply because camlp4 3.10 got rid of pa_extend.cmo.
See for example
http://martin.jambon.free.fr/examples/pa_json_static_3100beta.html for
a comparison of the required compilation commands.

> What is with camlp5 and camlp4?
> Will camlp5 replace camlp4?
> Will it afterwards be renamed to camlp4?

CamlP4 is the legacy/official one, integrated with OCaml. It changed
significantly from OCaml 3.09 to 3.10. CamlP5 is no longer legacy, but
descend from the line of development of CamlP4 pre-3.10.

> When will there be a consistent new way to work with this
> tools?

There is one already: CamlP4 >= 3.10.

> Do I have to install more packages on Debian,
> to get this functionality without using symlinks?

So, in essence, you don't have any specific problem with your
installation, nor there is one with the Debian packages you are
using. You just need to decide against which "flavor" of CamlP* you
want to develop.


Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime