[Zorba-coders] [Bug 990587] Re: Zorba with modules does not build if only JRE is installed (no javac or jar)

2012-06-12 Thread Dana Florescu
** 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/990587

Title:
  Zorba with modules does not build if only JRE is installed (no javac
  or jar)

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  If a target machine has the JRE installed but it doesn't have the
  javac and/or jar executables, Zorba fails to build.

  1. Install JRE on the machine and make sure the full JSE is not installed 
(there should be no javac or jar executable)
  2. Checkout the trunk
  3. Checkout all the modules
  4. run cmake .. in the build folder

  The util-jvm and data-formatting modules fail to properly configure
  and this results in a Zorba cmake error instead of disabling the data-
  formatting module.

  The output I get:

  -- --- Module:   util-jvm---
  -- Looking for JNI
  -- Looking for Java
  -- Java version 1.6.0.24 configured successfully!
  -- Could NOT find Java (missing:  Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE) 
(found version 1.6.0.24)
  -- Building Zorba without util-jvm module.
  -- ---
  -- 
  CMake Error at 
/home/colea/xquery_bzr/zorba_modules/schema-tools/CMakeLists.txt:22 
(FIND_PACKAGE):
Could not find module Findzorba_util-jvm_module.cmake or a configuration
file for package zorba_util-jvm_module.

Adjust CMAKE_MODULE_PATH to find Findzorba_util-jvm_module.cmake or set
zorba_util-jvm_module_DIR to the directory containing a CMake configuration
file for zorba_util-jvm_module.  The file will have one of the following
names:

  zorba_util-jvm_moduleConfig.cmake
  zorba_util-jvm_module-config.cmake


  -- Java and/or JNI not found; skipping schema-tools module.

  
  ...

  --  BEGIN Configuring module Data-Formatting 
  CMake Error at 
/home/colea/xquery_bzr/zorba_modules/data-formatting/CMakeLists.txt:25 
(FIND_PACKAGE):
Could not find module Findzorba_util-jvm_module.cmake or a configuration
file for package zorba_util-jvm_module.

Adjust CMAKE_MODULE_PATH to find Findzorba_util-jvm_module.cmake or set
zorba_util-jvm_module_DIR to the directory containing a CMake configuration
file for zorba_util-jvm_module.  The file will have one of the following
names:

  zorba_util-jvm_moduleConfig.cmake
  zorba_util-jvm_module-config.cmake


  -- Java and/or JNI not found; skipping data-formating module.
  --  END Configuring module Data-Formatting 

  ...

  -- Configuring incomplete, errors occurred!

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/990587/+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


[Zorba-coders] [Bug 990587] Re: Zorba with modules does not build if only JRE is installed (no javac or jar)

2012-05-01 Thread Chris Hillery
** Changed in: zorba
   Status: New = Fix Committed

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

Title:
  Zorba with modules does not build if only JRE is installed (no javac
  or jar)

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  If a target machine has the JRE installed but it doesn't have the
  javac and/or jar executables, Zorba fails to build.

  1. Install JRE on the machine and make sure the full JSE is not installed 
(there should be no javac or jar executable)
  2. Checkout the trunk
  3. Checkout all the modules
  4. run cmake .. in the build folder

  The util-jvm and data-formatting modules fail to properly configure
  and this results in a Zorba cmake error instead of disabling the data-
  formatting module.

  The output I get:

  -- --- Module:   util-jvm---
  -- Looking for JNI
  -- Looking for Java
  -- Java version 1.6.0.24 configured successfully!
  -- Could NOT find Java (missing:  Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE) 
(found version 1.6.0.24)
  -- Building Zorba without util-jvm module.
  -- ---
  -- 
  CMake Error at 
/home/colea/xquery_bzr/zorba_modules/schema-tools/CMakeLists.txt:22 
(FIND_PACKAGE):
Could not find module Findzorba_util-jvm_module.cmake or a configuration
file for package zorba_util-jvm_module.

Adjust CMAKE_MODULE_PATH to find Findzorba_util-jvm_module.cmake or set
zorba_util-jvm_module_DIR to the directory containing a CMake configuration
file for zorba_util-jvm_module.  The file will have one of the following
names:

  zorba_util-jvm_moduleConfig.cmake
  zorba_util-jvm_module-config.cmake


  -- Java and/or JNI not found; skipping schema-tools module.

  
  ...

  --  BEGIN Configuring module Data-Formatting 
  CMake Error at 
/home/colea/xquery_bzr/zorba_modules/data-formatting/CMakeLists.txt:25 
(FIND_PACKAGE):
Could not find module Findzorba_util-jvm_module.cmake or a configuration
file for package zorba_util-jvm_module.

Adjust CMAKE_MODULE_PATH to find Findzorba_util-jvm_module.cmake or set
zorba_util-jvm_module_DIR to the directory containing a CMake configuration
file for zorba_util-jvm_module.  The file will have one of the following
names:

  zorba_util-jvm_moduleConfig.cmake
  zorba_util-jvm_module-config.cmake


  -- Java and/or JNI not found; skipping data-formating module.
  --  END Configuring module Data-Formatting 

  ...

  -- Configuring incomplete, errors occurred!

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/990587/+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


[Zorba-coders] [Bug 990587] Re: Zorba with modules does not build if only JRE is installed (no javac or jar)

2012-04-30 Thread Chris Hillery
This is a duplicate of bug 988090, but since this one has more detail
I'll mark the other one as a dupe.

