Skip site navigation (1) Skip section navigation (2)

Make not working (on RHE)

From: Ron St-Pierre <rstpierre(at)syscor(dot)com>
To: pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: Make not working (on RHE)
Date: 2004-04-19 22:14:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
I am installing postgres 7.3.4 on a RedHat Enterprise box but 'make' 
refuses to work. When installing as user postgres I get the following 
error message:
     [copy] Copying 1 file to 
     [echo] Configured build for the JDBC3 edition driver

    [javac] Compiling 52 source files to 
error: Method 
was defined with return type 
`org.postgresql.jdbc2.optional.PoolingDataSource' in class 
    [javac]        static Jdbc3PoolingDataSource getDataSource(String name)
    [javac]                                      ^
    [javac] 1 error

Compile failed; see the compiler error output for details.

I have already removed all traces of postgres which were installed as 
well as the rh-postgresql3.jar file. Currently I do not have the 
classpath set.

Java version:
   java version "1.4.2_01"
   Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
   Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)
Ant version: 1.5.3-1

I have also tried postgres 7.4.1 with the same error(slightly different).

I have found a few references to this, the most promising has a response 
from Kris Jurka which says that the postgresql.jar file may still be 
hanging around somewhere, but it is totally removed from my system.

Can anyone help?

ps I also tried to copy the latest jdbc3 driver from 
and place it in the classpath, but it still didn't work.
pps my configure params:
 ./configure --enable-multibyte \
              --enable-odbc \
              --with-java \
               --with-maxbackends=96 \


pgsql-jdbc by date

Next:From: Oliver JowettDate: 2004-04-19 22:21:02
Subject: Re: Prepared Statements and large where-id-in constant blocks?
Previous:From: Oliver JowettDate: 2004-04-19 22:08:39
Subject: Re: binary data in `bytea' column

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group