Re: CDuce package
Hello,
Thomas Petazzoni wrote:
I've tested CDuce in a sane environnement. It told me that it was
missing «ulex». But it was too late, and my bed was calling me ... I'll
work on it this evening again.
Well, I worked a bit on it.
Now, in my sane environnement, I have :
# #require "cduce";;
/usr/lib/ocaml/3.08.3/camlp4: added to search path
/usr/lib/ocaml/3.08.3/ulex: added to search path
/usr/lib/ocaml/3.08.3/ulex/ulexing.cma: loaded
/usr/lib/ocaml/3.08.3/nums.cma: loaded
/usr/lib/ocaml/3.08.3/num-top: added to search path
/usr/lib/ocaml/3.08.3/num-top/num_top.cma: loaded
/usr/lib/ocaml/3.08.3/pcre: added to search path
/usr/lib/ocaml/3.08.3/pcre/pcre.cma: loaded
/usr/lib/ocaml/3.08.3/unix.cma: loaded
/usr/lib/ocaml/3.08.3/netstring: added to search path
/usr/lib/ocaml/3.08.3/netstring/netstring.cma: loaded
/usr/lib/ocaml/3.08.3/netstring/netstring_top.cmo: loaded
/usr/lib/ocaml/3.08.3/netstring/netaccel.cma: loaded
/usr/lib/ocaml/3.08.3/netstring/netaccel_link.cmo: loaded
/usr/lib/ocaml/3.08.3/netstring/compatcgi.cma: loaded
/usr/lib/ocaml/3.08.3/cgi: added to search path
/usr/lib/ocaml/3.08.3/cgi/cgi.cma: loaded
/usr/lib/ocaml/3.08.3/curl: added to search path
/usr/lib/ocaml/3.08.3/curl/curl.cma: loaded
/usr/lib/ocaml/3.08.3/expat: added to search path
/usr/lib/ocaml/3.08.3/expat/expat.cma: loaded
/usr/lib/ocaml/3.08.3/cduce: added to search path
/usr/lib/ocaml/3.08.3/cduce/cduce_lib.cma: loaded
Reference to undefined global `Token'
What does that mean ?
(I had to add libcurl-ocaml-dev, ocaml-ulex, libocamlnet-ocaml-dev and
libexpat-ocaml-dev to get it work that far).
Moreover, should I depend on libexpat-ocaml, or libexpat-ocaml-dev ? I
think the second solution is the good one, but it depends on
libexpat1-dev. And I don't see why libexpat1-dev would be necessary to
compile a CDuce-d generated program. Any explanation ?
Thanks,
Thomas
--
Thomas Petazzoni
thomas.petazzoni@enix.org
Reply to: