Re: unable to create postgresql.jar

From: Nookala Satish Kumar <javasatish(at)yahoo(dot)com>
To: Amit Lamba <amit_lamba99(at)yahoo(dot)com>, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: unable to create postgresql.jar
Date: 2002-06-12 12:52:52
Message-ID: 20020612125252.19300.qmail@web12302.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi Amit,

This is a very common problem. First you have to run
the "configure" script from the main postgre-sql
directory as follows:

# ./configure --with-java

Then go to the "jdbc" directory and run the "make"
command as follows:

# make

The above command internally runs the "ant"

That's it.

Regards,
Satish.

--- Amit Lamba <amit_lamba99(at)yahoo(dot)com> wrote:
> Hi,
> I am new to postgresql and need some help in
> creating jdbc driver.I installed ant and went to
> /src/interfaces/jdbc directory and type make but i
> got
> the following error:
> Buildfile: ./build.xml
>
> all:
>
> prepare:
>
> check_versions:
>
> driver:
> [echo] Configured build for the JDBC2
> Enterprise
> edition driver
>
> compile:
> [javac] Compiling 53 source files to
>
/usr/local/postgresql-7.2.1/src/interfaces/jdbc/build
> [javac]
>
/usr/local/postgresql-7.2.1/src/interfaces/jdbc/org/postgresql/Driver.java:234:
> ';' expected
> [javac] return ${major};
> [javac] ^
> [javac]
>
/usr/local/postgresql-7.2.1/src/interfaces/jdbc/org/postgresql/Driver.java:244:
> ';' expected
>
>
> and BUILD FAILED at the end
>
> Does that mean there is some problem with built
> file.
> PLease reply so i can proceed
> Thanks,
> Amit
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Nick Haw 2002-06-12 15:46:15 Views and Access 2000
Previous Message Michael Meskes 2002-06-12 12:34:07 Re: How to use embedded sql to define an array