Hi.
I'm trying to compile aspell-0.60.4 as described in the book.I thought it
would be an easy package to install, but I was wrong. Here is the last piece
of compilation:
/bin/sh ./libtool --tag=CXX --mode=link g++ -g -O2 -fno-exceptions -o
context-filter.la -rpath /usr/lib/aspell-0.60 -module -avoid-version
modules/filter/context.lo libaspell.la -ldl -ldl
libtool: link: warning:
`/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../..//libstdc++.la' seems to be
moved
g++ -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../crti.o
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/crtbeginS.o
modules/filter/.libs/context.o -Wl,--rpath -Wl,/sources/aspell-0.60.4/.libs
./.libs/libaspell.so -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../
-L/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src
-L/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-L/sources/gcc-build/./gcc -ldl -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.1
-L/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../.. /usr/lib/libstdc++.so -lm
-lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/crtendS.o
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../crtn.o -Wl,-soname -Wl,
context-filter.so -o .libs/context-filter.so
creating context-filter.la
(cd .libs && rm -f context-filter.la && ln -s ../context-filter.la
context-filter.la)
depbase=`echo modules/filter/nroff.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;
\
if /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I./gen -I./gen -I./common -I./interfaces/cc/
-I./modules/speller/default/ -DLOCALEDIR=\"/usr/share/locale\" -g -O2
-fno-exceptions -MT modules/filter/nroff.lo -MD -MP -MF "$depbase.Tpo" -c -o
modules/filter/nroff.lo modules/filter/nroff.cpp; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo";
exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I./gen -I./gen -I./common -I./interfaces/cc/
-I./modules/speller/default/ -DLOCALEDIR=\"/usr/share/locale\" -g -O2
-fno-exceptions -MT modules/filter/nroff.lo -MD -MP -MF
modules/filter/.deps/nroff.Tpo -c modules/filter/nroff.cpp -fPIC -DPIC -o
modules/filter/.libs/nroff.o
modules/filter/nroff.cpp:76: error: extra qualification
'<unnamed>::NroffFilter::' on member 'process_char'
make[1]: *** [modules/filter/nroff.lo] Error 1
make[1]: se sale del directorio `/sources/aspell-0.60.4'
make: *** [all-recursive] Error 1
I'm using gcc-4.1.1, as you can see. I've tried with and without C(XX)FLAGS,
and I've also tried applying the debian sid patch, which has been useful for
me in other cases. But the error is always similar. If the package had lots
of requirements, I could understand that some other package could be causing
problems, but, as I said, this looked a quite simple package.
Any help?
Thanks
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page