Date: Sun, 12 Mar 2006 20:29:09 +0100 From: Bartosz Fabianowski <freebsd@chillt.de> To: Panagiotis Astithas <past@ebs.gr> Cc: java@freebsd.org, NAKATA Maho <chat95@mac.com>, gerald@pfeifer.com, openoffice@freebsd.org Subject: Re: GCJ 4.1 and OpenOffice.org Message-ID: <44147685.3010703@chillt.de> In-Reply-To: <441471DA.5020400@ebs.gr> References: <Pine.LNX.4.44.0603101104350.17016-100000@matrix.gatewaynet.com> <44114DBE.3040202@ebs.gr> <20060311.104756.104072791.chat95@mac.com> <441471DA.5020400@ebs.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44147685.3010703>