[MonetDB-users] Compile: buildtools -> hard, MonetDB -> fails
Hello,
it took me quite a while to compile the build tools, since the make process failed without any meaningful error messages, but I cannot build Monetdb. I'd expect the configure script to fail with a descriptive error message if required packages (in my case 'libtool', 'flex') are missing.
prefix="${HOME}/opt/MonetDB" cvs -d:pserver:anonymous@monetdb.cvs.sourceforge.net:/cvsroot/monetdb checkout buildtools
[...]
pushd buildtools ./bootstrap
[...] ./bootstrap: line 29: libtoolize: command not found [...]
The message about a missing 'libtoolize' is easily overlooked, and configure was running fine anyway:
./configure --prefix="${prefix}"
[...]
But the make fails
make
[...] /tmp/sk/2/buildtools/mel/mel.yy:331: undefined reference to `mel_yyerror(char const*)' [...] make: *** [all] Error 2
In case you don't know that 'yyerror' hints at flex, you're lost. Well, I figured that out and went on:
make install popd
Then I tried to continue with MonetDB:
cvs -d:pserver:anonymous@monetdb.cvs.sourceforge.net:/cvsroot/monetdb checkout MonetDB pushd MonetDB ./bootstrap
automake 1.10.1 is 1.7 or newer. Good. autoconf 2.61 is 2.57 or newer. Good. libtool 1.5.26Debian1.5.26-4 is 1.4 or newer. Good. Python 2.5.2 is 2.0.0 or newer. Good. Traceback (most recent call last): File "/home/sk/opt/MonetDB/bin/autogen.py", line 29, in <module> from autogen import am ImportError: No module named autogen
Now this leaves me completely clueless... Any help wouldbe appreciated.
Kind regards, Stefan
On Wed, Jul 16, 2008 at 04:21:40PM +0200, Stefan Klinger wrote:
Hello,
it took me quite a while to compile the build tools, since the make process failed without any meaningful error messages, but I cannot build Monetdb. I'd expect the configure script to fail with a descriptive error message if required packages (in my case 'libtool', 'flex') are missing.
prefix="${HOME}/opt/MonetDB" cvs -d:pserver:anonymous@monetdb.cvs.sourceforge.net:/cvsroot/monetdb checkout buildtools
[...]
pushd buildtools ./bootstrap
[...] ./bootstrap: line 29: libtoolize: command not found [...]
The message about a missing 'libtoolize' is easily overlooked, and configure was running fine anyway:
./configure --prefix="${prefix}"
[...]
But the make fails
make
[...] /tmp/sk/2/buildtools/mel/mel.yy:331: undefined reference to `mel_yyerror(char const*)' [...] make: *** [all] Error 2
In case you don't know that 'yyerror' hints at flex, you're lost. Well, I figured that out and went on:
make install popd
Then I tried to continue with MonetDB:
cvs -d:pserver:anonymous@monetdb.cvs.sourceforge.net:/cvsroot/monetdb checkout MonetDB pushd MonetDB ./bootstrap
automake 1.10.1 is 1.7 or newer. Good. autoconf 2.61 is 2.57 or newer. Good. libtool 1.5.26Debian1.5.26-4 is 1.4 or newer. Good. Python 2.5.2 is 2.0.0 or newer. Good. Traceback (most recent call last): File "/home/sk/opt/MonetDB/bin/autogen.py", line 29, in <module> from autogen import am ImportError: No module named autogen
Now this leaves me completely clueless... Any help wouldbe appreciated.
from buildtools/README " In particular, see autogen/README for how to set your PYTHONPATH in case ./bootstrap of MonetDB, sql, pathfinder, etc. fails to find the autogen module with the default settings. "
Stefan
ps: We'll also have a look into the other issues and try to make bootstrap fail more obviously in case required tools are not present...
Kind regards, Stefan
-- Stefan Klinger o/klettern // bis zum send plaintext only - max size 32kB - no spam \ Abfallen http://stefan-klinger.de
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
On 17-07-2008 09:55:59 +0200, Stefan Manegold wrote:
On Wed, Jul 16, 2008 at 04:21:40PM +0200, Stefan Klinger wrote:
Hello,
it took me quite a while to compile the build tools, since the make process failed without any meaningful error messages, but I cannot build Monetdb. I'd expect the configure script to fail with a descriptive error message if required packages (in my case 'libtool', 'flex') are missing.
[...] ./bootstrap: line 29: libtoolize: command not found [...]
The message about a missing 'libtoolize' is easily overlooked, and configure was running fine anyway:
buildtools is AFAICT only meant for experts. An expert immediately recognises this message.
[...] /tmp/sk/2/buildtools/mel/mel.yy:331: undefined reference to `mel_yyerror(char const*)' [...] make: *** [all] Error 2
In case you don't know that 'yyerror' hints at flex, you're lost. Well, I figured that out and went on:
idem
Then I tried to continue with MonetDB:
cvs -d:pserver:anonymous@monetdb.cvs.sourceforge.net:/cvsroot/monetdb checkout MonetDB pushd MonetDB ./bootstrap
automake 1.10.1 is 1.7 or newer. Good. autoconf 2.61 is 2.57 or newer. Good. libtool 1.5.26Debian1.5.26-4 is 1.4 or newer. Good. Python 2.5.2 is 2.0.0 or newer. Good. Traceback (most recent call last): File "/home/sk/opt/MonetDB/bin/autogen.py", line 29, in <module> from autogen import am ImportError: No module named autogen
Now this leaves me completely clueless... Any help wouldbe appreciated.
from buildtools/README " In particular, see autogen/README for how to set your PYTHONPATH in case ./bootstrap of MonetDB, sql, pathfinder, etc. fails to find the autogen module with the default settings. "
Or, just use the monetdb-install.sh script. Why are you going through the hassle of CVS sources at all? Your life (as obvious non-expert) could be so much easier if you'd let monetdb-install.sh install a nightly for you, which requires less tools, and no buildtools.
Stefan (et al.),
of course, also experts are welcome to use the monetdb-install.sh script for convenience ;-)
See http://monetdb.cwi.nl/projects/monetdb/Download/index.html for details.
In case you prefer to use the CVS sources, and you do not require the latest cutting-edge (potentially instable) development version we recommend to checkout the latest Stable branches. I ust realize that the respective branch tags are not (yet?) listed on the MonetDB web site, hence I'll share them here:
buildtools: MonetDB_1-24 MonetDB: MonetDB_1-24 clients: Clients_1-24 MonetDB4: MonetDB_4-24 MonetDB5: MonetDB_5-6 pathfinder: XQuery_0-24 sql: SQL_2-24 geom: Geom_0-4
Stefan
On Thu, Jul 17, 2008 at 10:46:05AM +0200, Fabian Groffen wrote:
On 17-07-2008 09:55:59 +0200, Stefan Manegold wrote:
On Wed, Jul 16, 2008 at 04:21:40PM +0200, Stefan Klinger wrote:
Hello,
it took me quite a while to compile the build tools, since the make process failed without any meaningful error messages, but I cannot build Monetdb. I'd expect the configure script to fail with a descriptive error message if required packages (in my case 'libtool', 'flex') are missing.
[...] ./bootstrap: line 29: libtoolize: command not found [...]
The message about a missing 'libtoolize' is easily overlooked, and configure was running fine anyway:
buildtools is AFAICT only meant for experts. An expert immediately recognises this message.
[...] /tmp/sk/2/buildtools/mel/mel.yy:331: undefined reference to `mel_yyerror(char const*)' [...] make: *** [all] Error 2
In case you don't know that 'yyerror' hints at flex, you're lost. Well, I figured that out and went on:
idem
Then I tried to continue with MonetDB:
cvs -d:pserver:anonymous@monetdb.cvs.sourceforge.net:/cvsroot/monetdb checkout MonetDB pushd MonetDB ./bootstrap
automake 1.10.1 is 1.7 or newer. Good. autoconf 2.61 is 2.57 or newer. Good. libtool 1.5.26Debian1.5.26-4 is 1.4 or newer. Good. Python 2.5.2 is 2.0.0 or newer. Good. Traceback (most recent call last): File "/home/sk/opt/MonetDB/bin/autogen.py", line 29, in <module> from autogen import am ImportError: No module named autogen
Now this leaves me completely clueless... Any help wouldbe appreciated.
from buildtools/README " In particular, see autogen/README for how to set your PYTHONPATH in case ./bootstrap of MonetDB, sql, pathfinder, etc. fails to find the autogen module with the default settings. "
Or, just use the monetdb-install.sh script. Why are you going through the hassle of CVS sources at all? Your life (as obvious non-expert) could be so much easier if you'd let monetdb-install.sh install a nightly for you, which requires less tools, and no buildtools.
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
participants (3)
-
Fabian Groffen
-
Stefan Klinger
-
Stefan Manegold