Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Compiling 7.2.1 with JDBC-Support fails - help needed: msg#01164

db.postgresql.general

Subject: Compiling 7.2.1 with JDBC-Support fails - help needed

Hi,


after successfully setting up Apache httpd with Jakarta Tomcat JSP-Server,
I want to dive into database access with JDBC. Therefore I need to
recompile postgreSQL. As the compiler run fails, I need help or helpful
hints... if you need any more data, please let me know. TIA

Available
---------
- Jakarta Ant 1.5
- Java 2 SDK 1.4.0-01
- postgreSQL 7.2.1
Intel 586 platform

Configure-Line
--------------
./configure \
--prefix=/home/postgres \
--mandir=/usr/man \
--with-pgport=5432 \
--with-perl \
--with-openssl=/usr/local/ssl \
--enable-odbc \
--enable-syslog \
--enable-locale \
--with-java

make fails with
---------------
make[3]: Entering directory
`/usr/src/postgresql-7.2.1/src/interfaces/jdbc'
/usr/local/jakarta-ant-1.5/bin/ant -buildfile ./build.xml all \
-Dmajor=7 -Dminor=2 -Dfullversion=7.2.1 -Ddef_pgport=5432
Buildfile: ./build.xml

all:

prepare:

check_versions:

driver:
[available] DEPRECATED - <available> used to override an existing
property.
[available] Build file should not reuse the same property name for
different values.
[available] DEPRECATED - <available> used to override an existing
property.
[available] Build file should not reuse the same property name for
different values.
[available] DEPRECATED - <available> used to override an existing
property.
[available] Build file should not reuse the same property name for
different values.
[available] DEPRECATED - <available> used to override an existing
property.
[available] Build file should not reuse the same property name for
different values.
[echo] Configured build for the JDBC2 Enterprise edition driver

compile:
[javac] Compiling 53 source files to
/usr/src/postgresql-7.2.1/src/interfaces/jdbc/build
[javac]
/usr/src/postgresql-7.2.1/src/interfaces/jdbc/org/postgresql/xa/XAConnectionImpl.java:57:
cannot
resolve symbol
[javac] symbol : class RollbackException
[javac] location: package transaction
[javac] import javax.transaction.RollbackException;
[javac] ^


[...]

[javac]
/usr/src/postgresql-7.2.1/src/interfaces/jdbc/org/postgresql/xa/ClientConnection.java:70:
org.postgresql.xa.ClientConnection
should be declared abstract; it does not define setHoldability(int) in
org.postgresql.xa.ClientConnection
[javac] final class ClientConnection
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 10 errors

BUILD FAILED
file:/usr/src/postgresql-7.2.1/src/interfaces/jdbc/build.xml:72: Compile
failed; see the compiler error output for details.

Total time: 7 seconds
make[3]: *** [all] Error 1
make[3]: Leaving directory `/usr/src/postgresql-7.2.1/src/interfaces/jdbc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/postgresql-7.2.1/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/postgresql-7.2.1/src'
make: *** [all] Error 2


Kind regards
... Ralph ...


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation