php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57875 This Package won't Compile!
Submitted: 2007-10-15 11:49 UTC Modified: 2008-03-02 11:48 UTC
From: ktamas77 at gmail dot com Assigned:
Status: Closed Package: spread (PECL)
PHP Version: 5.2.1 OS: CentOS Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ktamas77 at gmail dot com
New email:
PHP Version: OS:

 

 [2007-10-15 11:49 UTC] ktamas77 at gmail dot com
Description:
------------
First of all, when you try to add this package by the command:

pecl install channel://pecl.php.net/spread-1.1

it will be added to the PEAR collection instead of the PECL list. So when you type 'pear list' you will see the installed spread package, and if you type the 'pecl list' command there will be no such package as 'spread'.

there is a more serious issue; if you go to the php extensions directory, you will se just some source files of php_spread (.c, .h files) instead of the compiled .so file. 

by the above reasons the pecl spread package 1.1 won't work.

please update /fix this package!



Reproduce code:
---------------
[root@ra1 install]# uname -a
Linux ra1.statcounter.com 2.6.9-55.0.9.ELsmp #1 SMP Tue Sep 25 02:17:24 EDT 2007 i686 i686 i386 GNU/Linux
[root@ra1 install]# pecl install spread
Failed to download pecl/spread within preferred state "stable", latest release is version 1.1, stability "beta", use "channel://pecl.php.net/spread-1.1" to install
Cannot initialize 'spread', invalid or missing package file
Package "spread" is not valid
install failed
[root@ra1 install]# pecl install channel://pecl.php.net/spread-1.1
downloading spread-1.1.tgz ...
Starting to download spread-1.1.tgz (5,830 bytes)
.....done: 5,830 bytes
install ok: channel://pear.php.net/spread-1.1
[root@ra1 install]# pecl list
Installed packages, channel pecl.php.net:
=========================================
Package  Version State
memcache 2.2.0   stable
[root@ra1 install]# pear list
Installed packages, channel pear.php.net:
=========================================
Package          Version State
Archive_Tar      1.3.2   stable
Console_Getopt   1.2.3   stable
PEAR             1.6.2   stable
Structures_Graph 1.0.2   stable
spread           1.1     beta


Expected result:
----------------
A working, compiled spread client.

Actual result:
--------------
[root@ra1 install]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20060613/
config.m4  Makefile.in  memcache.so  package.xml  php_spread.c  php_spread.h  xcache.so
[root@ra1 install]#


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-02 11:48 UTC] rrichards@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Nov 28 14:01:23 2020 UTC