Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jan 2011 10:03:27 +0800
From:      Denny Lin <dennylin93@hs.ntnu.edu.tw>
To:        freebsd-ports@freebsd.org
Subject:   Re: [CFT] cpu stresser^W libreoffice 3.3.0 final
Message-ID:  <20110130020327.GC52232@mail.hs.ntnu.edu.tw>
In-Reply-To: <20110129090224.234881b5@locust.local>
References:  <AANLkTinCUuWET3dFVzpTRPfAiqG7hfdPJrAxY=OWVxff@mail.gmail.com> <20110128211737.391bec10@ukr.net> <AANLkTinsTMYzQivuVtHQxycv7MNf8d%2BQuWv-1D788tWP@mail.gmail.com> <20110128222217.GM9701@eggman.experts-exchange.com> <20110129000113.GN9701@eggman.experts-exchange.com> <20110129090224.234881b5@locust.local>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110130020327.GC52232>