Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Oliver Bandel <oliver@f...>
Subject: camlp4 on Debian lenny
Hello,

I wanted to explore camlp4 with the tutorial:
  http://caml.inria.fr/pub/docs/tutorial-camlp4/tutorial001.html

There seems to be some paths wrong?!

======================================
        Objective Caml version 3.10.2

# #load "camlp4o.cma";;
        Camlp4 Parsing version 3.10.2

#  #load "pa_extend.cmo";;
Cannot find file pa_extend.cmo.
#
======================================

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...



==================================================
oliver@siouxsie:~$ locate pa_extend
/usr/lib/ocaml/3.10.2/camlp5/pa_extend.cmi
/usr/lib/ocaml/3.10.2/camlp5/pa_extend.cmo
/usr/lib/ocaml/3.10.2/camlp5/pa_extend.cmx
/usr/lib/ocaml/3.10.2/camlp5/pa_extend_m.cmo
/usr/lib/ocaml/3.10.2/camlp5/pa_extend_m.cmx
/usr/lib/ocaml/3.10.2/camlp5/pa_extend_m.o
/usr/lib/ocaml/3.10.2/camlp5/pa_extend.o
oliver@siouxsie:~$
==================================================


What is with camlp5 and camlp4?
Will camlp5 replace camlp4?
Will it afterwards be renamed to camlp4?
(This is, what I remember, but I'm not sure on it.)

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

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

I have installed the packages
 "camlp4",
 "camlp4-extra"  and
 "camlp5".

Any idea on how to fix the problem (by using official administration
tools)?

Ciao,
   Oliver