Re: postgreSQL 7.2.3: jdbc compile problem

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: Lloyd Meinholz <Meinholz(at)bmpcoe(dot)org>
Cc: 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-15 21:23:32
Message-ID: 1037395412.26058.138.camel@inspiron.cramers
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Lloyd,

I think there is a problem building that version with jdk 1.4, get the
latest from cvs or just d/l the binary.

Dave
On Fri, 2002-11-15 at 15:20, Lloyd Meinholz wrote:
> I had the 7.2.3 tarball and installed on a newly built system that I
> had never installed postgres on before. I've actually never even
> installed postgress before. So at least in my case, I don't think the
> problem is an old jar laying around. Are we supposed to have jta.jar
> on our classpath? This fixed some of the warnings anyway, but it
> wasn't documented that we needed that anywhere.
>
> Is it better to get this code from CVS or is there a pot 7.2.3 tarball
> somewhere???
>
> Thanks,
>
> Lloyd
>
>
> > -----Original Message-----
> > From: Dave Cramer [mailto:Dave(at)micro-automation(dot)net]
> > Sent: Friday, November 15, 2002 2:34 PM
> > To: Tim Barnard
> > Cc: pgsql-jdbc(at)postgresql(dot)org
> > Subject: Re: [JDBC] postgreSQL 7.2.3: jdbc compile problem
> >
> >
> > The driver's code has changed significantly. If you have an old jar
> on
> > your classpath, or old class files, then it won't compile
> > make sure you remove the old class files from previous
> > builds, and make
> > sure that you don't have an existing postgresql.jar on your
> classpath
> >
> > Dave
> > On Sat, 2000-08-19 at 23:48, Tim Barnard wrote:
> > > 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 2: you can get off all lists at once with the unregister
> command
> > > (send "unregister YourEmailAddressHere" to
> > majordomo(at)postgresql(dot)org)
> > --
> > Dave Cramer <Dave(at)micro-automation(dot)net>
> >
> >
> > ---------------------------(end of
> > broadcast)---------------------------
> > TIP 6: Have you searched our list archives?
> >
> > http://archives.postgresql.org
> >
--
Dave Cramer <Dave(at)micro-automation(dot)net>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Larry LeFever 2002-11-15 22:20:02 Re: OID-problem: metadata: use of TableGen O/R-mapper
Previous Message Lloyd Meinholz 2002-11-15 20:20:42 Re: postgreSQL 7.2.3: jdbc compile problem