From owner-freebsd-java Tue Oct 15 8:14:14 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 1AA6537B407 for ; Tue, 15 Oct 2002 08:14:12 -0700 (PDT) Received: from hyde.ssec.wisc.edu (hyde.ssec.wisc.edu [128.104.109.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 543CE43EA9 for ; Tue, 15 Oct 2002 08:14:11 -0700 (PDT) (envelope-from dglo@hyde.ssec.wisc.edu) Received: from hyde.ssec.wisc.edu (localhost [127.0.0.1]) by hyde.ssec.wisc.edu (8.10.2+Sun/8.10.2) with ESMTP id g9FFDlK09448; Tue, 15 Oct 2002 10:13:47 -0500 (CDT) Message-Id: <200210151513.g9FFDlK09448@hyde.ssec.wisc.edu> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: wtp@mud.pl Cc: "Weston M. Price" , freebsd-java@FreeBSD.ORG Subject: Re: building mysql-jdbc-mm In-reply-to: Your message of "Tue, 15 Oct 2002 13:31:41 +0200." <20021015132812.S53209-100000@kryptos.mud.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 15 Oct 2002 10:13:47 -0500 From: Dave Glowacki 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 Krzysztof Stryjek wrote: > Hello, > > On Tue, 15 Oct 2002, Weston M. Price wrote: > OK, so I'm writing more info > > [wtp]$ grep ports/Mk/bsd /usr/ports/Mk/bsd.java.mk > # $FreeBSD: ports/Mk/bsd.java.mk,v 1.27 2002/10/14 19:16:40 znerd Exp $ > > [wtp]$ l /var/db/pkg/ | egrep '(j[asd]k|jfc)' > jakarta-ant-1.5.1_1/ > jakarta-tomcat-3.3.1_16/ > jdk-1.1.8/ > jfc-1.1.1/ > linux-sun-jdk-1.2.2.013/ > jsdk-2.0/ > > Welle, I also tried to compile with > JAVA_HOME=/usr/local/linux-sun-jdk1.2.2 make all, but results are the > same. Any further suggestions? It looks like neither linux-sun-jdk1.2.2 or linux-blackdown-jdk1.2.2 includes the javax.naming.* classes. I know the native JDK includes those classes, so one alternative might be to build /usr/ports/java/jdk13 and use the native JDK to do your DB work. If you absolutely must have a MySQL JDBC jar file right now, you can do the following: cd /usr/ports/databases/mysql-jdbc-mm make extract cp work/mm.mysql-2.0.14/mm.mysql-2.0.14-bin.jar \ /usr/local/share/java/classes/mm.mysql-2.0.14.jar This will install the distributed jar file into the standard place. This is done outside the ports system, though, so you'll have to remember to delete this file if you ever upgrade to a newer version of the MySQL JDBC code. Otherwise, if you don't mind waiting a day or two, I'll look into patching the MySQL ant file to check for javax.naming and deactivate those parts of the build if it's not found. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message