From owner-freebsd-java@FreeBSD.ORG Mon Sep 21 06:59:12 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A389C106566C for ; Mon, 21 Sep 2009 06:59:12 +0000 (UTC) (envelope-from Ye.Li@Sun.COM) Received: from sineb-mail-2.sun.com (sineb-mail-2.sun.com [192.18.19.7]) by mx1.freebsd.org (Postfix) with ESMTP id 348AB8FC08 for ; Mon, 21 Sep 2009 06:59:12 +0000 (UTC) Received: from fe-apac-06.sun.com (fe-apac-06.sun.com [192.18.19.177] (may be forged)) by sineb-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n8L6wwuO013341 for ; Mon, 21 Sep 2009 06:59:09 GMT MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=gbk Received: from conversion-daemon.mail-apac.sun.com by mail-apac.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <0KQB00A007BNGF00@mail-apac.sun.com> for freebsd-java@freebsd.org; Mon, 21 Sep 2009 14:58:58 +0800 (SGT) Received: from 129.158.218.41 ([unknown] [129.158.218.41]) by mail-apac.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <0KQB001JT7E9D050@mail-apac.sun.com> for freebsd-java@freebsd.org; Mon, 21 Sep 2009 14:58:58 +0800 (SGT) Date: Mon, 21 Sep 2009 14:56:22 +0800 From: Li Ye Sender: Ye.Li@Sun.COM To: freebsd-java@freebsd.org Message-id: <1253516182.17130.5.camel@moonocean> Organization: Sun Microsystems Inc. X-Mailer: Ximian Evolution 1.4.6.301 X-Mailman-Approved-At: Mon, 21 Sep 2009 11:35:34 +0000 Subject: Fail to compile jakarta-commons-httpclient 3.1 on FreeBSD 7.2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ye.Li@Sun.COM List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2009 06:59:12 -0000 Before installing jakarta-commons-httpclient 3.1 on FreeBSd 7.2 through ports, I succeeded installing jakarta-commons-codec 1.3 and jakarta-commons-logging 1.1.1 under /ports directory by typing 'make install' command. When I ran 'make install' under /usr/ports/java/jakarta-commons-httplicent, the following message displayed: [javadoc] Constructing Javadoc information... [javadoc] /usr/ports/java/jakarta-commons-httpclient/work/commons-httpclient-3.1/src/java/org/apache/commons/httpclient/ChunkedInputStream.java:39: package org.apache.commons.logging does not exist [javadoc] import org.apache.commons.logging.Log; [javadoc] ^ [javadoc] /usr/ports/java/jakarta-commons-httpclient/work/commons-httpclient-3.1/src/java/org/apache/commons/httpclient/ChunkedInputStream.java:40: package org.apache.commons.logging does not exist [javadoc] import org.apache.commons.logging.LogFactory; [javadoc] ^ [javadoc] /usr/ports/java/jakarta-commons-httpclient/work/commons-httpclient-3.1/src/java/org/apache/commons/httpclient/ChunkedInputStream.java:87: cannot find symbol [javadoc] symbol : class Log [javadoc] location: class org.apache.commons.httpclient.ChunkedInputStream [javadoc] private static final Log LOG = LogFactory.getLog(ChunkedInputStream.class); [javadoc] ^ бн бн [javadoc] /usr/ports/java/jakarta-commons-httpclient/work/commons-httpclient-3.1/src/java/org/apache/commons/httpclient/cookie/CookieSpecBase.java:67: cannot find symbol [javadoc] symbol : variable LogFactory [javadoc] location: class org.apache.commons.httpclient.cookie.CookieSpecBase [javadoc] protected static final Log LOG = LogFactory.getLog(CookieSpec.class); [javadoc] ^ [javadoc] Building index for all the packages and classes... [javadoc] Building index for all classes... [javadoc] Generating /usr/ports/java/jakarta-commons-httpclient/work/commons-httpclient-3.1/dist/docs/api/stylesheet.css... [javadoc] 3 errors [javadoc] 102 warnings However, finally the message prompted that jakarta-commons-httpclient 3.1 was installed successfully. Is jakarta-commons-httpclient 3.1 really installed? Thanks!