Loading ...
Sorry, an error occurred while loading the content.

Re: "ocaml_beginners"::[] PXP in interactive mode

Expand Messages
  • Stefano Zacchiroli
    ... You probably forgot to open one of the needed module. If you re using Debian you should have ocaml-findlib installed, I suggest to use it! $ ocaml
    Message 1 of 3 , Dec 1, 2005
    • 0 Attachment
      On Thu, Dec 01, 2005 at 04:24:59PM +1100, patrick jayet wrote:
      > Although Pxp_document is one of the module from Pxp. I am using ocaml
      > 3.08.3 on Linux Debian.
      >
      > Any idea?

      You probably forgot to open one of the needed module. If you're using
      Debian you should have ocaml-findlib installed, I suggest to use it!

      $ ocaml
      Objective Caml version 3.09.0

      # #use "topfind";;
      Findlib has been successfully loaded. Additional directives:
      #require "package";; to load a package
      #list;; to list the available packages
      #camlp4o;; to load camlp4 (standard syntax)
      #camlp4r;; to load camlp4 (revised syntax)
      #predicates "p,q,...";; to set these predicates
      Topfind.reset();; to force that packages will be reloaded
      #thread;; to enable threads

      # #require "pxp-engine";;
      /usr/lib/ocaml/3.09.0/pcre: added to search path
      /usr/lib/ocaml/3.09.0/pcre/pcre.cma: loaded
      /usr/lib/ocaml/3.09.0/unix.cma: loaded
      /usr/lib/ocaml/3.09.0/netstring: added to search path
      /usr/lib/ocaml/3.09.0/netstring/netstring.cma: loaded
      /usr/lib/ocaml/3.09.0/netstring/netstring_top.cmo: loaded
      /usr/lib/ocaml/3.09.0/netstring/netaccel.cma: loaded
      /usr/lib/ocaml/3.09.0/netstring/netaccel_link.cmo: loaded
      /usr/lib/ocaml/3.09.0/netstring/compatcgi.cma: loaded
      /usr/lib/ocaml/3.09.0/pxp-engine: added to search path
      /usr/lib/ocaml/3.09.0/pxp-engine/pxp_engine.cma: loaded
      /usr/lib/ocaml/3.09.0/pxp-engine/pxp_top.cmo: loaded
      # open Pxp_module;;
      Unbound module Pxp_module
      # open Pxp_document;;
      #

      Hope this helps.
      Cheers.

      --
      Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
      zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
      If there's any real truth it's that the entire multidimensional infinity
      of the Universe is almost certainly being run by a bunch of maniacs. -!-
    • patrick jayet
      Hi Stefano, ... [...] ... [...] ... Thank you very much, that s exactly what I was looking for. Cheers, :) Pat
      Message 2 of 3 , Dec 1, 2005
      • 0 Attachment
        Hi Stefano,

        > # #use "topfind";;
        [...]
        > # #require "pxp-engine";;
        > /usr/lib/ocaml/3.09.0/pcre: added to search path
        > /usr/lib/ocaml/3.09.0/pcre/pcre.cma: loaded
        > /usr/lib/ocaml/3.09.0/unix.cma: loaded
        > /usr/lib/ocaml/3.09.0/netstring: added to search path
        > /usr/lib/ocaml/3.09.0/netstring/netstring.cma: loaded
        > /usr/lib/ocaml/3.09.0/netstring/netstring_top.cmo: loaded
        > /usr/lib/ocaml/3.09.0/netstring/netaccel.cma: loaded
        > /usr/lib/ocaml/3.09.0/netstring/netaccel_link.cmo: loaded
        > /usr/lib/ocaml/3.09.0/netstring/compatcgi.cma: loaded
        > /usr/lib/ocaml/3.09.0/pxp-engine: added to search path
        > /usr/lib/ocaml/3.09.0/pxp-engine/pxp_engine.cma: loaded
        > /usr/lib/ocaml/3.09.0/pxp-engine/pxp_top.cmo: loaded
        [...]
        > # open Pxp_document;;
        > #

        Thank you very much, that's exactly what I was looking for.

        Cheers, :)

        Pat
      Your message has been successfully submitted and would be delivered to recipients shortly.