Aspell-MAKE
| From: | Gareth Slaven | Date: | Sat, 12 Apr 2003 15:48:55 +0000 |
| Subject: | Aspell-MAKE | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10598@lists.php.net to get a copy of this message | ||
Hi there ...
I am trying to compile ASPELL with php and the following happens :
./configure --with-aspell
All goes well then I do a make and I get the following :
Making all in Zend
make[1]: Entering directory `/usr/local/src/php-4.1.2/Zend'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/php-4.1.2/Zend'
Making all in main
make[1]: Entering directory `/usr/local/src/php-4.1.2/main'
make[2]: Entering directory `/usr/local/src/php-4.1.2/main'
make[2]: Nothing to be done for `all-p'.
make[2]: Leaving directory `/usr/local/src/php-4.1.2/main'
make[1]: Leaving directory `/usr/local/src/php-4.1.2/main'
Making all in ext
make[1]: Entering directory `/usr/local/src/php-4.1.2/ext'
Making all in aspell
make[2]: Entering directory `/usr/local/src/php-4.1.2/ext/aspell'
make[3]: Entering directory `/usr/local/src/php-4.1.2/ext/aspell'
gcc -I. -I/usr/local/src/php-4.1.2/ext/aspell
-I/usr/local/src/php-4.1.2/main -I/usr/local/src/php-4.1.2
-I/usr/local/src/php-4.1.2/Zend -I/usr/local/include
-I/usr/local/src/php-4.1.2/ext/mysql/libmysql
-I/usr/local/src/php-4.1.2/ext/xml/expat -I/usr/local/src/php-4.1.2/TSRM -g
-O2 -c aspell.c && touch aspell.lo
aspell.c: In function `php_aspell_close':
aspell.c:66: `aspell' undeclared (first use in this function)
aspell.c:66: (Each undeclared identifier is reported only once
aspell.c:66: for each function it appears in.)
aspell.c:66: `sc' undeclared (first use in this function)
aspell.c:66: parse error before `)'
aspell.c: In function `zif_aspell_new':
aspell.c:87: `aspell' undeclared (first use in this function)
aspell.c:87: `sc' undeclared (first use in this function)
aspell.c:88: parse error before `int'
aspell.c:103: `ind' undeclared (first use in this function)
aspell.c: In function `zif_aspell_suggest':
aspell.c:114: `aspell' undeclared (first use in this function)
aspell.c:114: `sc' undeclared (first use in this function)
aspell.c:115: parse error before `int'
aspell.c:116: `aspellSuggestions' undeclared (first use in this function)
aspell.c:116: `sug' undeclared (first use in this function)
aspell.c:117: parse error before `i'
aspell.c:126: parse error before `)'
aspell.c:138: `i' undeclared (first use in this function)
aspell.c: In function `zif_aspell_check':
aspell.c:151: `aspell' undeclared (first use in this function)
aspell.c:151: `sc' undeclared (first use in this function)
aspell.c:153: parse error before `int'
aspell.c:154: `argc' undeclared (first use in this function)
aspell.c:160: parse error before `)'
aspell.c: In function `zif_aspell_check_raw':
aspell.c:184: `aspell' undeclared (first use in this function)
aspell.c:184: `sc' undeclared (first use in this function)
aspell.c:192: parse error before `)'
make[3]: *** [aspell.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.1.2/ext/aspell'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.1.2/ext/aspell'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.1.2/ext'
make: *** [all-recursive] Error 1
Now on line 66 of the aspell.c code it says :
aspell *sc = (aspell *)rsrc->ptr;
now here is lines 62 - 70
/* {{{ php_aspell_close
*/
static void php_aspell_close(zend_rsrc_list_entry *rsrc TSRMLS_DC)
{
aspell *sc = (aspell *)rsrc->ptr;
aspell_free(sc);
}
/* }}} */
I can't seem to figure out what's wrong ... any ideas?
Regards
Gareth Slaven (gareth.s@envent.co.za)
Managing Director
ENVENT - Digital Innovation
Tel: +27 11 787-7666 / +27 83 6499944
Website: http://www.envent.co.za
__________________________________________
The Ensight Experience - Know More, Sell More!
-> Publishing
-> Profiling
-> Personalization
-> Communication
__________________________________________
This is a confidential message for the named person's use only. It may
contain confidential, proprietary or legally privileged information. If you
receive this message in error please notify the sender and immediately
delete the message. You must not, directly or indirectly, use, disclose,
distribute, print or copy any part of this message if you are not the
intended recipient. All views expressed in this message are those of the
individual sender and do not necessarily reflect those of Envent Holdings
(Pty) Ltd.