Re: JDBC and Perl compiling problems w/ postgresql-7.1rc4 - Mailing list pgsql-general

From Marko Kreen
Subject Re: JDBC and Perl compiling problems w/ postgresql-7.1rc4
Date
Msg-id 20010410212020.A30850@l-t.ee
Whole thread Raw
In response to JDBC and Perl compiling problems w/ postgresql-7.1rc4  ("Homayoun Yousefi'zadeh" <homayounyz@home.com>)
List pgsql-general
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


pgsql-general by date:

Previous
From: Joel Burton
Date:
Subject: Re: personel appliactions?
Next
From: will trillich
Date:
Subject: Re: personel appliactions?