[Libreoffice] Breaking in hunspell (Re: Missing vcl resource. This indicates that files vital to localization are missing. You might have a corrupt installation.)

David Dumaresq dfdumaresq at gmail.com
Wed Feb 2 14:49:41 PST 2011


Hi,
 
I'm getting a failure in hunspell, so I ran the remedial steps following the option module clean There is a warning saying makefile is ignoring the datadir setting. Here's the whole nine metres:

Argos:hunspell dfdumaresq$ rm -Rf /Users/dfdumaresq/git/libo/hunspell/unxmacxi.pro # optional module 'clean'
Argos:hunspell dfdumaresq$ cd ..
Argos:libo dfdumaresq$ source ./MacOSXX86Env.Set.sh
Argos:libo dfdumaresq$ cd hunspell
Argos:hunspell dfdumaresq$ build
build -- version: 275224


=============
Building module hunspell
=============
Entering /Users/dfdumaresq/git/libo/hunspell

mkout -- version: 1.8
if [ -f ./unxmacxi.pro/misc/build/hunspell-1.2.9.exists ] ; then mv ./unxmacxi.pro/misc/build/hunspell-1.2.9 ./unxmacxi.pro/misc/build/hunspell-1.2.9_removeme ; fi
make writeable...
patching file hunspell-1.2.9/config.h
patching file hunspell-1.2.9/src/tools/hunspell.cxx
patching file hunspell-1.2.9/src/hunspell/hunspell.cxx
patching file hunspell-1.2.9/tests/test.sh
patching file hunspell-1.2.9/src/hunspell/affixmgr.cxx
mkdir: ./unxmacxi.pro/misc/build/hunspell-1.2.9/: File exists
checking build system type... i686-apple-darwin10.6.0
checking host system type... i686-apple-darwin10.6.0
checking target system type... i686-apple-darwin10.6.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether ccache g++-4.0 accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of ccache g++-4.0... gcc3
checking for gcc... ccache gcc-4.0
checking whether we are using the GNU C compiler... yes
checking whether ccache gcc-4.0 accepts -g... yes
checking for ccache gcc-4.0 option to accept ISO C89... none needed
checking dependency style of ccache gcc-4.0... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by ccache gcc-4.0... /usr/libexec/gcc/i686-apple-darwin10/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.0.1/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/libexec/gcc/i686-apple-darwin10/4.0.1/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from ccache gcc-4.0 object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking how to run the C preprocessor... ccache gcc-4.0 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether ccache g++-4.0 accepts -g... (cached) yes
checking dependency style of ccache g++-4.0... (cached) gcc3
checking how to run the C++ preprocessor... ccache g++-4.0 -E
checking for objdir... .libs
checking if ccache gcc-4.0 supports -fno-rtti -fno-exceptions... no
checking for ccache gcc-4.0 option to produce PIC... -fno-common -DPIC
checking if ccache gcc-4.0 PIC flag -fno-common -DPIC works... yes
checking if ccache gcc-4.0 static flag -static works... no
checking if ccache gcc-4.0 supports -c -o file.o... yes
checking if ccache gcc-4.0 supports -c -o file.o... (cached) yes
checking whether the ccache gcc-4.0 linker (/usr/libexec/gcc/i686-apple-darwin10/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ld used by ccache g++-4.0... /usr/libexec/gcc/i686-apple-darwin10/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.0.1/ld) is GNU ld... no
checking whether the ccache g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin10/4.0.1/ld) supports shared libraries... yes
checking for ccache g++-4.0 option to produce PIC... -fno-common -DPIC
checking if ccache g++-4.0 PIC flag -fno-common -DPIC works... yes
checking if ccache g++-4.0 static flag -static works... no
checking if ccache g++-4.0 supports -c -o file.o... yes
checking if ccache g++-4.0 supports -c -o file.o... (cached) yes
checking whether the ccache g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin10/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for unistd.h... (cached) yes
checking error.h usability... no
checking error.h presence... no
checking for error.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for error_at_line... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for ANSI C header files... (cached) yes
checking for memchr... yes
checking for setlocale... yes
checking for strchr... yes
checking for strstr... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for ranlib... (cached) ranlib
checking for strerror in -lcposix... no
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking for ld used by GCC... /usr/libexec/gcc/i686-apple-darwin10/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.0.1/ld) is GNU ld... no
checking for shared library run path origin... done
checking for iconv... yes
checking how to link with libiconv... -L/usr/local/lib -liconv
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for locale.h... (cached) yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... no
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... no
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... (cached) yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 2.3, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... yes
checking how to link with libintl... -L/usr/local/lib -lintl -liconv -lc
configure: creating ./config.status
config.status: creating Makefile
config.status: creating hunspell.pc
config.status: creating man/Makefile
config.status: creating man/hu/Makefile
config.status: creating intl/Makefile
config.status: WARNING:  'intl/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating po/Makefile.in
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating src/hunspell/Makefile
config.status: creating src/parsers/Makefile
config.status: creating src/tools/Makefile
config.status: creating src/win_api/Makefile
config.status: creating tests/Makefile
config.status: creating tests/suggestiontest/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
mkdir: ./unxmacxi.pro/misc/build/hunspell-1.2.9/: File exists
make  all-recursive
Making all in intl
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
Making all in src
Making all in hunspell
/bin/sh ../../libtool --tag=CXX   --mode=compile ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT affentry.lo -MD -MP -MF .deps/affentry.Tpo -c -o affentry.lo affentry.cxx
libtool: compile:  ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include -g -O2 -MT affentry.lo -MD -MP -MF .deps/affentry.Tpo -c affentry.cxx  -fno-common -DPIC -o affentry.o
mv -f .deps/affentry.Tpo .deps/affentry.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT affixmgr.lo -MD -MP -MF .deps/affixmgr.Tpo -c -o affixmgr.lo affixmgr.cxx
libtool: compile:  ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include -g -O2 -MT affixmgr.lo -MD -MP -MF .deps/affixmgr.Tpo -c affixmgr.cxx  -fno-common -DPIC -o affixmgr.o
mv -f .deps/affixmgr.Tpo .deps/affixmgr.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT csutil.lo -MD -MP -MF .deps/csutil.Tpo -c -o csutil.lo csutil.cxx
libtool: compile:  ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include -g -O2 -MT csutil.lo -MD -MP -MF .deps/csutil.Tpo -c csutil.cxx  -fno-common -DPIC -o csutil.o
mv -f .deps/csutil.Tpo .deps/csutil.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT dictmgr.lo -MD -MP -MF .deps/dictmgr.Tpo -c -o dictmgr.lo dictmgr.cxx
libtool: compile:  ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include -g -O2 -MT dictmgr.lo -MD -MP -MF .deps/dictmgr.Tpo -c dictmgr.cxx  -fno-common -DPIC -o dictmgr.o
mv -f .deps/dictmgr.Tpo .deps/dictmgr.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT hashmgr.lo -MD -MP -MF .deps/hashmgr.Tpo -c -o hashmgr.lo hashmgr.cxx
libtool: compile:  ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include -g -O2 -MT hashmgr.lo -MD -MP -MF .deps/hashmgr.Tpo -c hashmgr.cxx  -fno-common -DPIC -o hashmgr.o
mv -f .deps/hashmgr.Tpo .deps/hashmgr.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT hunspell.lo -MD -MP -MF .deps/hunspell.Tpo -c -o hunspell.lo hunspell.cxx
libtool: compile:  ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include -g -O2 -MT hunspell.lo -MD -MP -MF .deps/hunspell.Tpo -c hunspell.cxx  -fno-common -DPIC -o hunspell.o
mv -f .deps/hunspell.Tpo .deps/hunspell.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT suggestmgr.lo -MD -MP -MF .deps/suggestmgr.Tpo -c -o suggestmgr.lo suggestmgr.cxx
libtool: compile:  ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include -g -O2 -MT suggestmgr.lo -MD -MP -MF .deps/suggestmgr.Tpo -c suggestmgr.cxx  -fno-common -DPIC -o suggestmgr.o
mv -f .deps/suggestmgr.Tpo .deps/suggestmgr.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT phonet.lo -MD -MP -MF .deps/phonet.Tpo -c -o phonet.lo phonet.cxx
libtool: compile:  ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include -g -O2 -MT phonet.lo -MD -MP -MF .deps/phonet.Tpo -c phonet.cxx  -fno-common -DPIC -o phonet.o
mv -f .deps/phonet.Tpo .deps/phonet.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT filemgr.lo -MD -MP -MF .deps/filemgr.Tpo -c -o filemgr.lo filemgr.cxx
libtool: compile:  ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include -g -O2 -MT filemgr.lo -MD -MP -MF .deps/filemgr.Tpo -c filemgr.cxx  -fno-common -DPIC -o filemgr.o
mv -f .deps/filemgr.Tpo .deps/filemgr.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT hunzip.lo -MD -MP -MF .deps/hunzip.Tpo -c -o hunzip.lo hunzip.cxx
libtool: compile:  ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include -g -O2 -MT hunzip.lo -MD -MP -MF .deps/hunzip.Tpo -c hunzip.cxx  -fno-common -DPIC -o hunzip.o
mv -f .deps/hunzip.Tpo .deps/hunzip.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT replist.lo -MD -MP -MF .deps/replist.Tpo -c -o replist.lo replist.cxx
libtool: compile:  ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include -g -O2 -MT replist.lo -MD -MP -MF .deps/replist.Tpo -c replist.cxx  -fno-common -DPIC -o replist.o
mv -f .deps/replist.Tpo .deps/replist.Plo
/bin/sh ../../libtool --tag=CXX   --mode=link ccache g++-4.0  -g -O2  -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -o libhunspell-1.2.la -rpath /usr/local/lib affentry.lo affixmgr.lo csutil.lo dictmgr.lo hashmgr.lo hunspell.lo suggestmgr.lo phonet.lo filemgr.lo hunzip.lo replist.lo  
libtool: link: ar cru .libs/libhunspell-1.2.a  affentry.o affixmgr.o csutil.o dictmgr.o hashmgr.o hunspell.o suggestmgr.o phonet.o filemgr.o hunzip.o replist.o
libtool: link: ranlib .libs/libhunspell-1.2.a
libtool: link: ( cd ".libs" && rm -f "libhunspell-1.2.la" && ln -s "../libhunspell-1.2.la" "libhunspell-1.2.la" )
Making all in parsers
ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT firstparser.o -MD -MP -MF .deps/firstparser.Tpo -c -o firstparser.o firstparser.cxx
mv -f .deps/firstparser.Tpo .deps/firstparser.Po
ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT htmlparser.o -MD -MP -MF .deps/htmlparser.Tpo -c -o htmlparser.o htmlparser.cxx
mv -f .deps/htmlparser.Tpo .deps/htmlparser.Po
ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT latexparser.o -MD -MP -MF .deps/latexparser.Tpo -c -o latexparser.o latexparser.cxx
mv -f .deps/latexparser.Tpo .deps/latexparser.Po
ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT manparser.o -MD -MP -MF .deps/manparser.Tpo -c -o manparser.o manparser.cxx
mv -f .deps/manparser.Tpo .deps/manparser.Po
ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT textparser.o -MD -MP -MF .deps/textparser.Tpo -c -o textparser.o textparser.cxx
mv -f .deps/textparser.Tpo .deps/textparser.Po
rm -f libparsers.a
ar cru libparsers.a firstparser.o htmlparser.o latexparser.o manparser.o textparser.o 
ranlib libparsers.a
ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT testparser.o -MD -MP -MF .deps/testparser.Tpo -c -o testparser.o testparser.cxx
mv -f .deps/testparser.Tpo .deps/testparser.Po
/bin/sh ../../libtool --tag=CXX   --mode=link ccache g++-4.0  -g -O2  -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -o testparser firstparser.o htmlparser.o latexparser.o manparser.o testparser.o textparser.o ../hunspell/libhunspell-1.2.la 
libtool: link: ccache g++-4.0 -g -O2 -Wl,-syslibroot -Wl,/Developer/SDKs/MacOSX10.4u.sdk -o testparser firstparser.o htmlparser.o latexparser.o manparser.o testparser.o textparser.o  ../hunspell/.libs/libhunspell-1.2.a
Making all in tools
ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -I../../src/hunspell -I../../src/parsers  -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT analyze.o -MD -MP -MF .deps/analyze.Tpo -c -o analyze.o analyze.cxx
mv -f .deps/analyze.Tpo .deps/analyze.Po
/bin/sh ../../libtool --tag=CXX   --mode=link ccache g++-4.0  -g -O2  -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -o analyze analyze.o ../hunspell/libhunspell-1.2.la 
libtool: link: ccache g++-4.0 -g -O2 -Wl,-syslibroot -Wl,/Developer/SDKs/MacOSX10.4u.sdk -o analyze analyze.o  ../hunspell/.libs/libhunspell-1.2.a
ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -I../../src/hunspell -I../../src/parsers  -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT chmorph.o -MD -MP -MF .deps/chmorph.Tpo -c -o chmorph.o chmorph.cxx
mv -f .deps/chmorph.Tpo .deps/chmorph.Po
/bin/sh ../../libtool --tag=CXX   --mode=link ccache g++-4.0  -g -O2  -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -o chmorph chmorph.o ../hunspell/libhunspell-1.2.la ../parsers/libparsers.a 
libtool: link: ccache g++-4.0 -g -O2 -Wl,-syslibroot -Wl,/Developer/SDKs/MacOSX10.4u.sdk -o chmorph chmorph.o  ../hunspell/.libs/libhunspell-1.2.a ../parsers/libparsers.a
ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -I../../src/hunspell -I../../src/parsers  -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT hunspell.o -MD -MP -MF .deps/hunspell.Tpo -c -o hunspell.o hunspell.cxx
hunspell.cxx:111:36: error: ../../intl/libintl.h: No such file or directory
hunspell.cxx: In function 'void pipe_interface(Hunspell**, int, FILE*)':
hunspell.cxx:502: error: 'gettext' was not declared in this scope
hunspell.cxx:547: error: 'gettext' was not declared in this scope
hunspell.cxx:622: error: 'gettext' was not declared in this scope
hunspell.cxx: In function 'int main(int, char**)':
hunspell.cxx:1385: error: 'textdomain' was not declared in this scope
hunspell.cxx:1425: error: 'gettext' was not declared in this scope
hunspell.cxx:1457: error: 'gettext' was not declared in this scope
hunspell.cxx:1470: error: 'gettext' was not declared in this scope
hunspell.cxx:1547: error: 'gettext' was not declared in this scope
hunspell.cxx:1594: error: 'gettext' was not declared in this scope
hunspell.cxx:1607: error: 'gettext' was not declared in this scope
hunspell.cxx:1625: error: 'gettext' was not declared in this scope
hunspell.cxx:1629: error: 'gettext' was not declared in this scope
hunspell.cxx:1690: error: 'gettext' was not declared in this scope
make[3]: *** [hunspell.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
dmake:  Error code 2, while making './unxmacxi.pro/misc/build/so_built_hunspell'
Forcing regeneration of dependency info

nothing to do here...
mkdir: ./unxmacxi.pro/misc/build/hunspell-1.2.9/: File exists
make  all-recursive
Making all in intl
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
Making all in src
Making all in hunspell
make[3]: Nothing to be done for `all'.
Making all in parsers
make[3]: Nothing to be done for `all'.
Making all in tools
ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -I../../src/hunspell -I../../src/parsers  -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT hunspell.o -MD -MP -MF .deps/hunspell.Tpo -c -o hunspell.o hunspell.cxx
hunspell.cxx:111:36: error: ../../intl/libintl.h: No such file or directory
hunspell.cxx: In function 'void pipe_interface(Hunspell**, int, FILE*)':
hunspell.cxx:502: error: 'gettext' was not declared in this scope
hunspell.cxx:547: error: 'gettext' was not declared in this scope
hunspell.cxx:622: error: 'gettext' was not declared in this scope
hunspell.cxx: In function 'int main(int, char**)':
hunspell.cxx:1385: error: 'textdomain' was not declared in this scope
hunspell.cxx:1425: error: 'gettext' was not declared in this scope
hunspell.cxx:1457: error: 'gettext' was not declared in this scope
hunspell.cxx:1470: error: 'gettext' was not declared in this scope
hunspell.cxx:1547: error: 'gettext' was not declared in this scope
hunspell.cxx:1594: error: 'gettext' was not declared in this scope
hunspell.cxx:1607: error: 'gettext' was not declared in this scope
hunspell.cxx:1625: error: 'gettext' was not declared in this scope
hunspell.cxx:1629: error: 'gettext' was not declared in this scope
hunspell.cxx:1690: error: 'gettext' was not declared in this scope
make[3]: *** [hunspell.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
dmake:  Error code 2, while making './unxmacxi.pro/misc/build/so_built_hunspell'
Retrying /Users/dfdumaresq/git/libo/hunspell

mkdir: ./unxmacxi.pro/misc/build/hunspell-1.2.9/: File exists
make  all-recursive
Making all in intl
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
Making all in src
Making all in hunspell
make[3]: Nothing to be done for `all'.
Making all in parsers
make[3]: Nothing to be done for `all'.
Making all in tools
ccache g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -I../../src/hunspell -I../../src/parsers  -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/usr/local/include  -g -O2 -MT hunspell.o -MD -MP -MF .deps/hunspell.Tpo -c -o hunspell.o hunspell.cxx
hunspell.cxx:111:36: error: ../../intl/libintl.h: No such file or directory
hunspell.cxx: In function 'void pipe_interface(Hunspell**, int, FILE*)':
hunspell.cxx:502: error: 'gettext' was not declared in this scope
hunspell.cxx:547: error: 'gettext' was not declared in this scope
hunspell.cxx:622: error: 'gettext' was not declared in this scope
hunspell.cxx: In function 'int main(int, char**)':
hunspell.cxx:1385: error: 'textdomain' was not declared in this scope
hunspell.cxx:1425: error: 'gettext' was not declared in this scope
hunspell.cxx:1457: error: 'gettext' was not declared in this scope
hunspell.cxx:1470: error: 'gettext' was not declared in this scope
hunspell.cxx:1547: error: 'gettext' was not declared in this scope
hunspell.cxx:1594: error: 'gettext' was not declared in this scope
hunspell.cxx:1607: error: 'gettext' was not declared in this scope
hunspell.cxx:1625: error: 'gettext' was not declared in this scope
hunspell.cxx:1629: error: 'gettext' was not declared in this scope
hunspell.cxx:1690: error: 'gettext' was not declared in this scope
make[3]: *** [hunspell.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
dmake:  Error code 2, while making './unxmacxi.pro/misc/build/so_built_hunspell'

-----------------------------------------------------------------------
        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

 it seems that the error is inside 'hunspell', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

rm -Rf /Users/dfdumaresq/git/libo/hunspell/unxmacxi.pro # optional module 'clean'
/bin/sh
cd /Users/dfdumaresq/git/libo
source ./MacOSXX86Env.Set.sh
cd hunspell
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level



On 2011-01-31, at 9:30 PM, Norbert Thiebaud wrote:

> the safest way is:
> 
> make clean
> ./g pull -r (optional. if you want to get the very latest)
> ./autogen.sh (it automatically re-use the last parameters you used -
> see autogen.lastrun)
> make
> 
> Norbert
> 
> On Mon, Jan 31, 2011 at 10:39 PM, David Dumaresq <dfdumaresq at gmail.com> wrote:
>> Hi Michael,
>> 
>> what is the correct way to re-build with the fixes in?
>> 
>> I ran git pull, followed by
>> ./autogen.sh --with-num-cpus=2 --with-max-jobs=2 --disable-mozilla --disable-systray 'CC=ccache gcc-4.0' 'CXX=ccache g++-4.0'
>> ./configure '--with-num-cpus=2' '--with-max-jobs=2' '--disable-mozilla' '--disable-systray' 'CC=ccache gcc-4.0' 'CXX=ccache g++-4.0'
>> 
>> I then ran make check, but have the same error coming up in starmath.
>> 
>> Thanks,
>> Dave
>> 
>> On 2011-01-31, at 12:43 PM, Michael Meeks wrote:
>> 
>>> Hi Dave,
>>> 
>>> On Mon, 2011-01-31 at 10:21 -0800, Dave Dumaresq wrote:
>>>> Thanks for the update!
>>> 
>>>       Just pushed a fix; the unfortunate random re-use of poorly scoped local
>>> variables made this hard to see in the patch. IMHO we need to be locally
>>> scoping all variables as tightly as possible when we touch code.
>>> 
>>>       Anyhow; the problem luckily showed in valgrind:
>>> 
>>> ==17596== Conditional jump or move depends on uninitialised value(s)
>>> ==17596==    at 0x8086F49: RscTypCont::PutSysName(unsigned long, char*,
>>> unsigned long, unsigned long, unsigned char) (rscdb.cxx:388)
>>> ==17596==    at 0x8086F49: RscTypCont::PutSysName(unsigned long, char*,
>>> unsigned long, unsigned long, unsigned char) (rscdb.cxx:388)
>>> ==17596==    by 0x8070B4F: RscSysDepend::WriteSysDependRc(RSCINST
>>> const&, RscWriteRc&, RscTypCont*, unsigned long, unsigned char, unsigned
>>> char) (rscclass.cxx:1095)
>>> ==17596==    by 0x8070B4F: RscSysDepend::WriteSysDependRc(RSCINST
>>> const&, RscWriteRc&, RscTypCont*, unsigned long, unsigned char, unsigned
>>> char) (rscclass.cxx:1095)
>>> 
>>>       HTH,
>>> 
>>>               Michael.
>>> 
>>> --
>>> michael.meeks at novell.com  <><, Pseudo Engineer, itinerant idiot
>>> 
>>> 
>> 
>> 



More information about the LibreOffice mailing list