aspell-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[aspell-help] Compile Problems --> MacOSX


From: RJ Auburn
Subject: [aspell-help] Compile Problems --> MacOSX
Date: Wed, 29 Aug 2001 23:34:13 -0700

I am having problems getting aspell to compile under MacOSX. 

There seems to be several problems with it:
 
  1: Curses are not supported
        This is not a big problem because I can just run
        configure --disable-curses and this problem goes away.

  2: mmap causes probems
       It seems that OSX passes the configure tests for mmap
       but fails to do the compile. Below is the error:

/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I./inc
-I../ -I../util -I../filter -I/usr/local/include     -g -O2 -c readonly_ws.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I./inc -I../ -I../util -I../filter
-I/usr/local/include -g -O2 -c readonly_ws.cc -o readonly_ws.o
readonly_ws.cc: In function `size_t page_size()':
readonly_ws.cc:124: `_SC_PAGESIZE' undeclared (first use this function)
readonly_ws.cc:124: (Each undeclared identifier is reported only once
readonly_ws.cc:124: for each function it appears in.)
make[3]: *** [readonly_ws.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

This can be fixed by disabling mmap by hand in the as_config.h file.

  3: Undefined symbols
After all of this I still get some undefined symbols. Below is the messages:

c++ -g -O2 -o aspell aspell.o termios.o text_chain.o  ../lib/.libs/libaspell.a
-L/usr/local/lib -L/Users/rj/src/pspell-.12.2/modules/.libs 
/usr/local/lib/libpspell-impl.a
-L/Users/rj/src/pspell-.12.2/interface/.libs /usr/local/lib/libpspell.a
/usr/local/lib/libltdl.a /usr/local/lib/libpspell-modules.a
/usr/bin/ld: warning empty table of contents: /usr/local/lib/libpspell-impl.a
(can't load from it)
/usr/bin/ld: Undefined symbols:
_get_filter__H2ZQ27afiltert10SingleRepl1ZQ27afilter9char2charZB1_7afilterRCQ27afiltert12CharReplBase1ZX11_PQ27afilter13FilterItrPart
_get_filter__H2ZQ27afiltert10SubstrRepl1ZQ27afilter9char2charZB1_7afilterRCQ27afiltert12CharReplBase1ZX11_PQ27afilter13FilterItrPart
_get_filter__H2ZQ27afiltert8HashRepl1ZQ27afilter9char2charZB1_7afilterRCQ27afiltert12CharReplBase1ZX11_PQ27afilter13FilterItrPart
_get_repl__H2ZQ27afiltert10SingleRepl1ZQ27afilter8char2uniZB1_7afilterPQ25autil10ConfigDataPCQ27afilter8ReplOpts_PQ27afiltert12CharReplBase1ZX11
_get_repl__H2ZQ27afiltert10SingleRepl1ZQ27afilter8uni2charZB1_7afilterPQ25autil10ConfigDataPCQ27afilter8ReplOpts_PQ27afiltert12CharReplBase1ZX11
_get_repl__H2ZQ27afiltert10SingleRepl1ZQ27afilter9char2charZB1_7afilterPQ25autil10ConfigDataPCQ27afilter8ReplOpts_PQ27afiltert12CharReplBase1ZX11
_get_repl__H2ZQ27afiltert10SubstrRepl1ZQ27afilter8char2uniZB1_7afilterPQ25autil10ConfigDataPCQ27afilter8ReplOpts_PQ27afiltert12CharReplBase1ZX11
_get_repl__H2ZQ27afiltert10SubstrRepl1ZQ27afilter9char2charZB1_7afilterPQ25autil10ConfigDataPCQ27afilter8ReplOpts_PQ27afiltert12CharReplBase1ZX11
_get_repl__H2ZQ27afiltert8HashRepl1ZQ27afilter8char2uniZB1_7afilterPQ25autil10ConfigDataPCQ27afilter8ReplOpts_PQ27afiltert12CharReplBase1ZX11
_get_repl__H2ZQ27afiltert8HashRepl1ZQ27afilter9char2charZB1_7afilterPQ25autil10ConfigDataPCQ27afilter8ReplOpts_PQ27afiltert12CharReplBase1ZX11
make[2]: *** [aspell] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2


Anyone got any ideas what the problem might be? 

Thanks,

    RJ


--
RJ Auburn 
address@hidden - email
1-831-515-3069     - Phone




reply via email to

[Prev in Thread] Current Thread [Next in Thread]