HTML module improperly built - parse-internal#2 not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
New
|
Undecided
|
Unassigned |
Bug Description
I downloaded today's bzr version of zorba and zorba_modules.
After completing a cmake, make, make install sequence I was surprised to find the html module was not available with a simple source example such as...
import module namespace html = "http://
html:parse(
It threw an error suggesting there was no such module installed...
Message: (no URI):1,2: static error [err:XQST0059]: module "http://
I therefore created a build directory in zorba_modules/html and manually ran the cmake, make, make install sequence from there.
Initially I hit the following compiler error (which may explain why the module was silently skipped perhaps)....
/home/cefn/
/home/cefn/
std:
^
/home/cefn/
std:
/home/cefn/
std:
make[2]: *** [src/CMakeFiles
make[1]: *** [src/CMakeFiles
make: *** [all] Error 2
However, this was easily overcome by adding the line...
#include <memory>
...after the #include <stream> line, after which the module compiled and installed.
Whereas before, the module with the specified namespace was not available, after running the install I had a different error when trying to tidy a document, as follows...
Message: </usr/local/
This final error I don't know how to tackle. I attach the .deb which was created by wrapping the sudo make install invocation in a checkinstall call, which indicates all the additional files which were added to my system. Does the html module still build correctly, and what do I have to do to achieve this?
I tried installing the zorba-html-module 3.0.0 from PPA .deb, and then soft-linking the 'converters' directory from its /usr/lib path to /usr/local/lib and from its /usr/share path to /usr/local/share (where my source-compiled zorba was installed).
However, the module installed in this way throws a different error...
Message: </usr/local/ share/zorba/ uris/com/ zorba-xquery/ www/modules/ converters/ html.module> :85,5: error [zerr:ZAPI0040]: iterator is not open.
I guess I have to get the bzr version of the html module to work or it won't be compatible with the latest build.