Problem building openoffice-3 on FreeBSD-8.4

Stephen Montgomery-Smith stephen at missouri.edu
Fri May 17 12:42:08 UTC 2013


uname -a
FreeBSD wilberforce 8.4-PRERELEASE FreeBSD 8.4-PRERELEASE #0: Tue Apr  2
16:51:28 CDT 2013     stephen at wilberforce:/usr/obj/usr/src/sys/GENERIC
amd64

The problem was fixed by uncommenting the line in Makefile
#USE_GCC=	4.6+

I think these are the relevant pieces of the make process that show you
what isn't working:

....

R=/usr/ports/editors/openoffice-3/work/aoo-3.4.1 && S=$R/main &&
O=$S/solver/341/unxfbsdx.pro && W=$O/workdir &&  mkdir -p
$W/CxxObject/vcl/unx/generic/gdi/ && mkdir -p
$W/Dep/CxxObject/vcl/unx/generic/gdi/ && c++ -DCPPU_ENV=gcc3 -DCUI
-DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0
-DENABLE_LAYOUT_EXPERIMENTAL=0 -DFREEBSD -DGCC
-DGXX_INCLUDE_PATH=/usr/include/c++/4.2 -DHAVE_GCC_VISIBILITY_FEATURE
-DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DPRODUCT_FULL
-DSOLAR_JAVA -DSTLPORT_VERSION=400 -DSUPD=341 -DUNIX -DUNX -DVCL
-DX86_64 -D_PTHREADS -D_REENTRANT   -D_XSALSET_LIBNAME=\"libspa.so\"
-DVCLPLUG_GEN_IMPLEMENTATION  -DUSE_RANDR  -DUSE_XINERAMA
-DUSE_XINERAMA_XORG  -Wall -Wendif-labels -Wextra -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -Wshadow -fPIC -fmessage-length=0 -fno-common
-fno-strict-aliasing -fno-use-cxa-atexit -fvisibility-inlines-hidden
-fvisibility=hidden -pipe   -D_THREAD_SAFE -I/usr/local/include
-DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs  -Os -c
$S/vcl/unx/generic/gdi/salvd.cxx -o
$W/CxxObject/vcl/unx/generic/gdi/salvd.o -MMD -MT
$W/CxxObject/vcl/unx/generic/gdi/salvd.o -MF
$W/Dep/CxxObject/vcl/unx/generic/gdi/salvd.d -I$S/vcl/unx/generic/gdi/
-I$O/inc/stl -I$O/inc/stl -I$O/inc/external -I$O/inc
-I$S/solenv/unxfbsdx/inc -I$S/solenv/inc -I$S/res -I$S/solenv/inc/Xp31
-I/usr/local/openjdk6/include -I/usr/local/openjdk6/include/freebsd
-I/usr/local/openjdk6/include/bsd -I/usr/local/openjdk6/include/linux
-I/usr/local/openjdk6/include/native_threads/include
-I/usr/local/include -I$S/vcl/inc -I$S/vcl/inc/pch -I$S/solenv/inc
-I$O/inc/offuh -I$O/inc/stl -I$O/inc
[ build CXX ] vcl/unx/generic/gdi/xrender_peer
In file included from /usr/local/include/graphite/GrClient.h:31,
                 from
/usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/inc/graphite_layout.hxx:40,
                 from
/usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/unx/generic/gdi/pspgraphics.cxx:52:
/usr/local/include/graphite/GrFeature.h:110: error: 'wstring' in
namespace '_STL' does not name a type
/usr/local/include/graphite/GrFeature.h:111: error: 'wstring' in
namespace '_STL' does not name a type
/usr/local/include/graphite/GrFeature.h:113: error: 'wstring' in
namespace '_STL' does not name a type
In file included from
/usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/inc/graphite_layout.hxx:41,
                 from
/usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/unx/generic/gdi/pspgraphics.cxx:52:
/usr/local/include/graphite/Font.h:392: error: '_STL::wstring' has not
been declared
In file included from
/usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/inc/graphite_serverfont.hxx:32,
                 from
/usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/unx/generic/gdi/pspgraphics.cxx:53:
/usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/inc/graphite_adaptors.hxx:118:
error: 'ext_std::wstring' has not been declared
In file included from /usr/local/include/graphite/GrClient.h:31,
                 from
/usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/inc/graphite_layout.hxx:40,
                 from
/usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/unx/generic/gdi/salgdi3.cxx:77:
/usr/local/include/graphite/GrFeature.h:110: error: 'wstring' in
namespace '_STL' does not name a type
/usr/local/include/graphite/GrFeature.h:111: error: 'wstring' in
namespace '_STL' does not name a type
/usr/local/include/graphite/GrFeature.h:113: error: 'wstring' in
namespace '_STL' does not name a type
In file included from
/usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/inc/graphite_layout.hxx:41,
                 from
/usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/unx/generic/gdi/salgdi3.cxx:77:
/usr/local/include/graphite/Font.h:392: error: '_STL::wstring' has not
been declared
In file included from
/usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/inc/graphite_serverfont.hxx:32,
                 from
/usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/unx/generic/gdi/salgdi3.cxx:78:
/usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/inc/graphite_adaptors.hxx:118:
error: 'ext_std::wstring' has not been declared
gmake: ***
[/usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/solver/341/unxfbsdx.pro/workdir/CxxObject/vcl/unx/generic/gdi/pspgraphics.o]
Error 1

....

1 module(s):
	vcl
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making
/usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/prj



More information about the freebsd-office mailing list