Re: postgreSQL 7.2.3: jdbc compile problem

From: Barry Lind <blind(at)xythos(dot)com>
To: Steve Kirby <sfkirby(at)arl(dot)army(dot)mil>
Cc: Lloyd Meinholz <Meinholz(at)bmpcoe(dot)org>, 'Tim Barnard' <tbarnard(at)povn(dot)com>, "'pgsql-jdbc(at)postgresql(dot)org'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: postgreSQL 7.2.3: jdbc compile problem
Date: 2002-11-16 03:17:21
Message-ID: 3DD5B8C1.5040004@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Steve,

The 7.2 sources do not build under jdk1.4. So if you want to build from
source you need a 1.3 jdk or use sources from 7.3.

If you are going to use one of the prebuild binaries, then I would
recommend the 7.3 one. There have been a lot of fixes since 7.2.

thanks,
--Barry

Steve Kirby wrote:
> Hello,
>
> I too did not succeed with "configure --with-java" for postgreSQL 7.2.3. I
> am running j2sdk1.4.1_01-b01, ant version 1.5.1, under RedHat 8.0.
> Compiled fine without the with-java option. As a result I'm about to try a
> binary JDBC driver I downloaded. Previously, I used pgjdbc2.jar with
> success but it was with a different jdk I think, 1.3.1. I also have
> pg73b3jdbc3.jar on hand. It seems the second, newer one I list is the one
> I need. Any recommendations?
>
> Regards,
>
> Steve
>
>
>
>
>
> Lloyd Meinholz <Meinholz(at)bmpcoe(dot)org>@postgresql.org on 11/15/2002 10:34:55
> AM
>
>
>
> Sent by: pgsql-jdbc-owner(at)postgresql(dot)org
>
>
>
>
>
>
> To: 'Tim Barnard' <tbarnard(at)povn(dot)com>, "'pgsql-jdbc(at)postgresql(dot)org'"
> <pgsql-jdbc(at)postgresql(dot)org>
> cc:
> Subject: Re: [JDBC] postgreSQL 7.2.3: jdbc compile problem
>
>
>
> I have the same problem and I've only partially solved it by including the
> javasoft jta in the classpath. I'm still getting other build errors. I
> have a similar setup but on a gentoo Linux box, same jdk and postgreSQL
> tarball. Has anyone else had this problem???
>
> Lloyd
>
> -----Original Message-----
> From: Tim Barnard [mailto:tbarnard(at)povn(dot)com]
> Sent: Saturday, August 19, 2000 11:48 PM
> To: pgsql-jdbc(at)postgresql(dot)org
> Subject: [JDBC] postgreSQL 7.2.3: jdbc compile problem
> Importance: High
>
>
> I'm having a problem compiling postgreSQL 7.2.3 which I downloaded from
> www.us.postgresql.org. I have Sun's 1.4.1_01 revision of java installed on
> my RedHat Linux (7.2) system [kernel revision is 2.4.18-17.7]. JAVA_HOME
> points to the SDK bin directory and ANT_HOME points to the bin directory
> of Ant-1.4.1. Ran postgreSQL's configure script, including --with-java.
> PostgreSQL builds fine if I exclude the "--with-java" directive. The build
> of the jdbc driver fails. Attached is an excerpt of the compiler's output.
>
> Any ideas what might be wrong here? Any help would be appreciated!
>
> FYI: The following "configure" script works. Adding --with-java to it
> causes the failure:
>
> ./configure --enable-locale --enable-multibyte --enable-syslog --with-CXX
> --with-openssl --with-perl
>
> Thanks,
>
> Tim Barnard
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2002-11-16 03:28:22 Re: how can I recover from truncate write?
Previous Message Barry Lind 2002-11-16 03:14:01 Re: krb5 authentication