Assigning to me as this is basically my stuff.

** Changed in: zorba
 Assignee: Cezar Andrei (cezar-andrei) = Chris Hillery (ceejatec)

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

Title:
  Zorba with modules does not build if only JRE is installed (no javac
  or jar)

Status in Zorba - The XQuery Processor:
  New

Bug description:
  If a target machine has the JRE installed but it doesn't have the
  javac and/or jar executables, Zorba fails to build.

  1. Install JRE on the machine and make sure the full JSE is not installed 
(there should be no javac or jar executable)
  2. Checkout the trunk
  3. Checkout all the modules
  4. run cmake .. in the build folder

  The util-jvm and data-formatting modules fail to properly configure
  and this results in a Zorba cmake error instead of disabling the data-
  formatting module.

  The output I get:

  -- --- Module:   util-jvm---
  -- Looking for JNI
  -- Looking for Java
  -- Java version 1.6.0.24 configured successfully!
  -- Could NOT find Java (missing:  Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE) 
(found version 1.6.0.24)
  -- Building Zorba without util-jvm module.
  -- ---
  -- 
  CMake Error at 
/home/colea/xquery_bzr/zorba_modules/schema-tools/CMakeLists.txt:22 
(FIND_PACKAGE):
Could not find module Findzorba_util-jvm_module.cmake or a configuration
file for package zorba_util-jvm_module.

Adjust CMAKE_MODULE_PATH to find Findzorba_util-jvm_module.cmake or set
zorba_util-jvm_module_DIR to the directory containing a CMake configuration
file for zorba_util-jvm_module.  The file will have one of the following
names:

  zorba_util-jvm_moduleConfig.cmake
  zorba_util-jvm_module-config.cmake


  -- Java and/or JNI not found; skipping schema-tools module.

  
  ...

  --  BEGIN Configuring module Data-Formatting 
  CMake Error at 
/home/colea/xquery_bzr/zorba_modules/data-formatting/CMakeLists.txt:25 
(FIND_PACKAGE):
Could not find module Findzorba_util-jvm_module.cmake or a configuration
file for package zorba_util-jvm_module.

Adjust CMAKE_MODULE_PATH to find Findzorba_util-jvm_module.cmake or set
zorba_util-jvm_module_DIR to the directory containing a CMake configuration
file for zorba_util-jvm_module.  The file will have one of the following
names:

  zorba_util-jvm_moduleConfig.cmake
  zorba_util-jvm_module-config.cmake


  -- Java and/or JNI not found; skipping data-formating module.
  --  END Configuring module Data-Formatting 

  ...

  -- Configuring incomplete, errors occurred!

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/990587/+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


[Zorba-coders] [Bug 990587] Re: Zorba with modules does not build if only JRE is installed (no javac or jar)

2012-04-30 Thread Chris Hillery
** Branch linked: lp:~zorba-coders/zorba/bug-990587-data-formatting

** Branch linked: lp:~zorba-coders/zorba/bug-990587-schema-tools

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

Title:
  Zorba with modules does not build if only JRE is installed (no javac
  or jar)

Status in Zorba - The XQuery Processor:
  New

Bug description:
  If a target machine has the JRE installed but it doesn't have the
  javac and/or jar executables, Zorba fails to build.

  1. Install JRE on the machine and make sure the full JSE is not installed 
(there should be no javac or jar executable)
  2. Checkout the trunk
  3. Checkout all the modules
  4. run cmake .. in the build folder

  The util-jvm and data-formatting modules fail to properly configure
  and this results in a Zorba cmake error instead of disabling the data-
  formatting module.

  The output I get:

  -- --- Module:   util-jvm---
  -- Looking for JNI
  -- Looking for Java
  -- Java version 1.6.0.24 configured successfully!
  -- Could NOT find Java (missing:  Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE) 
(found version 1.6.0.24)
  -- Building Zorba without util-jvm module.
  -- ---
  -- 
  CMake Error at 
/home/colea/xquery_bzr/zorba_modules/schema-tools/CMakeLists.txt:22 
(FIND_PACKAGE):
Could not find module Findzorba_util-jvm_module.cmake or a configuration
file for package zorba_util-jvm_module.

Adjust CMAKE_MODULE_PATH to find Findzorba_util-jvm_module.cmake or set
zorba_util-jvm_module_DIR to the directory containing a CMake configuration
file for zorba_util-jvm_module.  The file will have one of the following
names:

  zorba_util-jvm_moduleConfig.cmake
  zorba_util-jvm_module-config.cmake


  -- Java and/or JNI not found; skipping schema-tools module.

  
  ...

  --  BEGIN Configuring module Data-Formatting 
  CMake Error at 
/home/colea/xquery_bzr/zorba_modules/data-formatting/CMakeLists.txt:25 
(FIND_PACKAGE):
Could not find module Findzorba_util-jvm_module.cmake or a configuration
file for package zorba_util-jvm_module.

Adjust CMAKE_MODULE_PATH to find Findzorba_util-jvm_module.cmake or set
zorba_util-jvm_module_DIR to the directory containing a CMake configuration
file for zorba_util-jvm_module.  The file will have one of the following
names:

  zorba_util-jvm_moduleConfig.cmake
  zorba_util-jvm_module-config.cmake


  -- Java and/or JNI not found; skipping data-formating module.
  --  END Configuring module Data-Formatting 

  ...

  -- Configuring incomplete, errors occurred!

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/990587/+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