[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspell-devel] PHP and new Aspell
From: |
Melvyn Sopacua |
Subject: |
Re: [aspell-devel] PHP and new Aspell |
Date: |
Sun, 24 Mar 2002 14:24:45 +0100 |
Kevin,
At 12:44 24-3-2002, Kevin Atkinson shared with all of us:
HEAD as it says in the README-CVS
The fix is trivial, don't know why I didn't pick up on it sooner.
libtool uses the ${SED} variable, but doesn't define it. Simply defining it
in the shell ENV, makes libtool work correctly.
Also one more fix, I forgot - similar to the others, but in
lib/find_speller.cpp.
See attached.
However - it doesn't compile:
Making all in examples
source='aspell0.c' object='aspell0.o'
libtool=no depfile='.deps/aspell0.Po'
tmpdepfile='.deps/aspell0.TPo' depmode=gcc /bin/sh ../depcom
p gcc -DHAVE_CONFIG_H -I. -I. -I../common -I../interfaces/cc/ -O -Wall
-c `test -f aspell0.c || echo './'`aspell0.c
/bin/sh ../libtool --mode=link gcc -O -Wall -o aspell0 aspell0.o
../lib/libaspell.la
mkdir .libs
gcc -O -Wall -o .libs/aspell0 aspell0.o ../lib/.libs/libaspell.so
/home/mdev/aspell-20020324/common/.libs/libaspell-common.so -Wl,--rpath
-Wl,/weblib/local/lib
../lib/.libs/libaspell.so: undefined reference to `cerr'
../lib/.libs/libaspell.so: undefined reference to `sqrt'
../lib/.libs/libaspell.so: undefined reference to `endl(ostream &)'
../lib/.libs/libaspell.so: undefined reference to `__out_of_range(char
const *)'
../lib/.libs/libaspell.so: undefined reference to `ostream::flush(void)'
../lib/.libs/libaspell.so: undefined reference to `ostream::operator<<(char
const *)'
../lib/.libs/libaspell.so: undefined reference to `streambuf::sungetc(void)'
../lib/.libs/libaspell.so: undefined reference to `_IO_getc'
../lib/.libs/libaspell.so: undefined reference to
`istrstream::istrstream(int, char const *, int)'
../lib/.libs/libaspell.so: undefined reference to
`istrstream::~istrstream(void)'
../lib/.libs/libaspell.so: undefined reference to `istream::_skip_ws(void)'
../lib/.libs/libaspell.so: undefined reference to `__length_error(char
const *)'
*** Error code 1
Stop.
*** Error code 1
Stop.
Which is the -lstdc++ and -lm (sqrt) missing.
During compilation I also get a lot of errors like this:
creating libaspell.la
(cd .libs && rm -f libaspell.la && ln -s ../libaspell.la libaspell.la)
source='dummy.cpp' object='dummy.lo' libtool=yes depfile='.deps/dummy.Plo'
tmpdepfile='.deps/dummy.TPlo' depmode=gcc /bin/sh ../depcomp /bin/sh
../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../common
-I../interfaces/cc/ -I../common -O -Wall -c -o dummy.lo `test -f
dummy.cpp || echo './'`dummy.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../common -I../interfaces/cc/ -I../common
-O -Wall -c dummy.cpp -Wp,-MD,.deps/dummy.TPlo -fPIC
mv -f dummy.o .libs/dummy.o
/bin/sh ../libtool --mode=link g++ -O -Wall -o libpspell.la -rpath
/weblib/local/lib -version-info 15:0:0 dummy.lo libaspell.la
test: null string where integer was expected
test: null string where integer was expected
> Libtool 1.4 works correctly for me. 1.4.1/2 are broken from PHP's point of
> view.
OK. But you will might have some C++ problems. (Like having to link in
libstdc++ which you did)
This was done using the latest CVS of libtool and aspell.
Best regards,
Melvyn Sopacua
WebMaster IDG.nl
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
If it applies, where it applies - this email is a personal
contribution and does not reflect the views of my employer
IDG.nl.
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\
find_speller.bsdi-compat.diff
Description: Text document
- [aspell-devel] PHP and new Aspell, Melvyn Sopacua, 2002/03/22
- Re: [aspell-devel] PHP and new Aspell, Kevin Atkinson, 2002/03/22
- Message not available
- Re: [aspell-devel] PHP and new Aspell, Melvyn Sopacua, 2002/03/23
- Re: [aspell-devel] PHP and new Aspell, Melvyn Sopacua, 2002/03/23
- Re: [aspell-devel] PHP and new Aspell, Melvyn Sopacua, 2002/03/23
- Re: [aspell-devel] PHP and new Aspell, Kevin Atkinson, 2002/03/24
- Message not available
- Re: [aspell-devel] PHP and new Aspell, Melvyn Sopacua, 2002/03/24
- Re: [aspell-devel] PHP and new Aspell, Kevin Atkinson, 2002/03/24
- Message not available
- Re: [aspell-devel] PHP and new Aspell,
Melvyn Sopacua <=
- Re: [aspell-devel] PHP and new Aspell, Melvyn Sopacua, 2002/03/24