Salimane Adjao Moustapha wrote:
> Hi
> i was compiling drizzle on karmic koala and got this error.
> any ideas ?
> 
> $ ./config/autorun.sh
> Grabbing changelog and version information from bzr
> ./config/autorun.sh: running `python config/register_plugins.py'
> ./config/autorun.sh: running `/usr/bin/libtoolize --automake --copy
> --force'
> ./config/autorun.sh: running `/usr/bin/aclocal-1.10 -I m4'
> configure.ac:30 <http://configure.ac:30>: error: m4_divert_push: cannot
> change diversion to `GROW' inside m4_expand
> configure.ac:30 <http://configure.ac:30>: the top level
> autom4te: /usr/bin/m4 failed with exit status: 1
> aclocal-1.10: autom4te failed with exit status: 1
> Can't execute aclocal

Yes - it's a bug in our configure.ac script when run with autoconf 2.64,
which is new in karmic. I have a patch for this which will be in the
tree Monday or Tuesday.

I'm attaching the patch just for reference, or in case you want to apply
it to get past this.

Monty
=== modified file 'configure.ac'
--- configure.ac	2009-07-27 17:26:22 +0000
+++ configure.ac	2009-07-29 05:25:53 +0000
@@ -27,7 +27,7 @@
 PANDORA_CANONICAL_TARGET(less-warnings, warnings-always-on, use-gnulib, require-cxx, force-gcc42)
 
 # Version with no dots
-AC_DEFINE([DRIZZLE_VERSION_ID],[RELEASE_ID],
+AC_DEFINE([DRIZZLE_VERSION_ID],RELEASE_ID,
 	  [Version ID that can be easily used for numeric comparison])
 
 AC_DEFINE([_BACKWARD_BACKWARD_WARNING_H],[1],[Hack to disable deprecation warning in gcc])

=== modified file 'm4/pandora_canonical.m4'
--- m4/pandora_canonical.m4	2009-07-28 18:59:08 +0000
+++ m4/pandora_canonical.m4	2009-07-29 05:25:53 +0000
@@ -4,7 +4,7 @@
 dnl with or without modifications, as long as this notice is preserved.
 
 dnl Which version of the canonical setup we're using
-AC_DEFUN([PANDORA_CANONICAL_VERSION],[0.33])
+AC_DEFUN([PANDORA_CANONICAL_VERSION],[0.34])
 
 AC_DEFUN([PANDORA_FORCE_DEPEND_TRACKING],[
   dnl Force dependency tracking on for Sun Studio builds
@@ -63,7 +63,7 @@
 
   dnl Once we can use a modern autoconf, we can use this
   dnl AC_PROG_CC_C99
-  AC_PROG_CXX
+  AC_REQUIRE([AC_PROG_CXX])
   AC_PROG_CPP
   AM_PROG_CC_C_O
 

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to