GCJ 4.1 and OpenOffice.org
Bartosz Fabianowski
freebsd at chillt.de
Sun Mar 12 19:29:09 UTC 2006
> 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
More information about the freebsd-openoffice
mailing list