caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] How to install PXP
@ 2002-12-26  4:12 IKEDA Katsumi
  2002-12-26  6:43 ` Matt Gushee
  0 siblings, 1 reply; 3+ messages in thread
From: IKEDA Katsumi @ 2002-12-26  4:12 UTC (permalink / raw)
  To: caml-list

Hi,

I want to install PXP (Polymorphic XML parser).

It requires findlib (ocamlfind) and ocamlnet. ocamlnet requires pcre-ocaml.


First, I install findlib. ocamlfind is installed in /usr/bin.


Second, I install pcre-ocaml. pcre libraries are installed
in /usr/lib/ocaml/contrib


Third, I try to install ocamlnet.

'configure' works well, however 'make all' makes the following error.

--------
  ocamlfind ocamlc -g  -package "unix pcre" -thread -c netstring_top.mli
  ocamlfind: package 'pcre' not found
--------

I try './configure -I +contrib -disable-findlib'
then I can install ocamlnet.
It is installed in /usr/lib/ocaml/ocamlnet.


But 'configure' of PXP says:

--------
  $ ./configure 
  Checking for ocamlfind... found
  Checking for netstring... not found
  Sorry, installation is not possible without netstring!
  Please download netstring from www.ocaml-programming.de
--------

Please tell me the better way to install PXP.

Thanks.

-- 
IKEDA Katsumi  <ikeda@msi.co.jp>
-------------------
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] 3+ messages in thread

* Re: [Caml-list] How to install PXP
  2002-12-26  4:12 [Caml-list] How to install PXP IKEDA Katsumi
@ 2002-12-26  6:43 ` Matt Gushee
  2002-12-26  7:13   ` [Caml-list] " IKEDA Katsumi
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Gushee @ 2002-12-26  6:43 UTC (permalink / raw)
  To: caml-list

On Thu, Dec 26, 2002 at 01:12:04PM +0900, IKEDA Katsumi wrote:
> 
> I want to install PXP (Polymorphic XML parser).
> 
> It requires findlib (ocamlfind) and ocamlnet. ocamlnet requires pcre-ocaml.
> 
> 
> First, I install findlib. ocamlfind is installed in /usr/bin.
> 
> 
> Second, I install pcre-ocaml. pcre libraries are installed
> in /usr/lib/ocaml/contrib
> 
> 
> Third, I try to install ocamlnet.
> 
> 'configure' works well, however 'make all' makes the following error.
> 
> --------
>   ocamlfind ocamlc -g  -package "unix pcre" -thread -c netstring_top.mli
>   ocamlfind: package 'pcre' not found
> --------

I think you can solve this problem by installing pcre with findlib. As
you may have discovered, 'make install' for the pcre package doesn't use
findlib, but you can still do it manually. You can find more information
in <ocamlnet-package>/src/INSTALL. 

Hope this helps.

-- 
Matt Gushee                 When a nation follows the Way,
Englewood, Colorado, USA    Horses bear manure through
mgushee@havenrock.com           its fields;
http://www.havenrock.com/   When a nation ignores the Way,
                            Horses bear soldiers through
                                its streets.
                                
                            --Lao Tzu (Peter Merel, trans.)
-------------------
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] 3+ messages in thread

* [Caml-list] Re: How to install PXP
  2002-12-26  6:43 ` Matt Gushee
@ 2002-12-26  7:13   ` IKEDA Katsumi
  0 siblings, 0 replies; 3+ messages in thread
From: IKEDA Katsumi @ 2002-12-26  7:13 UTC (permalink / raw)
  To: caml-list

Hi,

From: Matt Gushee <mgushee@havenrock.com>
Message-ID: <20021226064343.GA1071@swordfish>
> I think you can solve this problem by installing pcre with findlib. As
> you may have discovered, 'make install' for the pcre package doesn't use
> findlib, but you can still do it manually. You can find more information
> in <ocamlnet-package>/src/INSTALL. 

I overlooked <ocamlnet-package>/src/INSTALL. 

I try the following to install pcre:
  ocamlfind install pcre META *.cmi *.mli *.cma *.a *.cmxa

Then everything works well.

Thanks.

-- 
IKEDA Katsumi  <ikeda@msi.co.jp>
-------------------
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] 3+ messages in thread

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-26  4:12 [Caml-list] How to install PXP IKEDA Katsumi
2002-12-26  6:43 ` Matt Gushee
2002-12-26  7:13   ` [Caml-list] " IKEDA Katsumi

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