paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Building Paparazzi sourcecode error.


From: Pascal Brisset
Subject: Re: [Paparazzi-devel] Building Paparazzi sourcecode error.
Date: Mon, 14 Jan 2008 20:17:56 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071022)

Ørjan Pettersen wrote:
Seems like ocaml is installed. But the 'xml.cmi' file does not exist.
Yes, OCaml is installed but the XML library for OCaml is not. You have to install it. If you cannot use the Debian package (the .deb file), you have to recompile it: - get the source: http://ftp.de.debian.org/debian/pool/main/x/xml-light/xml-light_2.2.orig.tar.gz
- untar it: tar xzvf xml-light_2.2.orig.tar.gz
- compile and install it: cd xml-light-2.2; make; sudo make install

--Pascal



Any ideas on what to do now?

Oerjan Pettersen

######    CODE    ######

address@hidden paparazzi3]# ocamlc -where
/usr/lib/ocaml
address@hidden paparazzi3]# ocamlc -v
The Objective Caml compiler, version 3.10.0
Standard library directory: /usr/lib/ocaml

###################

Pascal Brisset wrote:
Hi,

Ørjan Pettersen wrote:
OC extXml.mli
File "extXml.mli", line 28, characters 12-19:
Unbound type constructor Xml.xml
The ocaml Xml library is missing or not installed in the right place. The package, and a link to its souces is available from the official Debian repository:

http://packages.debian.org/etch/libxml-light-ocaml-dev

The files (the error here reveals that the interface file, xml.cmi is not found) should be installed in the Ocaml library directory (returned by 'ocamlc -where') or in the xml-light subdirectory.

address@hidden:~% ocamlc -where
/usr/lib/ocaml/3.09.2
address@hidden:~% locate xml.cmi
/usr/lib/ocaml/3.09.2/xml-light/xml.cmi


--Pascal


_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel




_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]