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

Поиск
Список
Период
Сортировка
От Homayoun Yousefi'zadeh
Тема Re: JDBC and Perl compiling problems w/ postgresql-7.1rc4
Дата
Msg-id 3AD39974.4020901@home.com
обсуждение исходный текст
Ответ на JDBC and Perl compiling problems w/ postgresql-7.1rc4  ("Homayoun Yousefi'zadeh" <homayounyz@home.com>)
Ответы Re: JDBC and Perl compiling problems w/ postgresql-7.1rc4  (Tony Grant <tony@animaproductions.com>)
Список pgsql-general
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.


В списке pgsql-general по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: LOs and pg_dump, restore, vacuum for 7.1
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: Indexes not used in 7.1RC4: Bug?