php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58898 Can't install
Submitted: 2009-10-16 16:39 UTC Modified: 2009-10-16 16:56 UTC
From: serg dot s dot r at gmail dot com Assigned:
Status: Not a bug Package: libevent (PECL)
PHP Version: Trunk SVN-2009-10-16 (dev) OS:
Private report: No CVE-ID: None
 [2009-10-16 16:39 UTC] serg dot s dot r at gmail dot com
Description:
------------
svn checkout  
http://svn.php.net/repository/pecl/libevent/trunk
phpize
./configure
make



Actual result:
--------------
/bin/sh /home/ratik/my/trunk/libtool --mode=compile gcc  -I. 
-I/home/ratik/my/trunk -DPHP_ATOM_INC -
I/home/ratik/my/trunk/include -I/home/ratik/my/trunk/main -
I/home/ratik/my/trunk -I/usr/local/include/php -
I/usr/local/include/php/main -I/usr/local/include/php/TSRM -
I/usr/local/include/php/Zend -I/usr/local/include/php/ext -
I/usr/local/include/php/ext/date/lib -I/usr/local/include  -
DHAVE_CONFIG_H  -g -O2   -c /home/ratik/my/trunk/libevent.c 
-o libevent.lo
 gcc -I. -I/home/ratik/my/trunk -DPHP_ATOM_INC -
I/home/ratik/my/trunk/include -I/home/ratik/my/trunk/main -
I/home/ratik/my/trunk -I/usr/local/include/php -
I/usr/local/include/php/main -I/usr/local/include/php/TSRM -
I/usr/local/include/php/Zend -I/usr/local/include/php/ext -
I/usr/local/include/php/ext/date/lib -I/usr/local/include -
DHAVE_CONFIG_H -g -O2 -c /home/ratik/my/trunk/libevent.c  -
fPIC -DPIC -o .libs/libevent.o
/home/ratik/my/trunk/libevent.c: In function 
'zif_event_set':
/home/ratik/my/trunk/libevent.c:619: error: expected 
expression before 'php_stream'
/home/ratik/my/trunk/libevent.c: In function 
'zif_event_buffer_new':
/home/ratik/my/trunk/libevent.c:794: error: expected 
expression before 'php_stream'
/home/ratik/my/trunk/libevent.c: In function 
'zif_event_buffer_fd_set':
/home/ratik/my/trunk/libevent.c:1126: error: expected 
expression before 'php_stream'
/home/ratik/my/trunk/libevent.c: At top level:
/home/ratik/my/trunk/libevent.c:1414: warning: 
initialization discards qualifiers from pointer target type
make: *** [libevent.lo] 
Ошибка 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-10-16 16:56 UTC] serg dot s dot r at gmail dot com
sorry. my bad. wrong php version.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Jul 23 22:01:28 2019 UTC