Hi Monty,
Seem to have gotten over that hurdle.
I needed to call the autogen.sh to get it to work. Normal sequence of :
aclocal, automake --add-missing, autoconf, configure didn't work.
Now I have another issue.
I'm confused about the "--with-java" switch for configure. Firstly, it
shouldn't point to the ruby binary (as help file suggests).
I tried pointing it to my JDK_HOME directory, but the JNI_INCLUDES
header directories don't get generated in the makefiles, so
building fails with "jlong/jint" unrecognized types.
If I just let configure search for java, it fails with the following:
jdowling@localhost:~/dev/ndbconnectors/devel$ ./configure
--with-mysql=/usr/local/mysql-5.1.23-rc-linux-i686-glibc23/
......
checking for gcj... no
checking for guavac... no
checking for jikes... no
checking for javac... javac
checking if javac works... yes
checking for jar... jar
checking for kaffe... no
checking for java... java
checking for uudecode... no
configure: WARNING: I have to compile Test.class from scratch
checking if java works... configure: error: The Java VM java failed (see
config.log, check the CLASSPATH?)
jdowling@localhost:~/dev/ndbconnectors/devel$
Any ideas about which of those many m4 macros is tripping up here.
I have a 1.6 JDK installed in /usr/java/jdk
Jim
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$
>
>
--
Regards,
__________________
Jim Dowling, Ph.D.
Swedish Institute of Computer Science
Box 1263, SE-164 29 Kista, Sweden
Phone +46 8 6331694
Fax +46 8 751 7230
http://www.sics.se/~jdowling/