[MonetDB-users] compilation errors...etc.

I've been trying to get MonetDB to compile on my machine: OSX Tiger
(Intel): Macbook Pro.
I downloaded the source code and ran the following command:
sudo ./monetdb-install.sh --enable-sql --enable-xquery (both with and
without sudo)
The relevant part of the error message is listed at the bottom of this email.
I would stil like to encourage someone to provide a macports port
distribution. I have no idea how to set one up, but if I can assist
somehow, I'll be happy to do so.
An annoyance and an observation:
Traversing source forge's mail archives is a terrible, terrible
experience. Has any on thought of switching to google groups? Heck,
why not move the whole project there, svn will be a very nice side
benefit :)
When I do google searches for MonetDB, ads for Vertica almost always
come up. Since Vertica has business savvy people behind it, we should
expect to hear a great deal about it....and whenever Vertica is
mentioned, someone (like me) will kindly point out that MonetDB is a
contender as well :) In other words, prepare for far greater interest
in this project.
Lastly, how about an IRC channel for MonetDB!
------------------------------------------------------------------------------------------------------------
compile_jdbc:
[echo] Compiling JDBC driver
[javac] Compiling 22 source files to
/var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java
[javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetClob.java:35:
duplicate class: nl.cwi.monetdb.jdbc.MonetClob
[javac] public class MonetClob implements Clob {
[javac] ^
[javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:55:
duplicate class: nl.cwi.monetdb.jdbc.MonetConnection
[javac] public class MonetConnection implements Connection {
[javac] ^
[javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2554:
duplicate class: nl.cwi.monetdb.jdbc.MonetEmbeddedInstance
[javac] class MonetEmbeddedInstance extends Thread {
[javac] ^
[javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetDataSource.java:40:
duplicate class: nl.cwi.monetdb.jdbc.MonetDataSource
[javac] public class MonetDataSource implements DataSource {
[javac] ^
[javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java:31:
duplicate class: nl.cwi.monetdb.jdbc.MonetDatabaseMetaData
[javac] public class MonetDatabaseMetaData implements DatabaseMetaData {
[javac] ^
[javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java:3103:
duplicate class: nl.cwi.monetdb.jdbc.MonetVirtualResultSet
[javac] class MonetVirtualResultSet extends MonetResultSet {
[javac] ^
[javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetDriver.java:46:
duplicate class: nl.cwi.monetdb.jdbc.MonetDriver
[javac] final public class MonetDriver implements Driver {
[javac] ^
[javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetPreparedStatement.java:51:
duplicate class: nl.cwi.monetdb.jdbc.MonetPreparedStatement
[javac] public class MonetPreparedStatement
[javac] ^
[javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetResultSet.java:48:
duplicate class: nl.cwi.monetdb.jdbc.MonetResultSet
[javac] public class MonetResultSet implements ResultSet {
[javac] ^
[javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetSavepoint.java:43:
duplicate class: nl.cwi.monetdb.jdbc.MonetSavepoint
[javac] public class MonetSavepoint implements Savepoint {
[javac] ^
[javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetSocketBlockMode.java:56:
duplicate class: nl.cwi.monetdb.jdbc.MonetSocketBlockMode
[javac] final class MonetSocketBlockMode {
[javac] ^
[javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetStatement.java:47:
duplicate class: nl.cwi.monetdb.jdbc.MonetStatement
[javac] public class MonetStatement implements Statement {
[javac] ^
[javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/util/MonetRedirectException.java:23:
duplicate class: nl.cwi.monetdb.jdbc.util.MonetRedirectException
[javac] public class MonetRedirectException extends Exception {
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 13 errors
BUILD FAILED
/private/var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/build.xml:153:
Compile failed; see the compiler error output for details.
Total time: 2 seconds
make[6]: *** [jar_jdbcclient_ant_target] Error 1
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
making MonetDB-client failed
libtool: unknown option character `-' in: --version
Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]]
[-arch_only arch] [-sacLT]
Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]]
[-arch_only arch] [-o output] [-install_name name]
[-compatibility_version #] [-current_version #] [-seg1addr 0x#]
[-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#]
[-seg_addr_table <filename>] [-seg_addr_table_filename

Dear Shahbaz Thank you very much for the supportive email. It is always a pleasure to hear from people who care for a good take up of our software and it is a stimulant to spent all those after office hours in maintaining it. The Mac world is indeed an area we would like to have better control, but we have limited access/time/expertise to resolve issues immediately. Moving the project itself is not an option in the foreseeable future, but your suggestion to focus on community interaction is well received. Vertica is indeed 'standing on the shoulders of MonetDB' as Mike Stonebraker publicly announced at VLDB 2005, but we can not counter the US approach to venture investments. And marketing wise they also seem to need MonetDB exposure, because they haven't sold a single system sofar. We are looking for ways to improve our visibility and any help in this area is greatly welcomed. For example, announcements and stories in the E-magazines (Linux world, slashdot...) would be of great. People gifted in the PR- and publication- market are welcome to join the team! Wrt to your bug-report, you may expect a reaction shortly from the source code maintainer. regards, Martin Shahbaz wrote:
I've been trying to get MonetDB to compile on my machine: OSX Tiger (Intel): Macbook Pro.
I downloaded the source code and ran the following command: sudo ./monetdb-install.sh --enable-sql --enable-xquery (both with and without sudo)
The relevant part of the error message is listed at the bottom of this email.
I would stil like to encourage someone to provide a macports port distribution. I have no idea how to set one up, but if I can assist somehow, I'll be happy to do so.
An annoyance and an observation: Traversing source forge's mail archives is a terrible, terrible experience. Has any on thought of switching to google groups? Heck, why not move the whole project there, svn will be a very nice side benefit :)
When I do google searches for MonetDB, ads for Vertica almost always come up. Since Vertica has business savvy people behind it, we should expect to hear a great deal about it....and whenever Vertica is mentioned, someone (like me) will kindly point out that MonetDB is a contender as well :) In other words, prepare for far greater interest in this project.
Lastly, how about an IRC channel for MonetDB!
------------------------------------------------------------------------------------------------------------
compile_jdbc: [echo] Compiling JDBC driver [javac] Compiling 22 source files to /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java [javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetClob.java:35: duplicate class: nl.cwi.monetdb.jdbc.MonetClob [javac] public class MonetClob implements Clob { [javac] ^ [javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:55: duplicate class: nl.cwi.monetdb.jdbc.MonetConnection [javac] public class MonetConnection implements Connection { [javac] ^ [javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2554: duplicate class: nl.cwi.monetdb.jdbc.MonetEmbeddedInstance [javac] class MonetEmbeddedInstance extends Thread { [javac] ^ [javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetDataSource.java:40: duplicate class: nl.cwi.monetdb.jdbc.MonetDataSource [javac] public class MonetDataSource implements DataSource { [javac] ^ [javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java:31: duplicate class: nl.cwi.monetdb.jdbc.MonetDatabaseMetaData [javac] public class MonetDatabaseMetaData implements DatabaseMetaData { [javac] ^ [javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java:3103: duplicate class: nl.cwi.monetdb.jdbc.MonetVirtualResultSet [javac] class MonetVirtualResultSet extends MonetResultSet { [javac] ^ [javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetDriver.java:46: duplicate class: nl.cwi.monetdb.jdbc.MonetDriver [javac] final public class MonetDriver implements Driver { [javac] ^ [javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetPreparedStatement.java:51: duplicate class: nl.cwi.monetdb.jdbc.MonetPreparedStatement [javac] public class MonetPreparedStatement [javac] ^ [javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetResultSet.java:48: duplicate class: nl.cwi.monetdb.jdbc.MonetResultSet [javac] public class MonetResultSet implements ResultSet { [javac] ^ [javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetSavepoint.java:43: duplicate class: nl.cwi.monetdb.jdbc.MonetSavepoint [javac] public class MonetSavepoint implements Savepoint { [javac] ^ [javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetSocketBlockMode.java:56: duplicate class: nl.cwi.monetdb.jdbc.MonetSocketBlockMode [javac] final class MonetSocketBlockMode { [javac] ^ [javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetStatement.java:47: duplicate class: nl.cwi.monetdb.jdbc.MonetStatement [javac] public class MonetStatement implements Statement { [javac] ^ [javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/util/MonetRedirectException.java:23: duplicate class: nl.cwi.monetdb.jdbc.util.MonetRedirectException [javac] public class MonetRedirectException extends Exception { [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 13 errors
BUILD FAILED /private/var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/build.xml:153: Compile failed; see the compiler error output for details.
Total time: 2 seconds make[6]: *** [jar_jdbcclient_ant_target] Error 1 make[5]: *** [all-recursive] Error 1 make[4]: *** [all] Error 2 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 making MonetDB-client failed libtool: unknown option character `-' in: --version Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT] Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename
] [-all_load] [-noall_load] ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users

Hi Shahbaz, On 15-02-2007 21:39:38 -0500, Shahbaz wrote:
I've been trying to get MonetDB to compile on my machine: OSX Tiger (Intel): Macbook Pro.
I downloaded the source code and ran the following command: sudo ./monetdb-install.sh --enable-sql --enable-xquery (both with and without sudo)
Root privileges should *not* be necessary in this case.
I would stil like to encourage someone to provide a macports port distribution. I have no idea how to set one up, but if I can assist somehow, I'll be happy to do so.
Disribution of MonetDB is not as trivial as it seems. For MacPorts (former DarwinPorts) or Fink it might be easier because of their binary viewpoint, though. But you always need people with the expertise on the used packaging method to create and maintain a such package.
An annoyance and an observation: Traversing source forge's mail archives is a terrible, terrible experience. Has any on thought of switching to google groups? Heck, why not move the whole project there, svn will be a very nice side benefit :)
As we say in Dutch: "One shouldn't look into a given horse's mouth." We're very happy for what we get for free from SourceForge, even though it isn't perfect all the time. Also, sidenote: we evaluated switching to svn a while ago and came to the conclusion it is not giving us any benefit, so we'll stay with CVS for at least a long while.
Lastly, how about an IRC channel for MonetDB!
Hehe... most of us don't have time to wast^H^Hspend on that.
compile_jdbc: [echo] Compiling JDBC driver [javac] Compiling 22 source files to /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java [javac] /var/tmp/MonetDB-1171591624/MonetDB-client/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetClob.java:35: duplicate class: nl.cwi.monetdb.jdbc.MonetClob [javac] public class MonetClob implements Clob { [javac] ^
This problem is caused by an old version of the script. At least I thought I had that fixed. What's the output of ./monetdb-install.sh --version? When did you download the sources? If you have a good internet connection you might want to download the latest version of the script from here: http://koala.ins.cwi.nl:8000/projects/monetdb//Assets/monetdb-install.sh and run it like you did. It will download the necessary files, and should pass. Check that you get version 1.7. Let us know if you succeed this way.

Hi Fabian, thanks for you response. I am now getting the following error: monetdb-> select 'hello world'; Error: MALException:chop.newChunkMoreElements:Cannot access 'bid' descriptor MALException:sql_cache.s6_2[480]:Exception not catched (for the "select hello world" command, I tried both single quotes and double quotes). When I try to view tables through DBVisualizer, I get the same exception. I started my client in the following manner: ./mjclient -lsql -u monetdb And my server in the following manner: ./mserver5
include sql;
I also attempted to add a "?debug=true" to jdbc url (as requested in one of the monetdb messages I found on google), as far as I can tell, it didn't produce any log file. Rest of my message is inlined below:
As we say in Dutch: "One shouldn't look into a given horse's mouth." We're very happy for what we get for free from SourceForge, even though it isn't perfect all the time. Also, sidenote: we evaluated switching to svn a while ago and came to the conclusion it is not giving us any benefit, so we'll stay with CVS for at least a long while.
In America we have the same saying about looking a gift horse in the mouth. Lately we have created a better one, "if you don't like your gift, return it and get a better one" :) SourceForge has served the open source community very well, but it is showing its age.
Lastly, how about an IRC channel for MonetDB!
Hehe... most of us don't have time to wast^H^Hspend on that.
What...you don't want to create your own fan club?? :)
When did you download the sources? If you have a good internet connection you might want to download the latest version of the script from here: http://koala.ins.cwi.nl:8000/projects/monetdb//Assets/monetdb-install.sh and run it like you did. It will download the necessary files, and should pass. Check that you get version 1.7.
The version I had was indeed old, even though I only downloaded MonetDB stuff within the last two or three days. Your script worked nicely. It took a while but everything was compiled and installed. My current issue is listed at the top of this email. Again, thanks.

On 16-02-2007 22:57:04 -0500, Shahbaz wrote:
Hi Fabian, thanks for you response.
I am now getting the following error:
monetdb-> select 'hello world'; Error: MALException:chop.newChunkMoreElements:Cannot access 'bid' descriptor MALException:sql_cache.s6_2[480]:Exception not catched
Could you try this with the latest sources, and if it is still there, report this as a bug on our SourceForge bugtracker please? Thanks.
participants (3)
-
Fabian Groffen
-
Martin Kersten
-
Shahbaz