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

Re: ozone installation



Hi Daniel,

Thu, 30 Dec 1999 Daniel Haischt wrote:
>>hi
>
>im trying to compile ozone on my linux box.
>unfortunatly im running allways into
>some weird error messages.
>
>below are my system specs:
>
>debian 2.2 GNU/Linux (glibc2.1/libc6 compliant)
>Java Toolkit: Kaffe
>JVM: java
>JIT compiler: IBM jikes (also symlinked to javac for security reasons)
>openxml and xml4j is in classpath
>(i attached my whole environment as sepperate file)
>ozone home: /usr/local/ozone
>
>and now the error message:
>
>============================================================
>BMXMLParser.java:13:8:13:25: Error: Could not find package named:
>/usr/local/ozone/com/ibm/xml/parser,
>/usr/local/ozone/bin/gnu-regexp-1.0.8.jar(com/ibm/xml/parser),
>/usr/local/ozone/bin/ozone.jar(com/ibm/xml/parser),
>/usr/local/ozone/bin/w3c-dom.jar(com/ibm/xml/parser),
>/usr/share/kaffe/Klasses.jar(com/ibm/xml/parser),
>/usr/share/kaffe/tools.jar(com/ibm/xml/parser),
>/usr/share/kaffe/openxml-1.1.jar(com/ibm/xml/parser),
>/usr/share/kaffe/xml4j/xerces.jar(com/ibm/xml/parser),/
>usr/share/kaffe/xml4j/xml4j.jar(com/ibm/xml/parser),
>/usr/share/kaffe/xml4j/src/com/ibm/xml/parsers/com/ibm/xml/parser or
>/usr/share/kaffe/xml4j/src/org/xml/sax/com/ibm/xml/parser
>IBMXMLParser.java:39:16:39:31: Error: The type of this return expression,
>"org/ozoneDB/xml/util/TXDocument", does not match the return type of the
>method,
>"org/w3c/dom/Document".
>IBMXMLParser.java:39:20:39:29: Error: Type org/ozoneDB/xml/util/TXDocument
>was not found.
>make[2]: *** [ibmxml] Error 1
>make[2]: Leaving directory `/usr/local/ozone/org/ozoneDB/xml/util'
>make[1]: *** [util] Error 2
>make[1]: Leaving directory `/usr/local/ozone/org/ozoneDB/xml'
>make: *** [xml] Error 2
>============================================================
>
>why does the compiler searches for a XML parser though?

The branch "org/ozoneDB/xml" contains classes and interfaces to
handle XML documents in ozone. For this it was necessary to introduce
a common Parser interface as a wrapper for each native XML Parser
(like XML4J and OpenXML). If you want to use the XML stuff from ozone
you have to have installed _your_ XML Parser package. Otherwise donĀ“t
use "make all" to build ozone - use "make server" instead (which doesn't
compile the XML stuff).

In your case it seems that you are not using XML4J 2.0.15. The class
org.ozoneDB.xml.util.IBMXMLParser.class is wrapping this version of
IBMs XML Parser.

>(i thought the parser is allways included in the openxml or xml4j
>jar files).
>
>i hope some of you is able to help me in some way.
>
>regards
>
>daniel haischt
>
----------------------------------------
Content-Type: text/plain; name="ozone.txt"
Content-Transfer-Encoding: quoted-printable
Content-Description: 
----------------------------------------

----------------------------------------
Content-Type: text/plain; name="env.txt"
Content-Transfer-Encoding: quoted-printable
Content-Description: 
----------------------------------------

Regards and a Happy New Year to all!
Lars
--
________________________________________________________________
Lars Martin                         mailto:lars@softwarebuero.de
softwarebuero m&b (SMB)              http://www.softwarebuero.de