note 57254 added to ref.pspell

From: Date: Wed, 28 Sep 2005 14:41:37 +0000
Subject: note 57254 added to ref.pspell
Groups: php.notes 
Request: Send a blank email to php-notes+get-95925@lists.php.net to get a copy of this message
hello, I m trying to install aspell & pspell but i m not able to get success in it. although it looks pretty simple to install but it is not working with php. the details as as under: can some one help me in fixing this error :( This is something that I have followed to install ASPELL & PSPELL Environment: 1. OS: LINUX 2. Apache 2.0.54 3. pspell-.12.2 4. aspell-0.60.3 5. aspell6-en-6.0-0 (Dictionary) 6. PHP 5.0.5 Installation Process: (Process-I) First, in pspell directory: ./configure make make install Then, in aspell directory ./configure Make make install Finally, go back to pspell directory and do cd modules ./add-modules cd .. make make install in dictionary folder ./configure make make install Installation Process: (Process-II) into the pspell-.12.2 directory ./configure # make # make install # cd modules # ./add-modules # cd .. # make # make install Second we have to install Aspell: Get into the aspell directory # ./configure # make # make install Get into the aspell dictionary directory # ./configure # make # make install Also changed the ./configure –prefix=/usr/local/aspell. For both aspell & pspell It worked fine with command line # aspell check <file name> Where file name is the file with wrong spellings. PHP compiled successfully with –with-pspell. PHP SAYS: Warning: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en".". Tried the following spllers: http://www.broken-notebook.com/spell_checker/ (not working) http://me.eae.net/ (not working) http://sourceforge.net/projects/sphpell/ (not working) http://www.netjs.com/speller/ (working: because it uses shell_exec(). As I have mentioned above it works from command line) Following are the references: http://www.oblius.com/?.blogs.184 http://us2.php.net/pspell http://www.zend.com/lists/php-dev/200107/msg00634.html --- Sajid ---- Manual Page -- http://www.php.net/manual/en/ref.pspell.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+57254 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57254&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57254&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57254&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57254&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57254&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57254&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57254&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+57254&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#95925) next »