From owner-freebsd-java@FreeBSD.ORG Sun Mar 12 19:29:09 2006 Return-Path: X-Original-To: java@freebsd.org 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 02AF416A400; Sun, 12 Mar 2006 19:29:09 +0000 (GMT) (envelope-from freebsd@chillt.de) Received: from dd2718.kasserver.com (dd2718.kasserver.com [81.209.184.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1AD143D58; Sun, 12 Mar 2006 19:29:07 +0000 (GMT) (envelope-from freebsd@chillt.de) Received: from [127.0.0.1] (dslb-084-061-200-065.pools.arcor-ip.net [84.61.200.65]) by dd2718.kasserver.com (Postfix) with ESMTP id A197462364; Sun, 12 Mar 2006 20:27:29 +0100 (CET) Message-ID: <44147685.3010703@chillt.de> Date: Sun, 12 Mar 2006 20:29:09 +0100 From: Bartosz Fabianowski User-Agent: Thunderbird 1.5 (X11/20060113) MIME-Version: 1.0 To: Panagiotis Astithas References: <44114DBE.3040202@ebs.gr> <20060311.104756.104072791.chat95@mac.com> <441471DA.5020400@ebs.gr> In-Reply-To: <441471DA.5020400@ebs.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: java@freebsd.org, NAKATA Maho , gerald@pfeifer.com, openoffice@freebsd.org Subject: Re: GCJ 4.1 and OpenOffice.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Mar 2006 19:29:09 -0000 > libtool: link: cannot find the library `' > gmake[6]: *** [libjawtgnu.la] Error 1 > gmake[6]: Leaving directory > `/usr/home/past/myports/gcc41-with_gcj/work/build/i386-portbld-freebsd6.1/libjava/classpath/native/jawt' This looks fallout from the recent libtool changes. It seems that Maho has written the port on a system that is using the old way of handling libtool. By default, every port will use its included version of libtool. If that one is too old and doesn't work, you will get the error above. In this case, you need to force the port to use the libtool version provided by the system: --- gcc41/Makefile.orig Sun Mar 12 20:21:09 2006 +++ gcc41/Makefile Sun Mar 12 20:21:49 2006 @@ -37,6 +37,7 @@ USE_BISON= yes USE_BZIP2= yes USE_GMAKE= yes +USE_AUTOTOOLS= libtool:15 USE_ICONV= yes USE_PERL5_BUILD=yes .if defined(WITH_JAVA_AWT) This change should be enough unless the version of classpath included with gcj 4.1 has its own libtool. If so, this will need to be replaced by /usr/local/bin/libtool as well. You can probably do this manually by symlinking for now. For a later release, it would need to be fixed properly. - Bartosz