[Monetdb-developers] bootstrap problems

Martin Kersten Martin.Kersten at cwi.nl
Wed Dec 27 11:17:29 CET 2006


I hope that you are working on the stable branch, but the errors
reported hint into a different direction.

As announced last Friday we are in a big cleanup mode, which lead
to a different organization of packages. The immediate benefits are
faster compilation, reduction of dependencies, and better transition to
the M5 line.
This process is still in full swing and will shortly be complemented
with a new HowToInstall document.

For the time being, you may use the following script/advice of Niels.

-------------- run this helper script in the root of your tree---

#export COMP=ntv
export BITS=64

if [ "$x" = "-" ]; then


if [ -z $BUILDTOOLS_PREFIX ]; then
export PYTHONPATH=$pdir/`python -c 'import distutils.sysconfig; print distutils.

export BUILDTOOLS_BUILD=$pdir/build-buildtools
export MONETDB_PREFIX=$pdir
export MONETDB_BUILD=$pdir/build-monetdb
export CLIENTS_PREFIX=$pdir
export CLIENTS_BUILD=$pdir/build-clients
export MONET4_PREFIX=$pdir
export MONET4_BUILD=$pdir/build-monet4
export SQL_PREFIX=$pdir
export SQL_BUILD=$pdir/build-sql
cd $dir/buildtools
source $dir/buildtools/conf/conf.bash
cd $dir/MonetDB
source $dir/buildtools/conf/conf.bash
cd $dir/clients
source $dir/buildtools/conf/conf.bash
cd $dir/monet4
source $dir/buildtools/conf/conf.bash
cd $dir/sql
source $dir/buildtools/conf/conf.bash


This will set up the necessary variables *BUILD and *PREFIX
and sources the conf/conf.bash for the packages needed.

Start with building the buildtools in $BUILDTOOLS-BUILD
i.e. in that location perform configure_buildtools, make, make install

The next package is MonetDB, which holds common stuff, so
cd $MONETDB_BUILD, configure_MonetDB, make, make install

It is advisable to start with a fresh shell and re-run
the script above to reset the variables and create proper
directories for others.

 From here you build 'clients', 'monet4',  'SQL','pathfinder'

For M5 users, the sequence is 'clients','monet5','SQL'

Please report on errors, as we are accumulating a log
of end-user experiences with the aim to lower the threshold
for anybody to rebuild the source trees from scratch.

regards, Martin
Manuel Mayr wrote:
> Hi all,
> yesterday I updated buildtools, MonetDB and I checked out the MonetDB4 
> module. buildtools and MonetDB working fine after i updated autoconf and 
> automake to the newest versions but with MonetDB4 i get the errors 
> described in the attachment.
> Regards,
> 	Manuel
> ------------------------------------------------------------------------
> using /usr/bin/glibtool and /usr/bin/glibtoolize.
> automake 1.10 is 1.7 or newer. Good.
> autoconf 2.61 is 2.57 or newer. Good.
> libtool 1.5 is 1.4 or newer. Good.
> Python 2.3.5 is 2.0.0 or newer. Good.
> /Users/mayrm/workspace/thesis/official-branch/MonetDB4/src
> /Users/mayrm/workspace/thesis/official-branch/MonetDB4/src/monet
> /Users/mayrm/workspace/thesis/official-branch/MonetDB4/src/modules
> /Users/mayrm/workspace/thesis/official-branch/MonetDB4/src/modules/plain
> /Users/mayrm/workspace/thesis/official-branch/MonetDB4/src/modules/contrib
> /Users/mayrm/workspace/thesis/official-branch/MonetDB4/src/modules/calibrator
> /Users/mayrm/workspace/thesis/official-branch/MonetDB4/src/modules/mnetcdf
> /Users/mayrm/workspace/thesis/official-branch/MonetDB4/src/mapi
> /Users/mayrm/workspace/thesis/official-branch/MonetDB4/src/tools
> /Users/mayrm/workspace/thesis/official-branch/MonetDB4/conf
> /Users/mayrm/workspace/thesis/official-branch/MonetDB4/scripts
> /Users/mayrm/workspace/thesis/official-branch/MonetDB4/scripts/tools
> Putting files in AC_CONFIG_AUX_DIR, `conf'.
> /opt/local/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
> /opt/local/share/aclocal/libmcrypt.m4:17:   run info '(automake)Extending aclocal'
> /opt/local/share/aclocal/libmcrypt.m4:17:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
> patching file aclocal.m4
> Hunk #1 succeeded at 423 (offset -5963 lines).
> src/modules/Makefile.am:13: NOT_WIN32 does not appear in AM_CONDITIONAL
> src/modules/contrib/Makefile.am:12: NOT_WIN32 does not appear in AM_CONDITIONAL
> src/modules/contrib/Makefile.am:184: NOT_WIN32 does not appear in AM_CONDITIONAL
> src/modules/contrib/Makefile.am:477: NOT_WIN32 does not appear in AM_CONDITIONAL
> ------------------------------------------------------------------------
> -------------------------------------------------------------------------
> 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-developers mailing list
> Monetdb-developers at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-developers

More information about the developers-list mailing list