cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Problem during the make process of php4

From: Cosimo Zecchi <c.zecchi_at_gmail.com>
Date: Wed, 6 Dec 2006 11:55:45 +0100

Hi all,
 i'm trying to compile php with the support of curl.
I've downloaded the latest version of curl and php 4.4.4.
The installation of curl succeded but when i g to make the php i receive
always this error:

/bin/sh /usr/local/src/php-4.4.4/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/curl/ -I/usr/local/src/php-4.4.4/ext/curl/
-DPHP_ATOM_INC -I/usr/local/src/php-4.4.4/include
-I/usr/local/src/php-4.4.4/main
-I/usr/local/src/php-4.4.4 -I/usr/local/include
-I/usr/local/src/php-4.4.4/ext/xml/expat
-I/usr/local/src/php-4.4.4/TSRM -I/usr/local/src/php-4.4.4/Zend -g -O2
-prefer-non-pic -c /usr/local/src/php-4.4.4/ext/curl/curl.c -o
ext/curl/curl.lo
/usr/local/src/php-4.4.4/ext/curl/curl.c: In function `zm_startup_curl':
/usr/local/src/php-4.4.4/ext/curl/curl.c:261: error: `CURLOPT_FTPASCII'
undeclared (first use in this function)
/usr/local/src/php-4.4.4/ext/curl/curl.c:261: error: (Each undeclared
identifier is reported only once
/usr/local/src/php-4.4.4/ext/curl/curl.c:261: error: for each function it
appears in.)
/usr/local/src/php-4.4.4/ext/curl/curl.c:299: error:
`CURLOPT_PASSWDFUNCTION' undeclared (first use in this function)
make: *** [ext/curl/curl.lo] Error 1

Anyone does know what to do?

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-12-06