This has me foxed.
I can build the source on one machine, Numbat. On another, Dugite it fails. I'm using the same script (copied from Numbat to Dugite for the occasion). Both systems are running Red Hat Linux; Dugite was upgraded from RHL 6.2, Numbat was a fresh install. I'm building from a tarball I created from my most recent CVS update. The tarball is on an NFS-shared filesystem, so it's the same tarball in both instances. I built the same source tree on Numbat a short while before I set about building it on Dugite. Here is the script: [pgtest@numbat pgtest]$ cat bin/pg.build #!/bin/bash PREFIX=${HOME}/postgresql export JAVA_HOME=/opt/IBMJava2-13 set -e cd /tmp/ JAVA=--with-java #JAVA= rm -rf pgsql tar xf ~summer/cvs/pgsql.tar.bz2 --bzip2 cd pgsql/ ./configure --prefix=${PREFIX} \ --with-perl \ --with-tcl \ --with-odbc \ --with-python \ --with-pgport=5433 \ --with-CXX \ --enable-syslog \ --enable-debug \ --enable-cassert \ ${JAVA} \ --sysconfdir=${HOME}/postgresql/pgsql/etc \ --datadir=${HOME}/postgresql/pgsql make -s make -s -C doc make -s check rm -rf ${PREFIX} make -s install make -s install-all-headers # ake -s dist ls -l cd .. #rm -rf pgsql [pgtest@numbat pgtest]$ It fails like this: configure:1946: checking for jakarta-ant configure:1946: checking for ant configure:1983: checking whether /usr/bin/ant works configure:2006: /usr/bin/ant -buildfile conftest.xml 1>&2 Buildfile: conftest.xml Project base dir set to: /tmp/pgsql Executing Target: conftest BUILD FATAL ERROR: destdir attribute must be set! configure: failed java program was: public class conftest { int testmethod(int a, int b) { return a + b; } } configure: failed build file was: <project name="conftest" default="conftest"> <target name="conftest"> <javac srcdir="." includes="conftest.java"> </javac> </target> </project> ~ ~ ~ I've not checked closely, but to the point of this line Buildfile: conftest.xml the config.log files seem identical. At least, there's no failure to that point. Both systems have the same version of ant - I already fixed that problem. [pgtest@numbat pgtest]$ rpm -q ant; ssh dugite rpm -q ant ant-1.3-4 ant-1.3-4 [pgtest@numbat pgtest]$ They have different versions of IBM Java2: [pgtest@numbat pgtest]$ ssh dugite rpm -qa | grep IBM IBMJava2-SDK-1.3-7.0 [pgtest@numbat pgtest]$ rpm -qa | grep IBM IBMJava2-SDK-1.3-5.0 [pgtest@numbat pgtest]$ Note that on Dugite, where the build fails, I have the newer Java. In desperation, and because it's all I can see, I updated Dugite to the older Java. Still the build fails in the same way. fwiw the rpm postgresql-7.1.3-1PGDG.src.rpm builds just fine on Dugite - the software set is adequate for that task. ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org