help with pSpell

jechilt

Verified User
Joined
Jun 21, 2004
Messages
217
I am banging my head here.....can't seem to get thigns to work.

System RedHat 9

This is what I have done:
Code:
cd /usr/local/src
wget [url]ftp://ftp.gnu.org/gnu/aspell/aspell-0.50.5.tar.gz[/url]
tar xvfz aspell-0.50.5.tar.gz
cd aspell-0.50.5
./configure && make
make install

then, I do:
Code:
./build clean
./build update
./build php

when build tries to MAKE, it errors out with:




Code:
ext/pspell/pspell.lo(.text+0x19): In function `php_pspell_close':
/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:92: undefined reference to `delete_pspell_manager'
ext/pspell/pspell.lo(.text+0x3d): In function `php_pspell_close_config':
/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:99: undefined reference to `delete_pspell_config'
ext/pspell/pspell.lo(.text+0x144): In function `zif_pspell_new':
/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:142: undefined reference to `new_pspell_config'
ext/pspell/pspell.lo(.text+0x18a):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:162: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0x1dd):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:167: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0x230):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:174: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0x283):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:181: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0x2ef):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:205: undefined reference to `new_pspell_manager'
ext/pspell/pspell.lo(.text+0x2fa):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:206: undefined reference to `delete_pspell_config'
ext/pspell/pspell.lo(.text+0x302):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:208: undefined reference to `pspell_error_number'
ext/pspell/pspell.lo(.text+0x312):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:209: undefined reference to `pspell_error_message'
ext/pspell/pspell.lo(.text+0x345):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:213: undefined reference to `to_pspell_manager'
ext/pspell/pspell.lo(.text+0x375):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:201: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0x394):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:196: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0x578): In function `zif_pspell_new_personal':
/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:245: undefined reference to `new_pspell_config'
ext/pspell/pspell.lo(.text+0x613):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:274: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0x62c):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:275: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0x672):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:278: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0x6c5):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:283: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0x718):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:290: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0x76b):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:297: more undefined references to `pspell_config_replace' follow
ext/pspell/pspell.lo(.text+0x7d7): In function `zif_pspell_new_personal':
/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:321: undefined reference to `new_pspell_manager'
ext/pspell/pspell.lo(.text+0x7e2):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:322: undefined reference to `delete_pspell_config'
ext/pspell/pspell.lo(.text+0x7ea):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:324: undefined reference to `pspell_error_number'
ext/pspell/pspell.lo(.text+0x7fa):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:325: undefined reference to `pspell_error_message'
ext/pspell/pspell.lo(.text+0x827):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:329: undefined reference to `to_pspell_manager'
ext/pspell/pspell.lo(.text+0x85a):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:317: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0x879):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:312: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0xb10): In function `zif_pspell_new_config':
/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:361: undefined reference to `new_pspell_manager'
ext/pspell/pspell.lo(.text+0xb1a):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:363: undefined reference to `pspell_error_number'
ext/pspell/pspell.lo(.text+0xb2a):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:364: undefined reference to `pspell_error_message'
ext/pspell/pspell.lo(.text+0xb57):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:368: undefined reference to `to_pspell_manager'
ext/pspell/pspell.lo(.text+0xc7a): In function `zif_pspell_check':
/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:396: undefined reference to `pspell_manager_check'
ext/pspell/pspell.lo(.text+0xe23): In function `zif_pspell_suggest':
/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:430: undefined reference to `pspell_manager_suggest'
ext/pspell/pspell.lo(.text+0xe33):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:432: undefined reference to `pspell_word_list_elements'
ext/pspell/pspell.lo(.text+0xe40):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:432: undefined reference to `pspell_string_emulation_next'
ext/pspell/pspell.lo(.text+0xe5e):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:436: undefined reference to `delete_pspell_string_emulation'
ext/pspell/pspell.lo(.text+0xe6f):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:438: undefined reference to `pspell_manager_error_message'
ext/pspell/pspell.lo(.text+0x1030): In function `zif_pspell_store_replacement':
/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:467: undefined reference to `pspell_manager_store_replacement'
ext/pspell/pspell.lo(.text+0x1039):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:468: undefined reference to `pspell_manager_error_number'
ext/pspell/pspell.lo(.text+0x105b):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:471: undefined reference to `pspell_manager_error_message'
ext/pspell/pspell.lo(.text+0x1243): In function `zif_pspell_add_to_personal':
/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:504: undefined reference to `pspell_manager_add_to_personal'
ext/pspell/pspell.lo(.text+0x124b):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:505: undefined reference to `pspell_manager_error_number'
ext/pspell/pspell.lo(.text+0x126d):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:508: undefined reference to `pspell_manager_error_message'
ext/pspell/pspell.lo(.text+0x13ff): In function `zif_pspell_add_to_session':
/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:541: undefined reference to `pspell_manager_add_to_session'
ext/pspell/pspell.lo(.text+0x1407):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:542: undefined reference to `pspell_manager_error_number'
ext/pspell/pspell.lo(.text+0x1429):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:545: undefined reference to `pspell_manager_error_message'
ext/pspell/pspell.lo(.text+0x156d): In function `zif_pspell_clear_session':
/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:572: undefined reference to `pspell_manager_clear_session'
ext/pspell/pspell.lo(.text+0x1575):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:573: undefined reference to `pspell_manager_error_number'
ext/pspell/pspell.lo(.text+0x1597):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:576: undefined reference to `pspell_manager_error_message'
ext/pspell/pspell.lo(.text+0x16a1): In function `zif_pspell_save_wordlist':
/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:603: undefined reference to `pspell_manager_save_all_word_lists'
ext/pspell/pspell.lo(.text+0x16a9):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:605: undefined reference to `pspell_manager_error_number'
ext/pspell/pspell.lo(.text+0x16cb):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:608: undefined reference to `pspell_manager_error_message'
ext/pspell/pspell.lo(.text+0x1794): In function `zif_pspell_config_create':
/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:630: undefined reference to `new_pspell_config'
ext/pspell/pspell.lo(.text+0x17da):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:632: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0x182d):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:637: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0x1880):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:644: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0x18cf):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:651: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0x18e9):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:657: undefined reference to `pspell_config_replace'
ext/pspell/pspell.lo(.text+0x1b0d):/usr/local/directadmin/customapache/php-4.3.8/ext/pspell/pspell.c:687: more undefined references to `pspell_config_replace' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

any help would be awesome :-)
 
got pspell installed ((finally))

when i try to restart the httpd, i get the following error and the service won't restart.
Code:
Starting httpd: Syntax error on line 79 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp4.so: undefined symbol: __db185_open

can anyone tell me what this means or what i can do to fix it?
 
RESOLVED!!!

I think there is an issue with the aspell 50.x library's running on Apache1.3

So....after battling, I decided to go back to the older release of aspell and installed aspell-.33.7.1
Also found that when using 33.7.1, a patch (aspell-.33-fix2.diff)has to be installed. All info can be found at: http://aspell.net/old.html

Ohhh, and then during the .configure, I added "--prefix=/usr/local"

ran ./build php and it compiled!

restarted http and it restarted!!

checked my info.php file and there it is!!!

I am a happy camper. If anyone ever has a PSPELL issue, I hope this post will be of help to you.

Regards...
 
Congratulations!

If you have the time, you might even want to write a How To for the How To forum :D
 
Back
Top