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

curl-and-php

Help! problems installing Curl with PHP 4.4.4

From: Steve Kirtley <steve.kirtley_at_gmail.com>
Date: Mon, 30 Oct 2006 17:09:54 +0000

Hi folks,

Hope someone can help me. I've tried to install Curl 7.16.0 onto my Red Hat
system. The actual install went fine, but when I try to configure PHP to use
it I get an error. But having rolled back to PHP 4.2.2 for testing my
configure command did work and curl started to work fine.

Below are some details of the errors I saw:

as you can see the following CURL mods are installed:

[root -php-4.4.4]# rpm -qa | grep curl
libcurl3-7.15.5-1
curl-7.15.5-1
libcurl3-devel-7.15.5-1

used the following configure command:

 ./configure --with-db --with-gdbm --with-xml
--with-apxs=/usr/local/apache/bin/apxs --with-curl=/usr/lib
--with-mysql=/usr/local/mysql --with-oci8=/usr/local/oracle
--enable-sigchild --enable-trans-sid --with-pgsql

All configures fine, when I go to 'make' I get the following errors:

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

Anyone got any ideas? exactly same config / make routine on PHP 4.2.2 runs
fine...

Thanks all,

Steve

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