php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71043 Stats Package not compiling under PHP 7.0
Submitted: 2015-12-06 16:32 UTC Modified: 2016-01-02 07:38 UTC
From: glauco at gateon dot com dot br Assigned: seander (profile)
Status: Closed Package: stats (PECL)
PHP Version: 7.0.0 OS: CentOS 6.7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: glauco at gateon dot com dot br
New email:
PHP Version: OS:

 

 [2015-12-06 16:32 UTC] glauco at gateon dot com dot br
Description:
------------
---
From manual page: http://www.php.net/book.stats
---

After upgrading from PHP 5.3.3 to PHP 7.0.0, the stats and trader modules were not being loaded.

I used PECL to uninstall both modules, and then reinstall them.
The trader module compiled successfully, but the stats did not.

Test script:
---------------
$ sudo pecl install stats

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/stats.so' - /usr/lib64/php/modules/stats.so: cannot open shared object file: No such file or directory in Unknown on line 0

downloading stats-1.0.3.tgz ...
Starting to download stats-1.0.3.tgz (99,144 bytes)
.........done: 99,144 bytes
17 source files, building
running: phpize
Configuring for:
PHP Api Version:         20151012
Zend Module Api No:      20151012
Zend Extension Api No:   320151012
building in /var/tmp/pear-build-rootzxrAHQ/stats-1.0.3
running: /var/tmp/stats/configure --with-php-config=/usr/bin/php-config

[ ... ]

make: *** [php_stats.lo] Error 1
ERROR: `make' failed

Expected result:
----------------
An installed PECL extension.

Actual result:
--------------
Bunch of errors.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-08 03:57 UTC] sean at siobud dot com
Hi!

There is an updated stats version available here https://github.com/Sean-Der/pecl-math-stats/tree/php7

Many extensions have been ported, but their maintainers haven't updated them yet on PECL https://github.com/gophp7/gophp7-ext/wiki/extensions-catalog
 [2015-12-23 19:57 UTC] seander@php.net
-Assigned To: +Assigned To: seander
 [2015-12-23 19:57 UTC] seander@php.net
A new version will be uploaded to PECL in the next day or two, thanks for your patience! We just need to migrate the repo to git (from svn)
 [2016-01-02 07:38 UTC] seander@php.net
-Status: Assigned +Status: Closed
 [2016-01-02 07:38 UTC] seander@php.net
Stats 2.0.0 has been uploaded, which was ported to PHP 7.

thanks!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC