在我的Ubuntu 11.04开发机器上,我安装了

PHP(通过aptitude).

root@alix-laptop:~# pecl install libevent

Failed to download pecl/libevent within preferred state "stable", latest release is version 0.0.4, stability "beta", use "channel://pecl.php.net/libevent-0.0.4" to install

install failed

root@alix-laptop:~# pecl install channel://pecl.php.net/libevent-0.0.4

downloading libevent-0.0.4.tgz ...

Starting to download libevent-0.0.4.tgz (9,003 bytes)

.....done: 9,003 bytes

3 source files, building

running: phpize

Configuring for:

PHP Api Version: 20090626

Zend Module Api No: 20090626

Zend Extension Api No: 220090626

Please provide the prefix of libevent installation [autodetect] :

building in /tmp/pear/temp/pear-build-rootcvHALO/libevent-0.0.4

running: /tmp/pear/temp/libevent/configure --with-libevent

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for a sed that does not truncate output... /bin/sed

checking for cc... cc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether cc accepts -g... yes

checking for cc option to accept ISO C89... none needed

checking how to run the C preprocessor... cc -E

checking for icc... no

checking for suncc... no

checking whether cc understands -c and -o together... yes

checking for system library directory... lib

checking if compiler supports -R... no

checking if compiler supports -Wl,-rpath,... yes

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking for PHP prefix... /usr

checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

checking for PHP extension directory... /usr/lib/php5/20090626+lfs

checking for PHP installed headers prefix... /usr/include/php5

checking if debug is enabled... no

checking if zts is enabled... no

checking for re2c... no

configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.

checking for gawk... gawk

checking for libevent support... yes, shared

checking for libevent headers in default path... not found

configure: error: Cannot find libevent headers

ERROR: `/tmp/pear/temp/libevent/configure --with-libevent' failed

任何人都知道如何安装php-libevent而无需重新编译PHP?

php pecl libevent,ubuntu – 安装PHP libevent PECL包的问题相关推荐

  1. 解决ubuntu安装软件和下载包速度慢的问题 之pip源 apt-get源的更新

    我们在安装软件及安装各种包过程中,pip install xxxx, sudo apt-get install xxxx 有时候会发现非常的慢,这是因为我们没有更新源 pip 源的更新 在家目录下创建 ...

  2. Ubuntu安装MySQL(RPM包安装)

    文章目录 1.MySQL基础知识 1.1MySQL版本及下载 1.2下载安装包 2.MySQL服务器安装和启动 2.1查询服务器上已经安装的mysql 2.2卸载旧的版本 2.3安装 2.3.1安装服 ...

  3. PHP 7 编译安装开启 libevent 扩展支持

    libevent是一个基于事件驱动的高性能网络库. 支持多种 I/O 多路复用技术, epoll. poll. dev/poll. select 和 kqueue 等:支持 I/O,定时器和信号等事件 ...

  4. ubuntu安装lrzsz报错“E: Unable to locate package”

    ubuntu安装上传文件包lrzsz的时候报错 "E: Unable to locate package" 先运行下面两个 apt-get update apt-get upgra ...

  5. ubuntu安装libaio的错误解决

    ubuntu安装libaio的错误解决 一.前言 二.如何安装libaio 三.为 Ubuntu 安装 libaio-dev 软件包 一.前言 个人主页: ζ小菜鸡 大家好我是ζ小菜鸡,让我们一起看看 ...

  6. ubuntu安装libaio的错误解决,libaio1。

    ubuntu安装libaio的使用yum和apt-get 都补充个, 安装了yum也没用,最终发现是名字改了. 直接使用命令 apt-get install libaio1 注意,这里有个1,这里有个 ...

  7. Linux下的Memcache安装(含libevent的安装)

    Linux下Memcache服务器端的安装 服务器端主要是安装memcache服务器端,目前的最新版本是 memcached-1.3.0 . 下载:http://www.danga.com/memca ...

  8. 安装了libevent和memcached之后却发现在执行的时候出现了 error while loading shared libraries问题...

    今天晚上心血来潮装libevent和memcached,可是却出现了奇葩的问题,结果一看越来是引导文件的路径不对! 我遇到  error while loading shared libraries: ...

  9. Linux上Libevent的安装

    1.下载 wget -O libevent-2.0.21-stable.tar.gz https://github.com/downloads/libevent/libevent/libevent-2 ...

  10. php扩展可以通过pecl 或者phpize 安装

    2019独角兽企业重金招聘Python工程师标准>>> pecl 算是 php 扩展的一个官方聚合平台,一些比较有名,有特点的扩展会被 pecl 收录,收录后可以通过 pecl 的方 ...

最新文章

  1. CentOS7.5下yum安装MySQL8图文教程
  2. github上传文件夹教程
  3. RSS制作阅读器(利用RssToolkit for asp.net 2.0)
  4. Python标准模块—Regular Expressions
  5. 将自己的APK变成系统的APK
  6. ReentrantLock和synchronized的四点区别
  7. mysql的数据类型——待写
  8. oracle实验使用游标,Oracle数据库实验-PLSQL游标、过程、函数、包的使用
  9. hive 导出json格式 文件_Hive 系列 之 基本操作合集
  10. 使用Python模拟男人在长椅上选择座位的过程
  11. 计算机的用户软件在哪,电脑自带录屏软件在哪?这里教你怎么找
  12. Shell中$X的含义
  13. android 8.0获取通知权限,Android8.0通知权限适配
  14. 一网打尽车载以太网之SOMEIP(上)
  15. sql 2000简体中文企业版下载(含SP3 SP4 下载地址)
  16. 颜色名称及色样表(HTML版)
  17. sublime在wamp下配置php文件,配置WAMP环境下的sublime和PHPdesigner
  18. 小记(1)偷影子的人
  19. Mapped Statements collection does not contain value for的解决方法
  20. 中国电信php,一个基于中国电信开放应用平台的短信发送函数(PHP版)

热门文章

  1. 第一代计算机外星人,Alienware外星人品牌发展史
  2. vlan dot1q tag native
  3. deprecate node-sass@4.9.0 › request@~2.79.0 request has been deprecated, see https://github.com
  4. linux yum vsftpd,CentOS 7 使用Yum方式安装配置vsftpd服务
  5. 【Nav2中文网】五、普通教程(九)Groot与行为树互动
  6. 传感器 | 密度测量系列:1.密度测量的基础知识
  7. 菜学C++ Day55 OJ题目1151桐桐数
  8. java 调用kettle ktr_java调用kettle数据库类型资源库中的ktr
  9. AutoCAD系统变量和环境变量
  10. 怎么将路由器设置成交换机