[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[aspell-help] Re: Compile problems on MacOSX
From: |
leuski |
Subject: |
[aspell-help] Re: Compile problems on MacOSX |
Date: |
Tue Oct 23 12:20:23 2001 |
I did compile both aspell and pspell on MacOSX . I could not
make to build shared libraries or load aspell as a pspell
module. I did however got it to work by linking in the static
library into the psepll example-c...
Here are my changes to the source:
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
Yep. I had to this one as well...
2: mmap causes probems
It seems that OSX passes the configure tests for mmap
but fails to do the compile. Below is the error:
open readonly_ws.cc.
replace config(_SC_PAGESIZE) in page_size() with getpagesize()
3: Undefined symbols
After all of this I still get some undefined symbols. Below is
the messages
I fixed that by including
#include "single_repl.hh"
#include "hash_repl-t.hh"
#include "substr_repl-t.hh"
#include "repl_func.hh"
into repl.cc and commenting out
//#include "hash_repl-p.hh"
-- Anton
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [aspell-help] Re: Compile problems on MacOSX,
leuski <=