ID:               48893
 Updated by:       j...@php.net
 Reported By:      n...@php.net
-Status:           Open
+Status:           Feedback
-Bug Type:         Compile Failure
+Bug Type:         cURL related
 Operating System: Linux Ubuntu 6.04
 PHP Version:      5.3.0
 New Comment:

Sounds like your curl installation is borked. Perhaps you have older 
header files somewhere in your system which get used instead of the 
correct ones..?


Previous Comments:
------------------------------------------------------------------------

[2009-07-12 11:24:48] n...@php.net

$ curl --version
curl 7.15.1 (i486-pc-linux-gnu) libcurl/7.15.1 OpenSSL/0.9.8a
zlib/1.2.3 libidn/0.5.18
Protocols: tftp ftp gopher telnet dict ldap http file https ftps 
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz 


------------------------------------------------------------------------

[2009-07-12 11:23:28] n...@php.net

Description:
------------
Does not compile with curl

Reproduce code:
---------------
$ ./configure \
--prefix=/opt/php \
--sysconfdir=/etc/opt/php \
--localstatedir=/var/opt/php \
--with-apxs2=/opt/apache/sbin/apxs \
--with-mysql \
--with-mysqli \
--with-zlib \
--enable-inline-optimization \
--enable-sockets \
--enable-ftp \
--enable-pdo \
--enable-bcmath \
--with-pdo-mysql \
--with-gd \
--with-freetype-dir=/usr \
--with-jpeg-dir=/usr \
--with-curl \
--with-tidy \
--with-xsl \
--enable-exif \
--with-openssl
$ make


Expected result:
----------------
Compiles fine

Actual result:
--------------
/bin/sh /home/compile/install_temp/php-5.3.0/libtool --silent
--preserve-dup-deps --mode=compile
/home/compile/install_temp/php-5.3.0/meta_ccld  -Iext/curl/
-I/home/compile/install_temp/php-5.3.0/ext/curl/ -DPHP_ATOM_INC
-I/home/compile/install_temp/php-5.3.0/include
-I/home/compile/install_temp/php-5.3.0/main
-I/home/compile/install_temp/php-5.3.0
-I/home/compile/install_temp/php-5.3.0/ext/date/lib
-I/home/compile/install_temp/php-5.3.0/ext/ereg/regex
-I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/mysql
-I/home/compile/install_temp/php-5.3.0/ext/sqlite3/libsqlite
-I/usr/include/tidy -I/home/compile/install_temp/php-5.3.0/TSRM
-I/home/compile/install_temp/php-5.3.0/Zend  -D_REENTRANT -DTHREAD=1 
-I/usr/include -g -O2 -fvisibility=hidden -pthread -DZTS 
-prefer-non-pic -c
/home/compile/install_temp/php-5.3.0/ext/curl/interface.c -o
ext/curl/interface.lo 
/home/compile/install_temp/php-5.3.0/ext/curl/interface.c: In function
'zm_startup_curl':
/home/compile/install_temp/php-5.3.0/ext/curl/interface.c:784: error:
'CURLFTPMETHOD_MULTICWD' undeclared (first use in this function)
/home/compile/install_temp/php-5.3.0/ext/curl/interface.c:784: error:
(Each undeclared identifier is reported only once
/home/compile/install_temp/php-5.3.0/ext/curl/interface.c:784: error:
for each function it appears in.)
/home/compile/install_temp/php-5.3.0/ext/curl/interface.c:785: error:
'CURLFTPMETHOD_NOCWD' undeclared (first use in this function)
/home/compile/install_temp/php-5.3.0/ext/curl/interface.c:786: error:
'CURLFTPMETHOD_SINGLECWD' undeclared (first use in this function)
make: *** [ext/curl/interface.lo] Error 1



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48893&edit=1

Reply via email to