[MonetDB-users] MonetDB install script problem.
Dear monetdb-users, When installing MonetDB (compile from MonetDB-Aug2008-SuperBall.tar.bz2) we encountered a problem. We had Java JDK installed, but no Internet connection. The monetdb-install.sh script stopped with an error message: fetching MonetDB-java failed! After some investigation we found what the problem might be: In line 209 and following lines the monetdb-install.sh script tests whether a java compiler and ant are present. If present the fetch() procedure tries to get the Java sources from the tarball. Since the Java code is not included in the tarball, fetch() tries to get the Java sources from the Internet, with wget. Since we have no Internet connection this action fails too, and makes it fatal. In other runs with only JRE installed the monetdb-install.sh script did not complain, and just skipped the Java code. Our questions: - Is the Java code deliberately omitted in the source tarball. - Can someone at the CWI fix it: either include the Java code or make the script less dependent on Internet connection. Regards, Hans van Rijswijk Netherlands Forensic Institute Tel: 070-8886638
Dear Hans, thank you for reporting this inconsistency and sorry for the inconveniences it causes! On Thu, Nov 13, 2008 at 02:36:10PM +0100, Hans van Rijswijk (DT) wrote:
Dear monetdb-users,
When installing MonetDB (compile from MonetDB-Aug2008-SuperBall.tar.bz2) we encountered a problem. We had Java JDK installed, but no Internet connection.
The monetdb-install.sh script stopped with an error message: fetching MonetDB-java failed!
After some investigation we found what the problem might be: In line 209 and following lines the monetdb-install.sh script tests whether a java compiler and ant are present. If present the fetch() procedure tries to get the Java sources from the tarball. Since the Java code is not included in the tarball, fetch() tries to get the Java sources from the Internet, with wget. Since we have no Internet connection this action fails too, and makes it fatal.
In other runs with only JRE installed the monetdb-install.sh script did not complain, and just skipped the Java code.
Our questions: - Is the Java code deliberately omitted in the source tarball.
Indeed, since MonetDB/Java follows it own release cycle independent of the remainder of the MonetDB source base, it is deliberately omitted from the "officially" released "SuperSourceBall(s)". (For now(?), the nightly built "SuperSourceBalls" do (still) contain the MonetDB-Java tarball; cf., http://monetdb.cwi.nl/Download/Builds/ .)
- Can someone at the CWI fix it: either include the Java code or make the script less dependent on Internet connection.
Yes, we will look into this. As a quick work-around for you --- assuming you do not need MonetDB/Java functinality ---, just comment out the respective lines in your copy of monetdb-install.sh, i.e., lines 210: if type -P javac > /dev/null ; then ... 226: fi and the script should work fine as if there was no javac (JDK) at all. In case you do need MonetDB/Java functionality, please download the release *.jar files from http://monetdb.cwi.nl/Download/ . Regards, Stefan
Regards, Hans van Rijswijk Netherlands Forensic Institute Tel: 070-8886638
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
participants (2)
-
Hans van Rijswijk (DT)
-
Stefan Manegold