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


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Reply via email to