Doc #77078 [NEW]: Trying to install cairo, says cairo not found

From: Date: Mon, 29 Oct 2018 12:10:45 +0000
Subject: Doc #77078 [NEW]: Trying to install cairo, says cairo not found
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16106@lists.php.net to get a copy of this message
From: teo8976 at gmail dot com Operating system: PHP version: 7.2.11 Package: cairo Bug Type: Documentation Problem Bug description:Trying to install cairo, says cairo not found Description: ------------ I'm trying to install pecl/cairo with # pecl install cairo-0.3.2 and I get an error that says that cairo is not found in the system. Brilliant. Test script: --------------- From the command line: # pecl install cairo-0.3.2 Expected result: ---------------- should either install, or tell me exactly what's wrong that causes the installation to fail Actual result: -------------- The output ends with this error: checking for cairo... not found configure: error: Ooops ! no cairo detected in the system ERROR: `/tmp/pear/temp/Cairo/configure --with-php-config=/usr/bin/php-config --with-cairo' failed Yeah, of course no cairo detected in the system, that's the very thing I'm trying to install, you idiot!! Full output below: # pecl install cairo-0.3.2 WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update downloading Cairo-0.3.2.tgz ... Starting to download Cairo-0.3.2.tgz (173,203 bytes) .....................................done: 173,203 bytes 23 source files, building running: phpize Configuring for: PHP Api Version: 20131106 Zend Module Api No: 20131226 Zend Extension Api No: 220131226 Please provide the prefix of the Cairo installation [autodetect] : building in /tmp/pear/temp/pear-build-rootHMTcLo/Cairo-0.3.2 running: /tmp/pear/temp/Cairo/configure --with-php-config=/usr/bin/php-config --with-cairo checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib checking for PHP extension directory... /usr/lib/php5/20131226 checking for PHP installed headers prefix... /usr/include/php5 checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... nawk checking if nawk is broken... no checking for Cairo graphics library support... yes, shared checking PHP version... ok checking for pkg-config... found checking for cairo... not found configure: error: Ooops ! no cairo detected in the system ERROR: `/tmp/pear/temp/Cairo/configure --with-php-config=/usr/bin/php-config --with-cairo' failed -- Edit bug report at https://bugs.php.net/bug.php?id=77078&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77078&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77078&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77078&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=77078&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=77078&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=77078&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=77078&r=needscript Try newer version: https://bugs.php.net/fix.php?id=77078&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=77078&r=support Expected behavior: https://bugs.php.net/fix.php?id=77078&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=77078&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=77078&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=77078&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77078&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=77078&r=dst IIS Stability: https://bugs.php.net/fix.php?id=77078&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=77078&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=77078&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=77078&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=77078&r=mysqlcfg

« previous php.doc.bugs (#16106) next »