Обсуждение: JDBC build

Поиск
Список
Период
Сортировка

JDBC build

От
Denise Ball
Дата:
I have tried for the entire day to build the JDBC drivers for postgres.
 They will not build.

Here is the error message I keep getting:

/postgresql/postgresql-7.2b1/src/interfaces/jdbc/org/postgresql/Driver.java:210:
';' expected
    [javac]     return ${major};

I cannot figure out what I am missing.

I also cannot find the JDBC jar file anywhere on line.  Maybe I have the
wrong name.

Any and all help will be greatly appreciated.

Thank you,
Denise


Re: JDBC build

От
"Dave Cramer"
Дата:
Denise,

You need ant from jakarta.apache.org to build the driver

Here is the url to the download

http://jdbc.postgresql.org/download/jdbc7.2dev-1.2.jar

Cheers,

Dave

-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Denise Ball
Sent: Monday, December 03, 2001 6:22 PM
To: pgsql-jdbc@postgresql.org
Subject: [JDBC] JDBC build


I have tried for the entire day to build the JDBC drivers for postgres.
 They will not build.

Here is the error message I keep getting:

/postgresql/postgresql-7.2b1/src/interfaces/jdbc/org/postgresql/Driver.j
ava:210:
';' expected
    [javac]     return ${major};

I cannot figure out what I am missing.

I also cannot find the JDBC jar file anywhere on line.  Maybe I have the

wrong name.

Any and all help will be greatly appreciated.

Thank you,
Denise


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



Re: JDBC build

От
"Nick Fankhauser"
Дата:
I can help with half of your question - The smart people will have to help
with the other half...

The jar files can be found here:

http://jdbc.postgresql.org/download.html

-Nick

--------------------------------------------------------------------------
Nick Fankhauser  nickf@ontko.com  Phone 1.765.935.4283  Fax 1.765.962.9788
Ray Ontko & Co.     Software Consulting Services     http://www.ontko.com/



Re: JDBC build

От
Marko Kreen
Дата:
On Mon, Dec 03, 2001 at 04:21:53PM -0700, Denise Ball wrote:
> I have tried for the entire day to build the JDBC drivers for postgres.
> They will not build.
>
> Here is the error message I keep getting:
>
> /postgresql/postgresql-7.2b1/src/interfaces/jdbc/org/postgresql/Driver.java:210:
> ';' expected
>    [javac]     return ${major};
>
> I cannot figure out what I am missing.

1) You need to use switch '--with-java' when configuring.
2) You need to use make for building, not Ant directly.

--
marko