ID:               48893
 Updated by:       fel...@php.net
 Reported By:      n...@php.net
-Status:           Open
+Status:           Closed
 Bug Type:         cURL related
 Operating System: Linux Ubuntu 6.04
 PHP Version:      5.3, 6CVS (2009-07-11)
-Assigned To:      
+Assigned To:      felipe
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




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

[2009-07-12 14:10:12] n...@php.net

I've also checked latests 

   HEAD/trunk: Same problem
   5.3 branch: Same problem
   5.2 branch: Problem not reproducable

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

[2009-07-12 13:31:19] n...@php.net

negative:

$ dpkg -l | grep -i curl
ii  curl                                 7.15.1-1ubuntu3.1             
                     Get a file from an HTTP, HTTPS, FTP or GOPHE
ii  libcurl3                             7.15.1-1ubuntu3.1             
                     Multi-protocol file transfer library
ii  libcurl3-dev                         7.15.1-1ubuntu3.1             
                     Transitional package to libcurl3-openssl-dev
ii  libcurl3-gnutls                      7.15.1-1ubuntu3.1             
                     Multi-protocol file transfer library
ii  libcurl3-openssl-dev                 7.15.1-1ubuntu3.1             
                     Development files and documentation for libc

$ find / -type f -name curl.h
/usr/include/curl/curl.h

PHP 5.2.10 compiles fine on this box with the same user and the same
configure options.

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

[2009-07-12 12:34:31] j...@php.net

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..?

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

[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