[CFT] cpu stresser^W libreoffice 3.3.0 final

Denny Lin dennylin93 at hs.ntnu.edu.tw
Sun Jan 30 02:03:31 UTC 2011


On Sat, Jan 29, 2011 at 09:02:24AM -0600, Steve Randall wrote:
> On Fri, 28 Jan 2011 16:01:13 -0800
> Jason Helfman <jhelfman at e-e.com> wrote:
> 
> > It failed at this point:
> > 
> > Compiling: rsc_sw
> > sw deliver
> > Module 'sw' delivered successfully. 281 files copied, 0 files unchanged
> > 
> > -----------------------------------------------------------------------
> >          Oh dear - something failed during the build - sorry !
> >    For more help with debugging build errors, please see the section in:
> >              http://wiki.documentfoundation.org/Development
> > 
> >    internal build errors:
> > 
> > ERROR: error 65280 occurred while making
> > /home/jhelfman/libreoffice/work/libreoffice-build-3.3.0.4/build/libreoffice/lingucomponent/source/languageguessing
> > 
> >   it seems that the error is inside 'lingucomponent', please re-run build
> >   inside this module to isolate the error and/or test your fix:
> 
> I had this same problem, I think. It turned out to be an error in
> libtextcat, which fails to install its config.h into
> /usr/local/include/libtextcat/.

This fix also worked for me. Not sure if this is the proper fix, but
anyway...

diff -ruN libtextcat.orig/Makefile libtextcat/Makefile
--- libtextcat.orig/Makefile	2011-01-30 09:48:13.000000000 +0800
+++ libtextcat/Makefile	2011-01-30 09:56:19.000000000 +0800
@@ -24,6 +24,7 @@
 PORTDOCS=	LICENSE README TODO
 
 post-install:
+	${INSTALL_DATA} ${WRKSRC}/src/config.h ${PREFIX}/include/libtextcat/
 	${INSTALL_DATA} ${WRKSRC}/src/textcat.h ${PREFIX}/include/
 	${MKDIR} ${DATADIR}/LM
 	@${ECHO_MSG} "Installing language models provided in Gertjan van Noord's TextCat package"
diff -ruN libtextcat.orig/pkg-plist libtextcat/pkg-plist
--- libtextcat.orig/pkg-plist	2011-01-30 09:48:13.000000000 +0800
+++ libtextcat/pkg-plist	2011-01-30 09:48:47.000000000 +0800
@@ -1,5 +1,6 @@
 bin/createfp
 include/libtextcat/common.h
+include/libtextcat/config.h
 include/libtextcat/constants.h
 include/libtextcat/fingerprint.h
 include/libtextcat/textcat.h

> With regard to LD_LIBRARY_PATH vs. ldconfig, the main script
> (/usr/local/lib/libreoffice/program/soffice) has "hack" code to
> set LD_LIBRARY_PATH for OpenBSD. I added  FreeBSD to that, and it's off
> and running.

I also added FreeBSD to the script, and now it works perfectly. I can
open, edit, and save documents without problems.

> The *.desktop files installed in /usr/local/share/applications probably
> should not be there. Most of them are incorrect anyway. What OOo does
> is create a symlink to its own directory where the *.desktop files
> live. Those in the corresponding LO directory work much better, except
> none of them show icons in the menu. It looks like this is because the
> *.desktop files reference e.g. Icon=libreoffice-base, but the actual
> icon is (still) named ooo-base.png.

The LibreOffice apps don't appear in the GNOME menu for some reason.

-- 
Denny Lin


More information about the freebsd-ports mailing list