Re: JDBC and Perl compiling problems w/ postgresql-7.1rc4

From: Marko Kreen <marko(at)l-t(dot)ee>
To: "Homayoun Yousefi'zadeh" <homayounyz(at)home(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: JDBC and Perl compiling problems w/ postgresql-7.1rc4
Date: 2001-04-10 19:20:20
Message-ID: 20010410212020.A30850@l-t.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-jdbc

On Mon, Apr 09, 2001 at 03:33:19PM -0700, Homayoun Yousefi'zadeh wrote:
>
> I first ran configure with the following options
>
> ./configure --with-perl --with-tcl --enable-odbc --with-java
> --enable-syslog --enable-debug
>
> and then compiled postgresql-7.1rc4 on Redhat 7.0 successfully
> with the exceptions in JDBC and Perl modules as
> indicated below.

> BUILD FAILED
>
> /usr/pgsql-pkg/postgresql-7.1rc4/src/interfaces/jdbc/build.xml:99:
> Cannot use classic compiler, as it is not available
>

(using jdk 1.3)

Seems like you dont have JAVA_HOME/lib/tools.jar in Ant's classpath.

Next, if you have Ant 1.2 (especially Debian's) & jdk1.3 (well, you
have this one) and have problems with:

1) undefined ${major}

or

2) Zip* error: cannot create archive with no entries (from memory,
cant remember exact message)

then use this patch:

http://www.l-t.ee/marko/ant12.diff

[for some reason (core people did not have this configuretion)]
it did not reach main tree.

--
marko

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kalle Plopp 2001-04-10 19:27:50 point-in-time restore
Previous Message will trillich 2001-04-10 19:06:10 Re: personel appliactions?

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Kreen 2001-04-10 19:32:33 Re: Going from 7.0.3 -> 7.1 ...
Previous Message The Hermit Hacker 2001-04-10 18:59:03 Re: HOLD THE PRESSES!! ... pg_dump from v7.0.3 can't import to v7.1?

Browse pgsql-jdbc by date

  From Date Subject
Next Message Homayoun Yousefi'zadeh 2001-04-10 23:38:28 Re: JDBC and Perl compiling problems w/ postgresql-7.1rc4
Previous Message Thomas Lockhart 2001-04-10 17:38:17 Re: JDBC and Perl compiling problems w/ postgresql-7.1rc4