ID:               16174
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: Redhat 6.2
 PHP Version:      4.1.2
 New Comment:

Ah.. I just wrote a lenghty answer just to find out the problem myself,
a old .h file was left in /usr/local/include while the new files were
in /usr/include.  A suggestion:  the libraries and header files should
both be fetched from what is specified in configure!! (i.e I specified
=/usr and its not taken into account and generates weird problems like
this)
.. closed ..


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

[2002-03-19 20:23:51] [EMAIL PROTECTED]

I can not reproduce this with latest CVS. Please try
a snapshot from http://snaps.php.net/

Also, how did you configure curl?


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

[2002-03-19 18:18:40] [EMAIL PROTECTED]

# curl --version
curl 7.9.5 (i686-pc-linux-gnu) libcurl 7.9.5 (OpenSSL 0.9.5)

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

[2002-03-19 18:17:41] [EMAIL PROTECTED]

Hello,

PHP was configured with:
'./configure' 
'--with-config-file-path=/etc/httpd/conf' \
'--with-mysql=/usr' \
'--with-pgsql' \
'--with-mcrypt' \
'--with-mcrypt-dir=\usr' \
'--with-imap=/usr' \
'--with-apxs=/usr/sbin/apxs' \
'--with-zlib=/usr' \
'--with-gd=/usr' \
'--with-png' \
'--with-png-dir=/usr' \
'--with-jpeg' \
'--with-jpeg-dir=/usr' \
'--with-openssl' \
'--with-curl' \
'--with-curl-dir=\usr' \
'--enable-ftp' \
'--enable-shmop' \
'--enable-xml' \
'--enable-track-vars' \
'--with-ttf'


and it died on make with:
curl.c: In function `zm_startup_curl':
curl.c:147: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this
function)
curl.c:147: (Each undeclared identifier is reported only once
curl.c:147: for each function it appears in.)
curl.c:176: `CURLOPT_COOKIEJAR' undeclared (first use in this
function)
curl.c:177: `CURLOPT_SSL_CIPHER_LIST' undeclared (first use in this
function)
curl.c: In function `zif_curl_setopt':
curl.c:671: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this
function)
curl.c:694: `CURLOPT_COOKIEJAR' undeclared (first use in this
function)
curl.c:695: `CURLOPT_SSL_CIPHER_LIST' undeclared (first use in this
function)
curl.c:797: `CURLFORM_COPYNAME' undeclared (first use in this
function)
curl.c:798: `CURLFORM_FILE' undeclared (first use in this function)
curl.c:798: `CURLFORM_END' undeclared (first use in this function)
curl.c:802: `CURLFORM_PTRCONTENTS' undeclared (first use in this
function)

And my curl related libs are:
-rw-r--r--    1 root     root      2168720 Mar 19 17:43 libcurl.a
-rwxr-xr-x    1 root     root          719 Mar 19 17:43 libcurl.la
lrwxrwxrwx    1 root     root           16 Mar 19 17:43 libcurl.so ->
libcurl.so.2.0.2
lrwxrwxrwx    1 root     root           16 Sep  4  2001 libcurl.so.1 ->
libcurl.so.1.1.0
-rwxr-xr-x    1 root     root       403558 Sep  4  2001
libcurl.so.1.1.0
lrwxrwxrwx    1 root     root           16 Mar 19 17:43 libcurl.so.2 ->
libcurl.so.2.0.2
-rwxr-xr-x    1 root     root       303826 Aug  3  2001
libcurl.so.2.0.0
-rwxr-xr-x    1 root     root       508339 Mar 19 17:43
libcurl.so.2.0.2



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


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

Reply via email to