Не компилируется РНР с cURL:
cURL установился без проблем
РНР:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql4 --with-curl=/usr/local/curlmake
выдает ошибку:
/bin/sh /usr/distr/php/php-4.4.4/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/curl/ -I/usr/distr/php/php-4.4.4/ext/curl/ -DPHP_ATOM_INC -I/usr/distr/php/php-4.4.4/include -I/usr/distr/php/php-4.4.4/main -I/usr/distr/php/php-4.4.4 -I/usr/local/include -I/usr/local/mysql4/include/mysql -I/usr/distr/php/php-4.4.4/ext/xml/expat -I/usr/distr/php/php-4.4.4/TSRM -I/usr/distr/php/php-4.4.4/Zend -g -O2 -prefer-non-pic -c /usr/distr/php/php-4.4.4/ext/curl/curl.c -o ext/curl/curl.lo
/usr/distr/php/php-4.4.4/ext/curl/curl.c: In function `zm_startup_curl':
/usr/distr/php/php-4.4.4/ext/curl/curl.c:261: error: `CURLOPT_FTPASCII' undeclared (first use in this function)
/usr/distr/php/php-4.4.4/ext/curl/curl.c:261: error: (Each undeclared identifier is reported only once
/usr/distr/php/php-4.4.4/ext/curl/curl.c:261: error: for each function it appears in.)
/usr/distr/php/php-4.4.4/ext/curl/curl.c:299: error: `CURLOPT_PASSWDFUNCTION' undeclared (first use in this function)
*** Error code 1
Stop in /usr/distr/php/php-4.4.4.
Что делать??