Problem building with ASpell 0.29.1
| From: | Graeme Merrall | Date: | Thu, 24 Feb 2000 04:55:59 +0000 |
| Subject: | Problem building with ASpell 0.29.1 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-10789@lists.php.net to get a copy of this message | ||
Using latest CVS, Apache 1.3.9 and Aspell-.29.1. PHP detects Aspell library
fine after copy aspell-c.h to /usr/local/include. lib files installed from
aspell into /usr/local/include.
PHP detects libs fine and build PHP module. Apache compilation dies. Output
attached with apologies for line wrapping.
./configure flag for PHP was --with-aspell and I
tried --with-aspell=/usr/local
Cheers,
Graeme
<=== src/modules/php4
<=== src/modules
gcc -c -I./os/unix -I./include -DLINUX=2 -I/usr/src/inspire/php4 -I/usr/s
rc/inspire/php4/Zend -I/usr/src/inspire/php4/Zend -I/usr/src/inspire/php4 -D
USE_EXPAT -I./lib/expat-lite
./apaci modules.c
gcc -c -I./os/unix -I./include -DLINUX=2 -I/usr/src/inspire/php4 -I/usr/s
rc/inspire/php4/Zend -I/usr/src/inspire/php4/Zend -I/usr/src/inspire/php4 -D
USE_EXPAT -I./lib/expat-lite ./apaci buildmark.c
gcc -DLINUX=2 -I/usr/src/inspire/php4 -I/usr/src/inspire/php4/Zend -I/usr/s
rc/inspire/php4/Zend -I/usr/src/inspire/php4 -DUSE_EXPAT -I./lib/expat-lite
./apaci \
-o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.a -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/p
gsql/lib -rdynamic -L/usr/local/lib -L/usr/local/pgsql/lib -Lmodules/php4 -
L../modules/php4 -L../../modules/php4 -lmodphp4 -lgdbm -lpam -ldl -ldl
-lpq -lz -ljpeg -lpng -ltiff -lpdf -lmcrypt -lgd -laspell -lresolv -lm -lcry
pt -lnsl -lresolv -lm -lcrypt
modules/php4/libphp4.a(aspell.o): In function `php_aspell_close':
/usr/src/inspire/php4/ext/aspell/aspell.c:55: undefined reference to
`aspell_free'
modules/php4/libphp4.a(aspell.o): In function `php_if_aspell_new':
/usr/src/inspire/php4/ext/aspell/aspell.c:86: undefined reference to
`aspell_new'
modules/php4/libphp4.a(aspell.o): In function `php_if_aspell_suggest':
/usr/src/inspire/php4/ext/aspell/aspell.c:123: undefined reference to
`aspell_suggest'
/usr/src/inspire/php4/ext/aspell/aspell.c:127: undefined reference to
`aspell_free_suggestions'
modules/php4/libphp4.a(aspell.o): In function `php_if_aspell_check':
/usr/src/inspire/php4/ext/aspell/aspell.c:152: undefined reference to
`aspell_check'
modules/php4/libphp4.a(aspell.o): In function `php_if_aspell_check_raw':
/usr/src/inspire/php4/ext/aspell/aspell.c:184: undefined reference to
`aspell_check_raw'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/src/inspire/apache_1.3.9/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/inspire/apache_1.3.9'
make: *** [build] Error 2