From: Jim Dowling Date: October 22 2007 5:54am Subject: Re: configure fails with AC_PROG_SWIG List-Archive: http://lists.mysql.com/ndb-connectors/238 Message-Id: <471C3B0F.8050805@sics.se> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Monty, No I tried to get the ndbj branch: bzr branch http://...../ndbj and the m4 directory wasn't part of the branch. Can you make it part of the branch or mail me it? Cheers Jim Monty Taylor wrote: > Hey Jim, > > Do you not have it in m4/ac_pkg_swig.m4? > > mtaylor@solace:~/src/ndb-connectors/ndbjmerge/m4$ grep AC_PROG_SWIG * > ac_pkg_swig.m4:dnl @synopsis AC_PROG_SWIG([major.minor.micro]) > ac_pkg_swig.m4:dnl If the version argument is given (e.g. 1.3.17), > AC_PROG_SWIG checks > ac_pkg_swig.m4:dnl AC_PROG_SWIG(1.3.17) > ac_pkg_swig.m4:AC_DEFUN([AC_PROG_SWIG],[ > ac_pkg_swig.m4: AC_REQUIRE([AC_PROG_SWIG]) > ac_pkg_swig.m4: AC_REQUIRE([AC_PROG_SWIG]) > ac_pkg_swig.m4: AC_REQUIRE([AC_PROG_SWIG]) > > If not, perhaps you have a b0rked branch? Did you run ./autogen.sh > before configure? > > Monty > > > Jim Dowling wrote: >> Hi Monty, >> I've tried building ndbconnectors, but it fails with no knowledge of >> the AC_PROG_SWIG macro. Where is it defined? I looked in the m4 files >> and couldn't find it. >> >> jdowling@localhost:~/dev/ndbconnectors/devel$ swig -version >> >> SWIG Version 1.3.31 >> >> Compiled with g++ [i686-pc-linux-gnu] >> Please see http://www.swig.org for reporting bugs and further >> information >> jdowling@localhost:~/dev/ndbconnectors/devel$ ./configure >> checking for a BSD-compatible install... /usr/bin/install -c >> checking whether build environment is sane... yes >> checking for gawk... gawk >> checking whether make sets $(MAKE)... yes >> ./configure: line 2571: syntax error near unexpected token `1.3.31' >> ./configure: line 2571: ` AC_PROG_SWIG(1.3.31)' >> jdowling@localhost:~/dev/ndbconnectors/devel$ >> >> > >