[PHP] pspell replace

2005-03-07 Thread Noodles
Hi, After much messing around I've got a custom dictionary working properly, but I can't seem to find the format for a custom replace file (custom.repl in examples on php.net). Can anyone point me in the right direction or give me an example file? Thanks Nick P.S. In case anyone is wondering

[PHP] Re: pspell replace

2005-03-07 Thread Noodles
Nevermind I found it myself Format should be: personal_repl-1.1 en 0 misspelling replacement Noodles wrote: Hi, After much messing around I've got a custom dictionary working properly, but I can't seem to find the format for a custom replace file (custom.repl in examples on php.net). Can

Re: [PHP] pspell problems

2004-11-08 Thread Noodles
Jason Wong wrote: Anyway, do you have these as well: /usr/include/pspell/ /usr/include/pspell/pspell.h The directory is required for the ./configure command to succeed, and you actually need the header file for the make command to succeed. No, I have no pspell directory or header file, I had

Re: [PHP] pspell problems

2004-11-08 Thread Noodles
Jason Wong wrote: Anyway, do you have these as well: /usr/include/pspell/ /usr/include/pspell/pspell.h As I said in my other email, I don't, but I have found the debian package which has pspell.h in it. It's libpspell-dev So from start to finish, this should install pspell on debian apt-get

[PHP] pspell problems

2004-11-07 Thread Noodles
I've spent the last 6 hours or so trying to get pspell going on my php install, version 4.3.9. I've searched all over the net, but haven't found a solution. I'm using debian so I'm using the packaged version of php4 and apache. I installed aspell using apt-get and then downloaded and compiled

Re: [PHP] pspell problems

2004-11-07 Thread Noodles
I tried it with just aspell (including the aspell-en dictionary package) and whenever I tried to configure php to use pspell it couldn't find pspell (./configure --with-pspell) John Nichel wrote: Noodles wrote: I've spent the last 6 hours or so trying to get pspell going on my php install

Re: [PHP] pspell problems

2004-11-07 Thread Noodles
John Nichel wrote: Noodles wrote: I tried it with just aspell (including the aspell-en dictionary package) and whenever I tried to configure php to use pspell it couldn't find pspell (./configure --with-pspell) If Debian is like Red Hat, you will also need to install some type of development

Re: [PHP] Search engine : build a new one or use an alreadry existing one ?

2004-11-07 Thread Noodles
Curt Zirzow wrote: * Thus wrote robert mena: Hi, I need to improve my current search mecanism but got stuck in a dilema : build one or use an existing engine? My site, that uses php/smarty allows my users to browse products in a category listing or search. Currently my search only performs a

Re: [PHP] pspell problems

2004-11-07 Thread Noodles
John Nichel wrote: If Debian is like Red Hat, you will also need to install some type of development package for aspell (aspell-devel in Red Hat), or install from source so that the headers are present on your system. You may also need to point the php configure script to the location of your

Re: [PHP] pspell problems

2004-11-07 Thread Noodles
John Nichel wrote: Well, the header file is in /usr/include, so try ./configure --with-pspell=/usr Still the same message =/ I tried it with --with-pspell=/usr and then --with-pspell=/usr/include but no luck Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] pspell problems

2004-11-07 Thread Noodles
Jason Wong wrote: --with-pspell=/usr is what you want. I tried this and it still didn't help things Execute: find / -name '*[a|p]spell*' | sort | less and see if 'aspell.h'/'pspell.h' and 'libaspell.so'/'libpspell.so' are in there somewhere. I have: /usr/include/aspell.h