国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

使用workerman event擴(kuò)展安裝失敗

在安裝event時(shí)報(bào)這個(gè)錯(cuò)誤,請(qǐng)問(wèn)怎么解決?

configure: error: Please reinstall the event library, or provide the installation prefix via --with-event-libevent-dir option
ERROR: `/tmp/pear/temp/event/configure --with-php-config=/usr/bin/php-config --enable-event-debug=no --enable-event-sockets=yes --with-event-libevent-dir=/usr --with-event-pthreads=no --with-event-extra --with-event-openssl=no --with-event-ns --with-openssl-dir=no' failed

4943 1 0
1個(gè)回答

phpcreeper

1、event擴(kuò)展依賴(lài)libevent包,所以先保證libevent庫(kù)已安裝OK,如: yum install libevent-devel2、然后configure時(shí)加上這個(gè)參數(shù)試試:?--with-event-libevent-dir=【填libevent庫(kù)安裝路徑】

  • 會(huì)尿尿的大鯊魚(yú) 2018-11-21

    已經(jīng)決絕了,報(bào)錯(cuò)也是因?yàn)槲抑皼](méi)有安裝libevent包,安裝后就可以了,謝謝

  • henry 2018-12-29

    @4960:你是如何解決的?我也碰到這個(gè)問(wèn)題,我先執(zhí)行:apt-get install libevent libevent-devel,然后執(zhí)行 pecl install event 還是報(bào)你上面的錯(cuò)誤

年代過(guò)于久遠(yuǎn),無(wú)法發(fā)表回答
??