caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Problem using pcre on Debian
@ 2002-02-22 10:44 Johann Spies
  2002-02-22 11:30 ` Remi VANICAT
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Johann Spies @ 2002-02-22 10:44 UTC (permalink / raw)
  To: caml-list

There is no Debian package for pcre so I compiled one in
/usr/local/src and installed it to /usr/local/lib/ocaml/pcre.

The compilation went without a problem after I removed the comment to
use STATIC=1 in the Makefile.  I also copied  META to the installation
directory.

Now when  try to use it in the toplevel the following happens:
-------------------------------------
$ ledit ocaml
        Objective Caml version 3.04

# #use "ocamlfind";;
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)
  Topfind.reset();;         to force that packages will be reloaded

- : unit = ()
# #require "pcre";;
Loading /usr/local/lib/ocaml/pcre/pcre.cma
The external function `pcre_exec_wrapper_bc' is not available
# #list;;
[I removed the other lines:]
pcre                (version: 4.18-2)

# let s = "Dit lyk nou so";;
- : string = "Dit lyk nou so" 
# let ss =Pcre.split s;;
Reference to undefined global `Pcre'
================================================

Any remedy?  I could use an older version of pcre in the same way.

Johann
-- 
Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "The LORD bless thee, and keep thee; The LORD make his
      face shine upon thee, and be gracious unto thee; The 
      LORD lift up his countenance upon thee, and give thee 
      peace."              Numbers 6:24-26 
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2002-02-26 12:06 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-22 10:44 [Caml-list] Problem using pcre on Debian Johann Spies
2002-02-22 11:30 ` Remi VANICAT
2002-02-22 14:08   ` Johann Spies
2002-02-22 14:57     ` Remi VANICAT
2002-02-22 16:08       ` Markus Mottl
2002-02-22 12:59 ` Stefano Zacchiroli
2002-02-22 14:48 ` Markus Mottl
2002-02-22 16:03   ` Johann Spies
2002-02-22 16:17     ` Alain Frisch
2002-02-22 16:27       ` Johann Spies
2002-02-22 21:14         ` Markus Mottl
2002-02-24 17:30           ` Xavier Leroy
2002-02-24 20:44             ` Markus Mottl
2002-02-26 12:06               ` Johann Spies
2002-02-22 16:26     ` Markus Mottl
2002-02-22 16:01 ` Alain Frisch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).