Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #18273 Pyrus: "C compiler cannot create executables"
Submitted: 2011-02-14 19:39 UTC
From: cweiske Assigned: cweiske
Status: Closed Package: PEAR (version SVN)
PHP Version: 5.3.5 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 33 - 1 = ?

 
 [2011-02-14 19:39 UTC] cweiske (Christian Weiske)
Description: ------------ Trying to compile xdebug fails with "C compiler cannot create executables", although manually running the command works. Test script: --------------- root@elysium: ~/xdebug-2.1.0> pyrus-5.3.5 build pecl/xdebug Pyrus version 2.0.0a2 SHA-1: CA3946A5C2C7DE7CD6ED89CAC7CCC06606E006D3 Using PEAR installation found at /opt/phpfarm/inst/php-5.3.5/pear Building PECL extensions PHP Notice: Undefined property: PEAR2\Pyrus\PECLBuild::$current_callback in phar:///opt/phpfarm/inst/php-5.3.5/pyrus.phar/PEAR2_Pyrus-2.0.0a2/php/PEAR2/Pyrus/PECLBuild.php on line 474 Notice: Undefined property: PEAR2\Pyrus\PECLBuild::$current_callback in phar:///opt/phpfarm/inst/php-5.3.5/pyrus.phar/PEAR2_Pyrus-2.0.0a2/php/PEAR2/Pyrus/PECLBuild.php on line 474 WARNING: php_bin /opt/phpfarm/inst/php-5.3.5/bin/php appears to have a suffix farm/inst/php-5.3.5/bin/php, but config variable php_suffix does not match cleaning build directory /opt/phpfarm/inst/php-5.3.5/pear/src/xdebug running: /opt/phpfarm/inst/php-5.3.5/bin/phpize --clean 2>&1 Cleaning.. building in /opt/phpfarm/inst/php-5.3.5/pear/src/xdebug running: /opt/phpfarm/inst/php-5.3.5/bin/phpize 2>&1 Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 building in /opt/phpfarm/inst/php-5.3.5/pear/src/xdebug running: /opt/phpfarm/inst/php-5.3.5/pear/src/xdebug/configure --with-php-config=/opt/phpfarm/inst/php-5.3.5/bin/php-config 2>&1 checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. PEAR2\Pyrus\PECLBuild\Exception: `/opt/phpfarm/inst/php-5.3.5/pear/src/xdebug/configure --with-php-config=/opt/phpfarm/inst/php-5.3.5/bin/php-config' failed

Comments

 [2011-06-03 19:42 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Closed -Assigned To: +Assigned To: cweiske
moved to https://github.com/pear2/PEAR2_Pyrus/issues/18