Re: unable to create postgresql.jar
От | Nookala Satish Kumar |
---|---|
Тема | Re: unable to create postgresql.jar |
Дата | |
Msg-id | 20020612125252.19300.qmail@web12302.mail.yahoo.com обсуждение исходный текст |
Ответ на | unable to create postgresql.jar (Amit Lamba <amit_lamba99@yahoo.com>) |
Список | 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@yahoo.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
В списке pgsql-interfaces по дате отправления: