From owner-freebsd-java Mon Oct 14 16: 3:46 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2891C37B401 for ; Mon, 14 Oct 2002 16:03:44 -0700 (PDT) Received: from kryptos.mud.pl (201-moc-7.acn.waw.pl [212.76.58.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 709C143EA9 for ; Mon, 14 Oct 2002 16:03:38 -0700 (PDT) (envelope-from wtp@mud.pl) Received: by kryptos.mud.pl (Postfix, from userid 1000) id 3B23516; Tue, 15 Oct 2002 01:03:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by kryptos.mud.pl (Postfix) with ESMTP id 310C615 for ; Tue, 15 Oct 2002 01:03:29 +0200 (CEST) Date: Tue, 15 Oct 2002 01:03:29 +0200 (CEST) From: Krzysztof Stryjek Reply-To: wtp@mud.pl To: freebsd-java@freebsd.org Subject: building mysql-jdbc-mm Message-ID: <20021015005631.S53209-100000@kryptos.mud.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello I'm trying to build mysql-jdbc-mm port on FreeBSD box, but unfortunatelly get such errors: compile-jdbc2: [javac] Compiling 16 source files [javac] /usr/ports/databases/mysql-jdbc-mm/work/mm.mysql-2.0.14/build/mm.mysql-2.0.14/org/gjt/mm/mysql/jdbc2/optional/MysqlDataSourceFactory.java:28: Package javax.naming not found in import. [javac] import javax.naming.*; [javac] ^ [javac] /usr/ports/databases/mysql-jdbc-mm/work/mm.mysql-2.0.14/build/mm.mysql-2.0.14/org/gjt/mm/mysql/jdbc2/optional/MysqlDataSourceFactory.java:29: Class javax.naming.spi.ObjectFactory not found in import. [javac] import javax.naming.spi.ObjectFactory; [javac] ^ [javac] /usr/ports/databases/mysql-jdbc-mm/work/mm.mysql-2.0.14/build/mm.mysql-2.0.14/org/gjt/mm/mysql/jdbc2/optional/MysqlDataSourceFactory.java:35: Interface javax.naming.spi.ObjectFactory of class org.gjt.mm.mysql.jdbc2.optional.MysqlDataSourceFactory not found. [javac] public class MysqlDataSourceFactory implements ObjectFactory [javac] ^ [javac] /usr/ports/databases/mysql-jdbc-mm/work/mm.mysql-2.0.14/build/mm.mysql-2.0.14/org/gjt/mm/mysql/jdbc2/optional/MysqlDataSource.java:30: Package javax.naming not found in import. [javac] import javax.naming.*; [javac] ^ [javac] /usr/ports/databases/mysql-jdbc-mm/work/mm.mysql-2.0.14/build/mm.mysql-2.0.14/org/gjt/mm/mysql/jdbc2/optional/MysqlDataSource.java:37: Interface org.gjt.mm.mysql.jdbc2.optional.Referenceable of class org.gjt.mm.mysql.jdbc2.optional.MysqlDataSource not found. [javac] public class MysqlDataSource implements DataSource, Referenceable, Serializable [javac] ^ [javac] /usr/ports/databases/mysql-jdbc-mm/work/mm.mysql-2.0.14/build/mm.mysql-2.0.14/org/gjt/mm/mysql/jdbc2/optional/MysqlXaDataSourceFactory.java:28: Package javax.naming not found in import. [javac] import javax.naming.*; [javac] ^ [javac] /usr/ports/databases/mysql-jdbc-mm/work/mm.mysql-2.0.14/build/mm.mysql-2.0.14/org/gjt/mm/mysql/jdbc2/optional/MysqlXaDataSourceFactory.java:29: Class javax.naming.spi.ObjectFactory not found in import. [javac] import javax.naming.spi.ObjectFactory; [javac] ^ [javac] /usr/ports/databases/mysql-jdbc-mm/work/mm.mysql-2.0.14/build/mm.mysql-2.0.14/org/gjt/mm/mysql/jdbc2/optional/MysqlXaDataSourceFactory.java:35: Interface javax.naming.spi.ObjectFactory of class org.gjt.mm.mysql.jdbc2.optional.MysqlXaDataSourceFactory not found. [javac] public class MysqlXaDataSourceFactory implements ObjectFactory [javac] ^ [javac] /usr/ports/databases/mysql-jdbc-mm/work/mm.mysql-2.0.14/build/mm.mysql-2.0.14/org/gjt/mm/mysql/jdbc2/optional/MysqlXaDataSource.java:30: Package javax.naming not found in import. [javac] import javax.naming.*; [javac] ^ [javac] /usr/ports/databases/mysql-jdbc-mm/work/mm.mysql-2.0.14/build/mm.mysql-2.0.14/org/gjt/mm/mysql/jdbc2/optional/MysqlXaDataSource.java:43: Interface org.gjt.mm.mysql.jdbc2.optional.Referenceable of class org.gjt.mm.mysql.jdbc2.optional.MysqlXaDataSource not found. [javac] Referenceable, [javac] ^ [javac] Note: /usr/ports/databases/mysql-jdbc-mm/work/mm.mysql-2.0.14/build/mm.mysql-2.0.14/org/gjt/mm/mysql/jdbc2/Connection.java uses or overrides a deprecated API. Recompile with "-deprecation" for details. [javac] 10 errors, 1 warning BUILD FAILED file:/usr/ports/databases/mysql-jdbc-mm/work/mm.mysql-2.0.14/build.xml:75: Compile failed; see the compiler error output for details. Total time: 38 seconds *** Error code 1 Stop in /usr/ports/databases/mysql-jdbc-mm. Every dependency build and install correctly (no errors), I am updating port every day. Here is uname -a FreeBSD matheo.kai.pl 4.6-RC FreeBSD 4.6-RC #1: Mon Jul 29 15:53:03 CEST 2002 toor@matheo.kai.pl:/usr/src/sys/compile/MATHEO i386 Where is the problem? I wrote to port maintener, but go no reply yet? I was trying to find solutina via google, but last information from www.FreeBSD.org and ather lists, say that it should build correct. Any suggestions? Thanks a lot P.S. I'm out of list, so please write to me directly -- /~\ The ASCII Krzysztof Stryjek \ / Ribbon Campaign wtp@mud.pl X Against HTML http://mud.pl/~wtp/ / \ Email! GG: 3608113 ICQ: 124986907 The human animal differs from the lesser primates in his passion for lists of "Ten Best". -- H. Allen Smith To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message