Re: postgreSQL 7.2.3: jdbc compile problem - Mailing list pgsql-jdbc

From Barry Lind
Subject Re: postgreSQL 7.2.3: jdbc compile problem
Date
Msg-id 3DD5B8C1.5040004@xythos.com
Whole thread Raw
In response to Re: postgreSQL 7.2.3: jdbc compile problem  ("Steve Kirby" <sfkirby@arl.army.mil>)
List 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@bmpcoe.org>@postgresql.org on 11/15/2002 10:34:55
> AM
>
>
>
> Sent by:    pgsql-jdbc-owner@postgresql.org
>
>
>
>
>
>
> To:    'Tim Barnard' <tbarnard@povn.com>, "'pgsql-jdbc@postgresql.org'"
>        <pgsql-jdbc@postgresql.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@povn.com]
> Sent: Saturday, August 19, 2000 11:48  PM
> To: pgsql-jdbc@postgresql.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
>




pgsql-jdbc by date:

Previous
From: Barry Lind
Date:
Subject: Re: krb5 authentication
Next
From: Barry Lind
Date:
Subject: Re: streaming result sets: progress