#48893 [NEW]: Problems compiling with Curl
From: nohn@php.net
Operating system: Linux Ubuntu 6.04
PHP version: 5.3.0
PHP Bug Type: Compile Failure
Bug description: Problems compiling with Curl
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 bug report at http://bugs.php.net/?id=48893&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48893&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48893&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48893&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=48893&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48893&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=48893&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=48893&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=48893&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=48893&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=48893&r=support
Expected behavior: http://bugs.php.net/fix.php?id=48893&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=48893&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=48893&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=48893&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48893&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48893&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=48893&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=48893&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=48893&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=48893&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=48893&r=mysqlcfg
Thread (6 messages)
- nohn@php.net