FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18273&edit=1

ID: 18273
Updated by: cweiske@php.net
Reported By: cweiske at php dot net
Summary: Pyrus: "C compiler cannot create executables"
-Status: Open
+Status: Closed
Type: Bug
Package: PEAR
Package Version: SVN
PHP Version: 5.3.5
-Assigned To:
+Assigned To: cweiske
Roadmap Versions:
New Comment:

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: cweiske
moved to https://github.com/pear2/PEAR2_Pyrus/issues/18


Previous Comments:
------------------------------------------------------------------------

[2011-02-14 14:39:19] cweiske

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

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJun 3, '11 at 2:43p
activeJun 3, '11 at 2:43p
posts1
users1
websitepear.php.net

1 user in discussion

Cweiske: 1 post

People

Translate

site design / logo © 2022 Grokbase