I have installed aspell-0.50.5 and the English language dictionary (aspell-en-0.51-1) onto my Redhat 9 server running apache 2. I have tried to compile php 4.3.5 with aspell enabled in the config using the following option:

--with-aspell=/usr/local/aspell-0.50.5

I do not get any errors when running the make install command. However when I try to access any of the aspell functions in php I get a 'Call to undefined function' error.

The php obviously can't find the aspell install, even though i'm pointing to it in the above configure option.

The aspell is installed correctly and works ok through the command line, it just doesn't work with PHP.

Any ideas would be greatly appreciated.....

    I'm a bit confused though because on the Pspell functions page on the PHP site it says:

    'To compile PHP with pspell support, you need the aspell library, available from http://aspell.sourceforge.net/. '

    If aspell is no longer supported, why is it needed for pspell?

    I have already installed the aspell library which didn't work when trying to use the php aspell functions.

    Maybe I have to point the: --with-pspell configure option to the aspell library installation like this:

    --with-pspell=/usr/local/aspell-0.50.5

    I'll give this a try, and hopefully it might work ;-)

      I'm a bit confused though because on the Pspell functions page on the PHP site it says:

      'To compile PHP with pspell support, you need the aspell library, available from http://aspell.sourceforge.net/. '

      If aspell is no longer supported, why is it needed for pspell?

      I have already installed the aspell library which didn't work when trying to use the php aspell functions.

      Maybe I have to point the: --with-pspell configure option to the aspell library installation like this:

      --with-pspell=/usr/local/aspell-0.50.5

      I'll give this a try, and hopefully it might work ;-)

        Write a Reply...