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...

[jira] Commented: (DERBY-2) Can't compile Derby on OS X: msg#00263

apache.db.derby.devel

Subject: [jira] Commented: (DERBY-2) Can't compile Derby on OS X

The following comment has been added to this issue:

Author: Tom Santos
Created: Sat, 25 Sep 2004 4:14 PM
Body:
Yes, that worked. Thank you.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/DERBY-2?page=comments#action_53410

---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/DERBY-2

Here is an overview of the issue:
---------------------------------------------------------------------
Key: DERBY-2
Summary: Can't compile Derby on OS X
Type: Bug

Status: Unassigned
Priority: Major

Project: Derby

Assignee:
Reporter: Tom Santos

Created: Fri, 24 Sep 2004 2:36 PM
Updated: Sat, 25 Sep 2004 4:14 PM
Environment: OS X 10.3.5, Java 1.4.2_05, Dual G5

Description:
I went through all the steps in BUILDING.txt (including downloading all of the
jars except osgi.jar) and have tried to build using both the default compiler
and jikes. I've included both outputs in this message.

My ant.properties file:

j14lib=/System/Library/Frameworks/JavaVM.framework/Home/lib
j13lib=/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib
build.compiler=jikes

Output when using Jikes (note: I get tons of compile errors that all look like
the one I've provided, all while compiling compile_iapi_jdbc_jdbc2):
.
.
.
[echo] Ant environment:
[echo] Base Directory: /Users/tom/dev/java/derby
[echo] Build output: /Users/tom/dev/java/derby/classes
[echo] Compiler: jikes
[echo] Sane = true
[echo] Proceed = no
.
.
.
compile_iapi_jdbc_jdbc2:
[javac] Compiling 3 source files to /Users/tom/dev/java/derby/classes

[javac] Found 2 semantic errors compiling "BrokeredPreparedStatement.java":

[javac] 24. public class BrokeredPreparedStatement extends
BrokeredStatement
[javac] ^-----------------------^
[javac] *** Semantic Error: The abstract method "void setURL(int $1,
java.net.URL $2) throws java.sql.SQLException;", inherited from type
"java.sql.PreparedStatement", is not implemented in the non-abstract class
"org.apache.derby.iapi.jdbc.BrokeredPreparedStatement".
.
.
.
BUILD FAILED
/Users/tom/dev/java/derby/build.xml:137: The following error occurred while
executing this line:
/Users/tom/dev/java/derby/java/engine/build.xml:43: The following error
occurred while executing this line:
/Users/tom/dev/java/derby/java/engine/org/apache/derby/iapi/build.xml:46: The
following error occurred while executing this line:
/Users/tom/dev/java/derby/java/engine/org/apache/derby/iapi/jdbc/build.xml:64:
Compile failed; see the compiler error output for details.


Output when using the default compiler:
.
.
.
[echo] Ant environment:
[echo] Base Directory: /Users/tom/dev/java/derby
[echo] Build output: /Users/tom/dev/java/derby/classes
[echo] Compiler: modern
[echo] Sane = true
[echo] Proceed = no
.
.
.
compile_iapi_jdbc_jdbc2:
[javac] Compiling 3 source files to /Users/tom/dev/java/derby/classes
[javac] Fatal Error: Unable to locate package java.lang in classpath or
bootclasspath

BUILD FAILED
/Users/tom/dev/java/derby/build.xml:137: The following error occurred while
executing this line:
/Users/tom/dev/java/derby/java/engine/build.xml:43: The following error
occurred while executing this line:
/Users/tom/dev/java/derby/java/engine/org/apache/derby/iapi/build.xml:46: The
following error occurred while executing this line:
/Users/tom/dev/java/derby/java/engine/org/apache/derby/iapi/jdbc/build.xml:64:
Compile failed; see the compiler error output for details.




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira




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

Recently Viewed:
version-control...    qnx.openqnx.dev...    redhat.rhn.user...    ietf.openpgp/20...    mail.mutt.user/...    web.microformat...    java.sync4j.use...    education.ezpro...    user-groups.blu...    solaris.manager...    org.fitug.debat...    technology.erps...    politics.activi...    linux.redhat.fe...    bug-tracking.ma...    xfce.user/2004-...    hams/2004-11/ms...    kde.users.pim/2...    culture.cooking...    freebsd.devel.x...    gnu.m4.adhoc/20...    ngpt.user/2002-...    apple.fink.deve...   
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