[Monetdb-developers] Installation troubles Mac OSX 10.6.6
Hello, I am trying to install the newest monetdb system with the single bootstrap/configure on my Mac. This does not work as good as it used to be. First when I do ./bootstrap I get the message that the libtoolize cannot be found. This is not installed on Mac OS, the default here is glibtoolize (version = 2.2.4). When using a package managers like fink libtoolize may be already installed in /sw because other packages need it. My solution was to temporary change the bootstrap file. The next problem is that it cannot find the libiconv package. I have libiconv installed in the monetdb prefix but i get the message: configure.ac:2255: error: possibly undefined macro: AM_ICONV When I remove this macro from bootstrap I get the message: configure.ac:152: error: possibly undefined macro: AC_MSG_ERROR This is a hard one because this is a standard macro, What could be wrong here? Jan Flokstra.
Hi Jan, On 02-02-2011 10:10:54 +0100, Jan Flokstra wrote:
I am trying to install the newest monetdb system with the single bootstrap/configure on my Mac. This does not work as good as it used to be. First when I do ./bootstrap I get the message that the libtoolize cannot be found. This is not installed on Mac OS, the default here is glibtoolize (version = 2.2.4). When using a package managers like fink libtoolize may be already installed in /sw because other packages need it. My solution was to temporary change the bootstrap file.
Thanks, this should be easy to fix.
The next problem is that it cannot find the libiconv package. I have libiconv installed in the monetdb prefix but i get the message:
You need to have this iconv.m4 file in your aclocal inclusion path. (-I) iconv.m4 is provided by the gettext package, you'll need the development version of that for sure to get this .m4 file. You can copy the iconv.m4 into the dir where the bootstrap script resides, or in buildtools/conf. I'll add some variable so you can add the system location of the m4 files yourself.
Hi Fabian, Thanks. I copied the iconv.m4 file to the bootstrap directory. This iconv.m4 was from the libiconv developer version which I also installed in he monetdb prefix. This seems to work but triggers a lot of other macro errors. Do I need to copy more m4 files? I also still get the AC_MSG_ERROR macro error, configure.ac:2255: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd iconv.m4:18: AM_ICONV_LINKFLAGS_BODY is expanded from... iconv.m4:152: AM_ICONV_LINK is expanded from... iconv.m4:180: AM_ICONV is expanded from... configure.ac:2255: the top level configure.ac:2255: warning: AC_LIB_RPATH is m4_require'd but not m4_defun'd configure.ac:2255: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd iconv.m4:18: AM_ICONV_LINKFLAGS_BODY is expanded from... iconv.m4:152: AM_ICONV_LINK is expanded from... iconv.m4:180: AM_ICONV is expanded from... configure.ac:2255: the top level configure.ac:2255: warning: AC_LIB_RPATH is m4_require'd but not m4_defun'd configure.ac:2255: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd iconv.m4:18: AM_ICONV_LINKFLAGS_BODY is expanded from... iconv.m4:152: AM_ICONV_LINK is expanded from... iconv.m4:180: AM_ICONV is expanded from... configure.ac:2255: the top level configure.ac:2255: warning: AC_LIB_RPATH is m4_require'd but not m4_defun'd configure.ac:27: installing `buildtools/conf/config.sub' configure.ac:27: installing `buildtools/conf/config.guess' configure.ac:2255: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd iconv.m4:18: AM_ICONV_LINKFLAGS_BODY is expanded from... iconv.m4:152: AM_ICONV_LINK is expanded from... iconv.m4:180: AM_ICONV is expanded from... configure.ac:2255: the top level configure.ac:2255: warning: AC_LIB_RPATH is m4_require'd but not m4_defun'd configure.ac:152: error: possibly undefined macro: AC_MSG_ERROR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure:23921: error: possibly undefined macro: AC_LIB_PREPARE_PREFIX configure:23922: error: possibly undefined macro: AC_LIB_RPATH configure:23927: error: possibly undefined macro: AC_LIB_LINKFLAGS_BODY configure:23935: error: possibly undefined macro: AC_LIB_APPENDTOVAR Regards, Jan. On Feb 2, 2011, at 10:56 AM, Fabian Groffen wrote:
Hi Jan,
On 02-02-2011 10:10:54 +0100, Jan Flokstra wrote:
I am trying to install the newest monetdb system with the single bootstrap/configure on my Mac. This does not work as good as it used to be. First when I do ./bootstrap I get the message that the libtoolize cannot be found. This is not installed on Mac OS, the default here is glibtoolize (version = 2.2.4). When using a package managers like fink libtoolize may be already installed in /sw because other packages need it. My solution was to temporary change the bootstrap file.
Thanks, this should be easy to fix.
The next problem is that it cannot find the libiconv package. I have libiconv installed in the monetdb prefix but i get the message:
You need to have this iconv.m4 file in your aclocal inclusion path. (-I) iconv.m4 is provided by the gettext package, you'll need the development version of that for sure to get this .m4 file.
You can copy the iconv.m4 into the dir where the bootstrap script resides, or in buildtools/conf. I'll add some variable so you can add the system location of the m4 files yourself.
------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
On 02-02-2011 11:11:47 +0100, Jan Flokstra wrote:
Thanks. I copied the iconv.m4 file to the bootstrap directory. This iconv.m4 was from the libiconv developer version which I also installed in he monetdb prefix. This seems to work but triggers a lot of other macro errors. Do I need to copy more m4 files? I also still get the AC_MSG_ERROR macro error,
You probably just need updated copies of those macros. Hard to pinpoint any cause, you just need an up-to-date toolset in general. I committed fixes for you here: http://dev.monetdb.org/hg/MonetDB/rev/f02c1141aeeb
Hi Fabian, Thanks, I downloaded the patch and it solves the first 2 problems. I now have the M4DIRS variable set and nearly all error messages are gone. There is only one left: configure.ac:152: error: possibly undefined macro: AC_MSG_ERROR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. I googled on this error and there are long of discussion about this, For instance: http://old.nabble.com/Bug:-%22possibly-undefined-macro:-AC_MSG_ERROR%22-td15... It looks like some weird version mismatch which is hard to reproduce and leads to frustrating discussions. I will try to update the MacOS autoconf to a newer version and hope this solves the problem, Regards, Jan. On Feb 2, 2011, at 11:16 AM, Fabian Groffen wrote:
On 02-02-2011 11:11:47 +0100, Jan Flokstra wrote:
Thanks. I copied the iconv.m4 file to the bootstrap directory. This iconv.m4 was from the libiconv developer version which I also installed in he monetdb prefix. This seems to work but triggers a lot of other macro errors. Do I need to copy more m4 files? I also still get the AC_MSG_ERROR macro error,
You probably just need updated copies of those macros. Hard to pinpoint any cause, you just need an up-to-date toolset in general.
I committed fixes for you here: http://dev.monetdb.org/hg/MonetDB/rev/f02c1141aeeb
------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
participants (2)
-
Fabian Groffen
-
Jan Flokstra