Bug #74125 [NEW]: PHP 7.1.2 compilation and libcurl error

From: Date: Sat, 18 Feb 2017 20:41:19 +0000
Subject: Bug #74125 [NEW]: PHP 7.1.2 compilation and libcurl error
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207439@lists.php.net to get a copy of this message
From: krazitchek at hotmail dot com Operating system: Debian 9 stretch 64bits PHP version: 7.1.2 Package: Compile Failure Bug Type: Bug Bug description:PHP 7.1.2 compilation and libcurl error 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) -- Edit bug report at https://bugs.php.net/bug.php?id=74125&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74125&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74125&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74125&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=74125&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=74125&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=74125&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=74125&r=needscript Try newer version: https://bugs.php.net/fix.php?id=74125&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=74125&r=support Expected behavior: https://bugs.php.net/fix.php?id=74125&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=74125&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=74125&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=74125&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74125&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=74125&r=dst IIS Stability: https://bugs.php.net/fix.php?id=74125&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=74125&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=74125&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=74125&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=74125&r=mysqlcfg

« previous php.bugs (#207439) next »