current build fail
current build fail
От:
Tatsuo Ishii <t-ishii@sra.co.jp>
Дата:
I see: /usr/jakarta-ant-1.4.1/bin/ant -buildfile ./build.xml all \ -Dmajor=7 -Dminor=3 -Dfullversion=7.3devel -Ddef_pgport=5432 -Denable_debug=yes Buildfile: ./build.xml BUILD FAILED /usr/local/src/pgsql/current/pgsql/src/interfaces/jdbc/./build.xml:51: Class org.apache.tools.ant.taskdefs.condition.And doesn't support the nested "isset" element. Is my ant 1.4.1 is too old to build PostgreSQL? -- Tatsuo Ishii
Re: current build fail
От:
Thomas O'Dowd <tom@nooper.com>
Дата:
Yeah, it seems to require Ant 1.5 now. This should probably go in the configure script, ie a test for Ant 1.5 if java enabled? Tom. On Mon, 2002-09-02 at 16:30, Tatsuo Ishii wrote: > I see: > > /usr/jakarta-ant-1.4.1/bin/ant -buildfile ./build.xml all \ > -Dmajor=7 -Dminor=3 -Dfullversion=7.3devel -Ddef_pgport=5432 -Denable_debug=yes > Buildfile: ./build.xml > > BUILD FAILED > > /usr/local/src/pgsql/current/pgsql/src/interfaces/jdbc/./build.xml:51: Class org.apache.tools.ant.taskdefs.condition.And doesn't support the nested "isset" element. > > Is my ant 1.4.1 is too old to build PostgreSQL? > -- > Tatsuo Ishii > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly -- Thomas O'Dowd. - Nooping - http://nooper.com tom@nooper.com - Testing - http://nooper.co.jp/labs
Re: current build fail
От:
Tatsuo Ishii <t-ishii@sra.co.jp>
Дата:
> Yeah, it seems to require Ant 1.5 now. Thanks I got Ant 1.5 and now PostgreSQL builds fine. > This should probably go in the > configure script, ie a test for Ant 1.5 if java enabled? Sounds nice idea. -- Tatsuo Ishii
Re: current build fail
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
Tatsuo Ishii wrote: > > Yeah, it seems to require Ant 1.5 now. > > Thanks I got Ant 1.5 and now PostgreSQL builds fine. > > > This should probably go in the > > configure script, ie a test for Ant 1.5 if java enabled? > > Sounds nice idea. Yes, I am going to add a test for >= Ant 1.5 to configure. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
Re: current build fail
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
Patch applied to test for Ant >= 1.5. Autconf run.
---------------------------------------------------------------------------
Bruce Momjian wrote:
> Tatsuo Ishii wrote:
> > > Yeah, it seems to require Ant 1.5 now.
> >
> > Thanks I got Ant 1.5 and now PostgreSQL builds fine.
> >
> > > This should probably go in the
> > > configure script, ie a test for Ant 1.5 if java enabled?
> >
> > Sounds nice idea.
>
> Yes, I am going to add a test for >= Ant 1.5 to configure.
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman@candle.pha.pa.us | (610) 359-1001
> + If your life is a hard drive, | 13 Roberts Road
> + Christ can be your backup. | Newtown Square, Pennsylvania 19073
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Index: configure.in
===================================================================
RCS file: /cvsroot/pgsql-server/configure.in,v
retrieving revision 1.200
diff -c -c -r1.200 configure.in
*** configure.in 30 Aug 2002 17:14:30 -0000 1.200
--- configure.in 2 Sep 2002 16:09:11 -0000
***************
*** 381,386 ****
--- 381,389 ----
PGAC_PATH_ANT
if test -z "$ANT"; then
AC_MSG_ERROR([Ant is required to build Java components])
+ fi
+ if "$ANT" -version | sed q | egrep -v ' 1\.[[5-9]]| [[2-9]]\.' >/dev/null ; then
+ AC_MSG_ERROR([Ant version >= 1.5 is required to build Java components])
fi],
[AC_MSG_RESULT(no)])
AC_SUBST(with_java)
***************
*** 835,841 ****
HPUXMATHLIB=""
case $host_cpu in
hppa1.1)
! if [[ -r /lib/pa1.1/libm.a ]] ; then
HPUXMATHLIB="-L /lib/pa1.1 -lm"
fi ;;
esac
--- 838,844 ----
HPUXMATHLIB=""
case $host_cpu in
hppa1.1)
! if test -r /lib/pa1.1/libm.a ; then
HPUXMATHLIB="-L /lib/pa1.1 -lm"
fi ;;
esac
***************
*** 931,937 ****
dnl If we need to use "long long int", figure out whether nnnLL notation works.
! if [[ x"$HAVE_LONG_LONG_INT_64" = xyes ]] ; then
AC_TRY_COMPILE([
#define INT64CONST(x) x##LL
long long int foo = INT64CONST(0x1234567890123456);
--- 934,940 ----
dnl If we need to use "long long int", figure out whether nnnLL notation works.
! if test x"$HAVE_LONG_LONG_INT_64" = xyes ; then
AC_TRY_COMPILE([
#define INT64CONST(x) x##LL
long long int foo = INT64CONST(0x1234567890123456);