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.