|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2017-02-19 08:04 UTC] krazitchek at hotmail dot com
[2017-02-21 13:58 UTC] deadraid at yandex dot ru
[2017-08-25 15:07 UTC] remi@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: remi
[2017-08-25 15:07 UTC] remi@php.net
[2019-07-26 16:37 UTC] rg dot viza at gmail dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 05:00:01 2025 UTC |
Description: ------------ I tried to compile 7.1.2 as usually but this time ./configure fail with these error: checking for cURL in default path... not found configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/ I'm on Debian Stretch (9) 64 bits. With 'locate easy.h' i found libcurl4-openssl-dev is installed in /usr/include/x86_64-linux-gnu/curl when ./configure expect it in/include/curl/` libcurl4-openssl-dev on debian Jessie install curl in /usr/include/curl/ when Stretch install curl in /usr/include/x86_64-linux-gnu/curl. With the last PHP version i compiled (7.1.1), i had no problems, but this time it failed. To compile: ./buildconf --force && ./configure --prefix=/usr/local/php --with-config-file-path=/etc/php/lib --enable-bcmath --with-bz2 --with-zlib --enable-zip --enable-calendar --enable-exif --enable-ftp --with-gettext --with-gd --with-jpeg-dir --with-png-dir --with-freetype-dir --with-xpm-dir --enable-mbstring --enable-mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-openssl --enable-intl --enable-soap --with-readline --with-curl --with-mcrypt --with-xsl --enable-sockets curl and libcurl4-openssl-dev packages are installed via apt-get. I tried with --with-curl=/usr/include/x86_64-linux-gnu/curl/ but it doesn't work. I'm not sure but i think something change in libcurl4-openssl-dev package in debian 8 jessie (packages.debian.org/fr/jessie/amd64/libcurl4-openssl-dev/…) and debian 9 stretch (packages.debian.org/fr/stretch/amd64/libcurl4-openssl-dev/…). We can see on those two urls that path is not the same for the same package. Jessie version match requirement (/usr/include/curl/easy.h) while stretch version don't match requirement (/usr/include/x86_64-linux-gnu/curl/easy.h)