From: | Juhan-Peep Ernits <juhan(at)cc(dot)ioc(dot)ee> |
---|---|
To: | Marko Kreen <marko(at)l-t(dot)ee> |
Cc: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: org.postgresql.Driver.java compile problem |
Date: | 2001-03-20 08:36:25 |
Message-ID: | Pine.GSO.4.21.0103201034400.27805-100000@suhkur.cc.ioc.ee |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces pgsql-patches |
Hello!
I applied the patches that Marko Kreen provided, but it seems that it did
not
solve my problem. (System is Debian "woody", source is CVS 20.03.2001,
ant is Ant version 1.2 compiled on October 24 2000). Should I upgrade ant
or am I doing something else wrong?
Configuration options:
CFLAGS="-m486 -O2" \
./configure \
--enable-multibyte \
--enable-unicode-conversion \
--with-maxbackends=64 \
--with-gnu-ld \
--with-java \
--prefix=/opt/postgres
Excerpt of make results:
make[3]: Leaving directory
`/home/juhan/sources/pgsql/src/interfaces/libpgeasy'
make[3]: Entering directory
`/home/juhan/sources/pgsql/src/interfaces/jdbc'
/opt/ant/bin//ant -Dmajor=7 -Dminor=1 -Dfullversion=7.1beta6
-Ddef_pgport=5432 -buildfile ../../../build.xml
Buildfile: ../../../build.xml
jar:
call:
prepare:
check_versions:
driver:
Configured build for the JDBC2 edition driver.
compile:
[javac] Compiling 41 source files to
/home/juhan/sources/pgsql/src/interfaces/jdbc/build
[javac]
/home/juhan/sources/pgsql/src/interfaces/jdbc/org/postgresql/Driver.java:199: ';'
expected
[javac] return ${major};
[javac] ^
[javac]
/home/juhan/sources/pgsql/src/interfaces/jdbc/org/postgresql/Driver.java:209: ';'
expected
[javac] return ${minor};
[javac] ^
[javac]
/home/juhan/sources/pgsql/src/interfaces/jdbc/org/postgresql/Driver.java:199: cannot
resolve symbol
[javac] symbol : variable $
[javac] location: class org.postgresql.Driver
[javac] return ${major};
[javac] ^
[javac]
/home/juhan/sources/pgsql/src/interfaces/jdbc/org/postgresql/Driver.java:209: cannot
resolve symbol
[javac] symbol : variable $
[javac] location: class org.postgresql.Driver
[javac] return ${minor};
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 4 errors
BUILD FAILED
/home/juhan/sources/pgsql/src/interfaces/jdbc/build.xml:105: Compile
failed, messages should have been provided.
Total time: 12 seconds
make[3]: *** [all] Error 1
make[3]: Leaving directory `/home/juhan/sources/pgsql/src/interfaces/jdbc'
Regards,
Juhan Ernits
From | Date | Subject | |
---|---|---|---|
Next Message | Marko Kreen | 2001-03-20 09:08:21 | Re: org.postgresql.Driver.java compile problem |
Previous Message | Bruce Momjian | 2001-03-19 23:54:05 | Re: [JDBC] Re: PostgreSQL and PHP persistent connections |
From | Date | Subject | |
---|---|---|---|
Next Message | Marko Kreen | 2001-03-20 09:08:21 | Re: org.postgresql.Driver.java compile problem |
Previous Message | Bruce Momjian | 2001-03-20 00:32:31 | Re: [PATCHES] BlobInputStream.java patch |