php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16174 compile failure with curl 7.9.5
Submitted: 2002-03-19 18:17 UTC Modified: 2002-03-20 02:23 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: webmaster at can-host dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.1.2 OS: Redhat 6.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: webmaster at can-host dot com
New email:
PHP Version: OS:

 

 [2002-03-19 18:17 UTC] webmaster at can-host dot com
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-19 18:18 UTC] webmaster at can-host dot com
# curl --version
curl 7.9.5 (i686-pc-linux-gnu) libcurl 7.9.5 (OpenSSL 0.9.5)
 [2002-03-19 20:23 UTC] sniper@php.net
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-20 02:23 UTC] webmaster at can-host dot com
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 ..
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Oct 18 03:01:27 2024 UTC