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

From: "Homayoun Yousefi'zadeh" <homayounyz(at)home(dot)com>
To: Marko Kreen <marko(at)l-t(dot)ee>
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 23:38:28
Message-ID: 3AD39974.4020901@home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-jdbc

Thought that I share this with the group. Thanks Marco.

The problem was gone once I created a soft link to
JAVA_HOME/lib/tools.jar in the default directory
JAVA_HOME/jre/lib/ext/. I have not set specific CLASSPATH
variable and I could understand the problem better if
I had seen the problem when using ant to build other
pkgs. I used ant to build tomcat and never saw this
problem!

For those of you looking for the compiled jar file
go to the bottom of following page

http://hyousefi.tripod.com/pub.html

Thanks,
HY

------------------------------------------------------

Marko Kreen wrote:

> 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message datactrl 2001-04-10 23:44:45 Re: [GENERAL] install pgSQL 7.1
Previous Message Joseph 2001-04-10 23:12:14 RE: [GENERAL] perl dbi:pg

Browse pgsql-hackers by date

  From Date Subject
Next Message Joel Burton 2001-04-11 02:13:08 Re: Speaking of Indexing... (Text indexing)
Previous Message The Hermit Hacker 2001-04-10 23:17:13 Re: 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 Joseph Shraibman 2001-04-11 00:21:08 Re: null to zero?
Previous Message Marko Kreen 2001-04-10 19:20:20 Re: JDBC and Perl compiling problems w/ postgresql-7.1rc4