I've run into problems building aspell under OpenPKG Release 2.2
This same error occured on SuSE 8.2 and SuSE 9.2 Professional.

The problem seems to be related to the gettext package, but I'm
not very familiar with c++, and haven't been able to figure out
why this isn't working.  I've attached the output of the build
process here.  Our OpenPKG installation includes all the standard
development tools, gcc, automake, autoconf, libtool, etc....

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

The cry has been that when war is declared, all opposition should
therefore be hushed.  A sentiment more unworthy of a free country could
hardly be propagated.  If the doctrine be admitted, rulers have only to
declare war and they are screened at once from scrutiny ...  In war,
then, as in peace, assert the freedom of speech and of the press.
Cling to this as the bulwark of all our rights and privileges.
                -- William Ellery Channing
:::: 
ftp://ftp.celestial.com/private/ftp.openpkg.org/release/2.2/SRC/aspell-0.60-20041008.src.rpm
 ::::
Installing 
ftp://ftp.celestial.com/private/ftp.openpkg.org/release/2.2/SRC/aspell-0.60-20041008.src.rpm
Executing(%prep): env -i /csrel22/lib/openpkg/bash --norc --noprofile --posix 
-e /csrel22/RPM/TMP/rpm-tmp.18840
+ cd /csrel22/RPM/TMP
+ cd /csrel22/RPM/TMP
+ rm -rf aspell-0.60
+ /csrel22/lib/openpkg/gzip -dc /csrel22/RPM/SRC/aspell/aspell-0.60.tar.gz
+ /csrel22/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd aspell-0.60
+ cd /csrel22/RPM/TMP
+ cd aspell-0.60
+ /csrel22/lib/openpkg/bzip2 -dc 
/csrel22/RPM/SRC/aspell/aspell6-en-6.0-0.tar.bz2
+ /csrel22/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd /csrel22/RPM/TMP
+ cd aspell-0.60
+ /csrel22/lib/openpkg/bzip2 -dc 
/csrel22/RPM/SRC/aspell/aspell-de-0.50-2.tar.bz2
+ /csrel22/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ echo 'Patch #0 (aspell.patch):'
Patch #0 (aspell.patch):
+ /csrel22/lib/openpkg/patch -p0
patching file Makefile.in
patching file common/lock.hpp
+ exit 0
Executing(%build): env -i /csrel22/lib/openpkg/bash --norc --noprofile --posix 
-e /csrel22/RPM/TMP/rpm-tmp.52961
+ cd /csrel22/RPM/TMP
+ cd aspell-0.60
+ CC=/csrel22/bin/cc
+ CXX=/csrel22/bin/c++
+ CFLAGS='-O2 -pipe'
+ CXXFLAGS='-O2 -pipe'
+ CPPFLAGS=-I/csrel22/include
+ ./configure --prefix=/csrel22 --sysconfdir=/csrel22/etc/aspell 
--libdir=/csrel22/lib --enable-pkglibdir=/csrel22/lib/aspell 
--enable-pkgdatadir=/csrel22/share/aspell --disable-shared
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /csrel22/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 /csrel22/bin/c++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of /csrel22/bin/c++... gcc3
checking for gcc... /csrel22/bin/cc
checking whether we are using the GNU C compiler... yes
checking whether /csrel22/bin/cc accepts -g... yes
checking for /csrel22/bin/cc option to accept ANSI C... none needed
checking dependency style of /csrel22/bin/cc... gcc3
checking whether /csrel22/bin/cc and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /csrel22/bin/sed
checking for egrep... grep -E
checking for ld used by /csrel22/bin/cc... /csrel22/bin/ld
checking if the linker (/csrel22/bin/ld) is GNU ld... yes
checking for /csrel22/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /csrel22/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... /csrel22/bin/cc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... /csrel22/bin/c++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /csrel22/bin/nm -B output from /csrel22/bin/cc 
object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if /csrel22/bin/cc static flag  works... yes
checking if /csrel22/bin/cc supports -fno-rtti -fno-exceptions... no
checking for /csrel22/bin/cc option to produce PIC... -fPIC
checking if /csrel22/bin/cc PIC flag -fPIC works... yes
checking if /csrel22/bin/cc supports -c -o file.o... yes
checking whether the /csrel22/bin/cc linker (/csrel22/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by /csrel22/bin/c++... /csrel22/bin/ld
checking if the linker (/csrel22/bin/ld) is GNU ld... yes
checking whether the /csrel22/bin/c++ linker (/csrel22/bin/ld) supports shared 
libraries... yes
checking for /csrel22/bin/c++ option to produce PIC... -fPIC
checking if /csrel22/bin/c++ PIC flag -fPIC works... yes
checking if /csrel22/bin/c++ supports -c -o file.o... yes
checking whether the /csrel22/bin/c++ linker (/csrel22/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) no
appending configuration tag "F77" to libtool
checking for dlfcn.h... (cached) yes
checking for dlopen in -ldl... (cached) yes
checking for sed... /csrel22/bin/sed
checking for perl... /csrel22/bin/perl
checking whether NLS is requested... yes
checking for msgfmt... /csrel22/bin/msgfmt
checking for gmsgfmt... /csrel22/bin/msgfmt
checking for xgettext... /csrel22/bin/xgettext
checking for msgmerge... /csrel22/bin/msgmerge
checking for ld used by GCC... /csrel22/bin/ld
checking if the linker (/csrel22/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking how to link with libiconv... /csrel22/lib/libiconv.a
checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking for dlfcn.h... (cached) yes
checking for dlopen in -ldl... (cached) yes
checking if file locking and truncating is supported... yes
checking if mmap and friends is supported... yes
checking if file ino is supported... yes
checking if posix locals are supported... yes
checking for nl_langinfo and CODESET... yes
checking if posix mutexes are supported... yes
checking if mblen is supported... yes
checking for working curses library... found in -lncurses
checking for wide character support in curses libraray... no
configure: WARNING: Aspell will not be able to Display UTF-8 characters 
correctly.
checking if standard curses include sequence will work... yes
checking for STL rel_ops pollution... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gen/Makefile
config.status: creating common/Makefile
config.status: creating lib/Makefile
config.status: creating data/Makefile
config.status: creating m4/Makefile
config.status: creating auto/Makefile
config.status: creating modules/Makefile
config.status: creating modules/tokenizer/Makefile
config.status: creating modules/speller/Makefile
config.status: creating modules/speller/default/Makefile
config.status: creating interfaces/Makefile
config.status: creating interfaces/cc/Makefile
config.status: creating scripts/Makefile
config.status: creating examples/Makefile
config.status: creating prog/Makefile
config.status: creating manual/Makefile
config.status: creating po/Makefile.in
config.status: creating modules/filter/Makefile
config.status: creating myspell/Makefile
config.status: creating lib5/Makefile
config.status: creating gen/settings.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
+ /csrel22/bin/make --no-print-directory
Making all in .
depbase=`echo common/cache.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
if /bin/sh ./libtool --mode=compile --tag=CXX /csrel22/bin/c++ -DHAVE_CONFIG_H 
-I. -I. -I./gen  -I./gen -I./common -I./interfaces/cc/ 
-I./modules/speller/default/ -DLOCALEDIR=\"/csrel22/share/locale\" 
-I/csrel22/include  -O2 -pipe -fno-exceptions -MT common/cache.lo -MD -MP -MF 
"$depbase.Tpo" -c -o common/cache.lo common/cache.cpp; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
 /csrel22/bin/c++ -DHAVE_CONFIG_H -I. -I. -I./gen -I./gen -I./common 
-I./interfaces/cc/ -I./modules/speller/default/ 
-DLOCALEDIR=\"/csrel22/share/locale\" -I/csrel22/include -O2 -pipe 
-fno-exceptions -MT common/cache.lo -MD -MP -MF common/.deps/cache.Tpo -c 
common/cache.cpp -o common/cache.o
In file included from 
/csrel22/include/g++/i686-pc-linux-gnu/bits/c++locale.h:46,
                 from /csrel22/include/g++/iosfwd:46,
                 from /csrel22/include/g++/bits/stl_algobase.h:70,
                 from /csrel22/include/g++/algorithm:66,
                 from common/string.hpp:13,
                 from common/posib_err.hpp:10,
                 from common/cache.hpp:4,
                 from common/cache-t.hpp:5,
                 from common/cache.cpp:3:
/csrel22/include/libintl.h:118: error: expected unqualified-id before "const"
/csrel22/include/libintl.h:118: error: expected `)' before "const"
/csrel22/include/libintl.h:118: error: expected `)' before "const"
/csrel22/include/libintl.h:118: error: expected init-declarator before "const"
/csrel22/include/libintl.h:118: error: expected `,' or `;' before "const"
/csrel22/include/libintl.h:134: error: expected unqualified-id before "const"
/csrel22/include/libintl.h:134: error: expected `)' before "const"
/csrel22/include/libintl.h:134: error: expected `)' before "const"
/csrel22/include/libintl.h:134: error: expected init-declarator before "const"
/csrel22/include/libintl.h:134: error: expected `,' or `;' before "const"
/csrel22/include/libintl.h:152: error: expected unqualified-id before "const"
/csrel22/include/libintl.h:152: error: expected `)' before "const"
/csrel22/include/libintl.h:152: error: expected `)' before "const"
/csrel22/include/libintl.h:152: error: expected init-declarator before "const"
/csrel22/include/libintl.h:152: error: expected `,' or `;' before "const"
/csrel22/include/libintl.h:172: error: expected unqualified-id before "unsigned"
/csrel22/include/libintl.h:172: error: expected `)' before "unsigned"
/csrel22/include/libintl.h:172: error: expected `)' before "unsigned"
/csrel22/include/libintl.h:172: error: expected init-declarator before 
"unsigned"
/csrel22/include/libintl.h:172: error: expected `,' or `;' before "unsigned"
/csrel22/include/libintl.h:191: error: expected unqualified-id before "unsigned"
/csrel22/include/libintl.h:191: error: expected `)' before "unsigned"
/csrel22/include/libintl.h:191: error: expected `)' before "unsigned"
/csrel22/include/libintl.h:191: error: expected init-declarator before 
"unsigned"
/csrel22/include/libintl.h:191: error: expected `,' or `;' before "unsigned"
/csrel22/include/libintl.h:213: error: expected unqualified-id before "unsigned"
/csrel22/include/libintl.h:213: error: expected `)' before "unsigned"
/csrel22/include/libintl.h:213: error: expected `)' before "unsigned"
/csrel22/include/libintl.h:213: error: expected init-declarator before 
"unsigned"
/csrel22/include/libintl.h:213: error: expected `,' or `;' before "unsigned"
/csrel22/include/libintl.h:233: error: expected unqualified-id before "const"
/csrel22/include/libintl.h:233: error: expected `)' before "const"
/csrel22/include/libintl.h:233: error: expected `)' before "const"
/csrel22/include/libintl.h:233: error: expected init-declarator before "const"
/csrel22/include/libintl.h:233: error: expected `,' or `;' before "const"
/csrel22/include/libintl.h:251: error: expected unqualified-id before "const"
/csrel22/include/libintl.h:251: error: expected `)' before "const"
/csrel22/include/libintl.h:251: error: expected `)' before "const"
/csrel22/include/libintl.h:251: error: expected init-declarator before "const"
/csrel22/include/libintl.h:251: error: expected `,' or `;' before "const"
/csrel22/include/libintl.h:269: error: expected unqualified-id before "const"
/csrel22/include/libintl.h:269: error: expected `)' before "const"
/csrel22/include/libintl.h:269: error: expected `)' before "const"
/csrel22/include/libintl.h:269: error: expected init-declarator before "const"
/csrel22/include/libintl.h:269: error: expected `,' or `;' before "const"
make[1]: *** [common/cache.lo] Error 1
make: *** [all-recursive] Error 1
error: Bad exit status from /csrel22/RPM/TMP/rpm-tmp.52961 (%build)


RPM build errors:
    Bad exit status from /csrel22/RPM/TMP/rpm-tmp.52961 (%build)

Reply via email to