php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58896 make test fails
Submitted: 2009-10-14 22:04 UTC Modified: 2009-10-15 03:44 UTC
From: tk421 dot 1 at gmail dot com Assigned:
Status: Not a bug Package: memcache (PECL)
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID: None
 [2009-10-14 22:04 UTC] tk421 dot 1 at gmail dot com
Description:
------------
"make test" doesn't work properly if you have the default PHP version installed and you try to install the module in another PHP version at another location. 

However if you do "make install" the module is installed properly.

Reproduce code:
---------------
/usr/local/e2t/php/bin/phpize
./configure --with-php-config=/usr/local/e2t/php/bin/php-config
make
make test

Expected result:
----------------
make test should return no errors.

Actual result:
--------------
# make test

Build complete.
Don't forget to run 'make test'.

PHP Warning:  PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20060613
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
bogus test name tests/


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-10-15 03:44 UTC] tony at daylessday dot org
`make test` is not that smart to be able to choose PHP version you meant to test with.
This might be a (minor) problem with the test framework (patches are always welcome), but it's definitely not a PECL/memcache problem.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC