#186 Cannot compile on Solaris 8

closed
compile (52)
5
2016-12-11
2006-05-31
Garey Mills
No

Hi -

I'm trying to compile on a Sparc Solaris 8
machine. I don't care
about curses, so my configure is

configure --disable-curses

I have gcc 3.4.2. The configuration goes okay,
but this is the last part
of the compilation:

g++ -I/usr/local/include -o .libs/aspell
prog/aspell.o
prog/check_funs.o prog/checker_string.o -L/usr/local/lib
./.libs/libaspell.so -lc /usr/local/lib/libstdc++.so
-L/opt/src/gcc-3.4.2-target/sparc-sun-solaris2.8/libstdc++-v3/src
-L/opt/src/gcc-3.4.2-target/sparc-sun-solaris2.8/libstdc++-v3/src/.libs
-L/opt/src/gcc-3.4.2-target/gcc -ldl -Wl,-R
-Wl,/usr/local/lib
ld: warning: file /usr/local/lib/libstdc++.so:
attempted multiple
inclusion of file
Undefined first referenced
symbol in file
libintl_bind_textdomain_codeset prog/aspell.o

I believed I had a problem with the libintl
libraries, so I
disabled /usr/include/libintl.h so that the compilation
would pick up
/usr/local/include/libintl.h. I also set up this env
variable

CXXFLAGS=-I/usr/local/include -L/usr/local/lib

I also found discussion of changing the LIBINTL
tag to LTLIBINTL
tag in Makefile.am, so I did that as well.

Nothing seems to affect the outcome of the
compilation.

Discussion

  • Garey Mills

    Garey Mills - 2006-06-02

    Logged In: YES
    user_id=555793

    I found out how to get aspell to compile. I found the
    configuration switch --without-libintl-prefix in the
    configure --help documentation. This should probably be in
    the special comments for Solaris.

     
  • Kevin Atkinson

    Kevin Atkinson - 2010-03-04

    What version of Aspell is this. Use "aspell -v" to find out.

     
  • Kevin Atkinson

    Kevin Atkinson - 2016-12-11
    • Status: open --> closed