I am using GCC 3.4.6 on Solaris 10. When I try to make aspell 0.33.7.1 I get this error listed below. I am not a C programmer but I believe the error "was not declared in this scope" has something to do with the variable not being available in the required namespace. I'm trying to find a C programmer who knows all about namespaces and scopes etc. but no luck so far.
I know this version of the aspell library is no longer supported. However, the documentation that comes with the PHP 5.2.1 source code says that in order to use the pspell functions that come with PHP, you have to install these older libraries. If there is another solution than to use these older aspell libs please let me know. Snippet of make output: Making all in filter make[2]: Entering directory `/opt/src/spell/aspell-.33.7.1/filter' /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../util -I/usr/local/include -g -O2 -c filter.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../util -I/usr/local/include -g -O2 -c filter.cc -fPIC -DPIC -o .libs/filter.o In file included from filter.cc:2: repl.hh: In member function `bool afilter::PairToUniRepl<T>::fill(typename T::InValue, typename T::Itr*, typename T::Buffer*)': repl.hh:286: error: `first' was not declared in this scope repl.hh:288: error: `second' was not declared in this scope repl.hh: In member function `bool afilter::PairFromUniRepl<T>::fill(typename T::InValue, typename T::Itr*, typename T::Buffer*)': repl.hh:315: error: `second' was not declared in this scope repl.hh:317: error: `first' was not declared in this scope make[2]: *** [filter.lo] Error 1 make[2]: Leaving directory `/opt/src/spell/aspell-.33.7.1/filter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/src/spell/aspell-.33.7.1' make: *** [all-recursive-am] Error 2 _______________________________________________ Aspell-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/aspell-user
