can't install DBReplicator -> configure: error: *ant* command could be found

can't install DBReplicator

my test server centos5.0

I ready from document on http://dbreplicator.org/DBReplicatorManual/x147.html#AEN152
when I run #> ./configure I get the following


checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for gawk... gawk
checking for sed... sed
checking for java... /usr/bin/java
checking for javac... /usr/bin/javac
checking for jar... /usr/bin/jar
checking for ant... no
checking for bash... /bin/bash
checking for pkgwrite... no
checking for docbook2pdf... no
checking for gzip... gzip
checking for bzip2... bzip2
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for dh_testdir... no
checking for dh_testroot... no
checking for dh_clean... no
checking for dh_installdirs... no
checking for dh_installchangelogs... no
checking for dh_installdocs... no
checking for dh_installexamples... no
checking for dh_install... no
checking for dh_installmenu... no
checking for dh_installdebconf... no
checking for dh_installlogrotate... no
checking for dh_installemacsen... no
checking for dh_installpam... no
checking for dh_installmime... no
checking for dh_installinit... no
checking for dh_installcron... no
checking for dh_installinfo... no
checking for dh_installman... no
checking for dh_link... no
checking for dh_strip... no
checking for dh_compress... no
checking for dh_fixperms... no
checking for dh_perl... no
checking for dh_python... no
checking for dh_makeshlibs... no
checking for dh_installdeb... no
checking for dh_shlibdeps... no
checking for dh_gencontrol... no
checking for dh_md5sums... no
checking for dh_builddeb... no
configure: error: *ant* command could be found
./configure: line 5130: exit: exiting...: numeric argument required
./configure: line 5130: exit: exiting...: numeric argument required

Can anyone help me? I'm really at a loss.
Thanks.

Update I install ant # yum

Update
I install ant


# yum install ant

Installing:
ant i386 1.6.5-2jpp.2 base 2.0 M
Installing for dependencies:
xml-commons i386 1.3.02-0.b2.7jpp.10 base 19 k
xml-commons-apis i386 1.3.02-0.b2.7jpp.10 base 334 k

now I can run ./configure no error


checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for gawk... gawk
checking for sed... sed
checking for java... /usr/bin/java
checking for javac... /usr/bin/javac
checking for jar... /usr/bin/jar
checking for ant... /usr/bin/ant
checking for bash... /bin/bash
checking for pkgwrite... no
checking for docbook2pdf... no
checking for gzip... gzip
checking for bzip2... bzip2
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for dh_testdir... no
checking for dh_testroot... no
checking for dh_clean... no
checking for dh_installdirs... no
checking for dh_installchangelogs... no
checking for dh_installdocs... no
checking for dh_installexamples... no
checking for dh_install... no
checking for dh_installmenu... no
checking for dh_installdebconf... no
checking for dh_installlogrotate... no
checking for dh_installemacsen... no
checking for dh_installpam... no
checking for dh_installmime... no
checking for dh_installinit... no
checking for dh_installcron... no
checking for dh_installinfo... no
checking for dh_installman... no
checking for dh_link... no
checking for dh_strip... no
checking for dh_compress... no
checking for dh_fixperms... no
checking for dh_perl... no
checking for dh_python... no
checking for dh_makeshlibs... no
checking for dh_installdeb... no
checking for dh_shlibdeps... no
checking for dh_gencontrol... no
checking for dh_md5sums... no
checking for dh_builddeb... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating doc/Makefile
config.status: creating doc/sgml/Makefile
config.status: creating doc/sgml/DBReplicatorManual.sgml
config.status: creating doc/sgml/DBReplicatorAPI.sgml
config.status: creating etc/Makefile
config.status: creating java/Makefile
config.status: creating lib/Makefile
config.status: creating scripts/Makefile
config.status: creating scripts/dbreplicator
config.status: creating scripts/publisher.debian
config.status: creating scripts/subscriber.debian

but when I run make


make[1]: Entering directory `/root/ed2/dbreplicator/java'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/ed2/dbreplicator/java'
make[1]: Entering directory `/root/ed2/dbreplicator/doc'
make[2]: Entering directory `/root/ed2/dbreplicator/doc/sgml'
building DBReplicatorAPI.pdf....
/bin/sh: pdf: command not found
make[2]: *** [DBReplicatorAPI.pdf] Error 127
make[2]: Leaving directory `/root/ed2/dbreplicator/doc/sgml'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/ed2/dbreplicator/doc'
make: *** [all] Error 2

That's a broken

That's a broken makefile...I'll have to fix it. It's only breaking on building the docbook documentation though, so you could do:

$> make jarfile

or

$> cd java
$> make

although I'm not sure if make install will want to do the right thing. I've fixed the makefile in cvs so that it only builds and installs the documentation if configure finds the docbook utilities installed on your build system.

Powered by Drupal - Theme by Danger4k