** Changed in: zorba
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/872386

Title:
  doc: re-run CMake after adding module .cpp files

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  I have refactored a few classes in the http_client module and brought the 
CMake build directory in an inconsistent state with the install directory. That 
is, running any query using the http-client module I got this error:
  zerr::ZXQP0028_TARGET_NAMESPACE_NOT_PROVIDED. And this without changing the 
module URI.

  This look like a problem in the cmake build system around the modules
  (in this case only internal ones) and the loading of those form the
  install/build directories.

  To solve this I had to delete from the build directory:
  - zorba_modules/zorba_http-client_module
  - modules
  and the install directory

  To replicate this, try:
  - build from lp:~gabipetrovay/zorba/cpp-xml-parsing rev. 10490
  - (n)make install
  - run a query from install directory and make sure that it runs (at r.10490 
you will get a segmentation fault but that is another problem and a sign that 
it find the module)
  - update to rev. 10491
  - run cmake and build again
  - (n)make install
  - now running the query again you should get: 
zerr::ZXQP0028_TARGET_NAMESPACE_NOT_PROVIDED
  - deleting the directories above will solve the problem

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/872386/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to