Date: Tue, 15 Oct 2002 01:03:29 +0200 (CEST) From: Krzysztof Stryjek <wtp@mud.pl> To: freebsd-java@freebsd.org Subject: building mysql-jdbc-mm Message-ID: <20021015005631.S53209-100000@kryptos.mud.pl>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021015005631.S53209-100000>