I am sysadm'ing a mixed cluster of pc/linux, sparc/solaris and dec/osf
computers.  I have installed successfully aspell on linux and suns, but I
could not figure how to install it on DEC systems.  I still had mail
messages exchanged with the author of aspell in the past.  uname -a shows:

OSF1 axcdf4.pd.infn.it V4.0 878 alpha alpha

1) I configured aspell with
   ./configure alpha-dec-osf --prefix=/opt/gnu --with-gcc
   and ran make; the mangled names are too long for Digital's assembler (I
   remind you that GNU assembler and linker have NOT been ported to 64 bit
   architectures, and that I am forced to use Digital assembler and
   linker).  The output from ./configure and make are in attachments in
   the first two files.
2) I have now a license for Kuck and Associates Inc. (KAI) compiler; I
   have then tried:
   make distclean
   CC=gcc CCC=KCC ./configure alpha-dec-osf --prefix=/opt/gnu
   make
   BUT your C++ is not compliant to the Standard.  You are actually using
   namespaces for YOUR software, but you are ignoring that library symbols 
   also use namespaces, and live in namespace std; so that I got an error
   in the very first procedure compiled.  Inserting a statement "using
   namespace std;" in that procedure makes it compile successfully; but I
   do not want to manually edit all of your source files to insert such a
   statement (that is, indeed, a deprecated practice).  Configure and make
   output are in attachment in the files three and four.

Do I have to give up and to tell my users to resort on linux/solaris in
order to spell-check their files, or do you have other suggestions?

-- 
Maurizio Loreti                         http://www.pd.infn.it/~loreti/mlo.html
Univ. of Padova, Dept. of Physics - Padova, Italy            [EMAIL PROTECTED]
creating cache ./config.cache
checking for a BSD compatible install... /opt/gnu/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... alpha-dec-osf
checking build system type... alpha-dec-osf
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc   ) works... yes
checking whether the C compiler (gcc   ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /opt/gnu/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries... no
checking command to parse /opt/gnu/bin/nm -B output... ok
checking how to hardcode library paths into programs... unsupported
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2  ) works... yes
checking whether the C compiler (gcc -g -O2  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking for gcc option to accept ANSI C... none needed
checking for function prototypes... yes
checking for c++... c++
checking whether the C++ compiler (c++   ) works... yes
checking whether the C++ compiler (c++   ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking for unistd.h... yes
checking for alloca.h... yes
checking for libintl.h... no
checking for /usr/ucblib in LIBS... no
checking for strerror... yes
checking for gettext... no
checking for dgettext... no
checking for setreuid... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating lib/inc/Makefile
creating src/Makefile
creating data/Makefile
creating scripts/Makefile
creating util/Makefile
creating filter/Makefile
creating manual/Makefile
creating manual/man-html/Makefile
creating manual/man-text/Makefile
creating as_config.h

1st make output

loading cache ./config.cache
checking for a BSD compatible install... (cached) /opt/gnu/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... (cached) alpha-dec-osf
checking build system type... (cached) alpha-dec-osf
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc   ) works... yes
checking whether the C compiler (gcc   ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) 
/cdfroot/cdf/products/kai/v3_3e_1/KCC_BASE/bin/ld
checking if the linker (/cdfroot/cdf/products/kai/v3_3e_1/KCC_BASE/bin/ld) is GNU 
ld... (cached) no
checking for BSD-compatible nm... (cached) 
/cdfroot/cdf/products/kai/v3_3e_1/KCC_BASE/bin/nm -B
checking whether ln -s works... (cached) yes
make  all-recursive
make[1]: Entering directory `/home/loreti/work/aspell-.29'
Making all in util
make[2]: Entering directory `/home/loreti/work/aspell-.29/util'
/bin/sh ../libtool --mode=compile KCC -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c 
editdist.cc
KCC -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c editdist.cc -o editdist.o
"editdist.cc", line 37: error: vector is not a template
        vector<int>   data;
        ^

"editdist.cc", line 61: error: vector is not a template
      vector<D> heap;
      ^

"editdist.cc", line 40: error: expected a ")"
        : size_x(x), data(size_x*y, initial_value) {}
                                  ^

"editdist.cc", line 119: error: identifier "vector" is undefined
        vector<D>::size_type lastpos = heap.size() -1;
        ^

"editdist.cc", line 119: error: type name is not allowed
        vector<D>::size_type lastpos = heap.size() -1;
               ^

"editdist.cc", line 119: error: the global scope has no "size_type"
        vector<D>::size_type lastpos = heap.size() -1;
                   ^

"editdist.cc", line 119: error: expected a ";"
        vector<D>::size_type lastpos = heap.size() -1;
                             ^

"editdist.cc", line 120: error: identifier "lastpos" is undefined
        heap[i] = heap[lastpos];
                       ^

8 errors detected in the compilation of "editdist.cc".
KCC: Compilation failed.
make[2]: *** [editdist.lo] Error 1
make[2]: Leaving directory `/home/loreti/work/aspell-.29/util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/loreti/work/aspell-.29'
make: *** [all-recursive-am] Error 2

Reply via email to