亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 8973 | 回復(fù): 3
打印 上一主題 下一主題

[Zabbix] php安裝 mysqli模塊,make錯誤:make: *** [mysqli.lo] Error 1 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2016-01-27 10:08 |只看該作者 |倒序瀏覽
/bin/sh /home/php-5.5.30/ext/mysqli/libtool --mode=compile cc  -I. -I/home/php-5.5.30/ext/mysqli -DPHP_ATOM_INC -I/home/php-5.5.30/ext/mysqli/include -I/home/php-5.5.30/ext/mysqli/main -I/home/php-5.5.30/ext/mysqli -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/mysql/include/mysql  -DHAVE_CONFIG_H  -g -O2   -c /home/php-5.5.30/ext/mysqli/mysqli.c -o mysqli.lo
cc -I. -I/home/php-5.5.30/ext/mysqli -DPHP_ATOM_INC -I/home/php-5.5.30/ext/mysqli/include -I/home/php-5.5.30/ext/mysqli/main -I/home/php-5.5.30/ext/mysqli -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/mysql/include/mysql -DHAVE_CONFIG_H -g -O2 -c /home/php-5.5.30/ext/mysqli/mysqli.c  -fPIC -DPIC -o .libs/mysqli.o
In file included from /usr/local/mysql/include/mysql/my_global.h:86,
                 from /home/php-5.5.30/ext/mysqli/php_mysqli_structs.h:63,
                 from /home/php-5.5.30/ext/mysqli/mysqli.c:34:
/usr/local/mysql/include/mysql/my_config.h:1173:1: warning: "PACKAGE_NAME" redefined
In file included from /home/php-5.5.30/ext/mysqli/mysqli.c:24:
/home/php-5.5.30/ext/mysqli/config.h:56:1: warning: this is the location of the previous definition
In file included from /usr/local/mysql/include/mysql/my_global.h:86,
                 from /home/php-5.5.30/ext/mysqli/php_mysqli_structs.h:63,
                 from /home/php-5.5.30/ext/mysqli/mysqli.c:34:
/usr/local/mysql/include/mysql/my_config.h:1176:1: warning: "PACKAGE_STRING" redefined
In file included from /home/php-5.5.30/ext/mysqli/mysqli.c:24:
/home/php-5.5.30/ext/mysqli/config.h:59:1: warning: this is the location of the previous definition
In file included from /usr/local/mysql/include/mysql/my_global.h:86,
                 from /home/php-5.5.30/ext/mysqli/php_mysqli_structs.h:63,
                 from /home/php-5.5.30/ext/mysqli/mysqli.c:34:
/usr/local/mysql/include/mysql/my_config.h:1179:1: warning: "PACKAGE_TARNAME" redefined
In file included from /home/php-5.5.30/ext/mysqli/mysqli.c:24:
/home/php-5.5.30/ext/mysqli/config.h:62:1: warning: this is the location of the previous definition
In file included from /usr/local/mysql/include/mysql/my_global.h:86,
                 from /home/php-5.5.30/ext/mysqli/php_mysqli_structs.h:63,
                 from /home/php-5.5.30/ext/mysqli/mysqli.c:34:
/usr/local/mysql/include/mysql/my_config.h:1182:1: warning: "PACKAGE_VERSION" redefined
In file included from /home/php-5.5.30/ext/mysqli/mysqli.c:24:
/home/php-5.5.30/ext/mysqli/config.h:65:1: warning: this is the location of the previous definition
/home/php-5.5.30/ext/mysqli/mysqli.c:321: error: expected ';', ',' or ')' before '*' token
/home/php-5.5.30/ext/mysqli/mysqli.c:364: error: expected ';', ',' or ')' before '*' token
/home/php-5.5.30/ext/mysqli/mysqli.c:413: error: expected ';', ',' or ')' before '*' token
/home/php-5.5.30/ext/mysqli/mysqli.c: In function 'mysqli_object_get_debug_info':
/home/php-5.5.30/ext/mysqli/mysqli.c:473: warning: assignment makes pointer from integer without a cast
/home/php-5.5.30/ext/mysqli/mysqli.c: In function 'zm_startup_mysqli':
/home/php-5.5.30/ext/mysqli/mysqli.c:624: error: 'mysqli_read_property' undeclared (first use in this function)
/home/php-5.5.30/ext/mysqli/mysqli.c:624: error: (Each undeclared identifier is reported only once
/home/php-5.5.30/ext/mysqli/mysqli.c:624: error: for each function it appears in.)
/home/php-5.5.30/ext/mysqli/mysqli.c:625: error: 'mysqli_write_property' undeclared (first use in this function)
/home/php-5.5.30/ext/mysqli/mysqli.c:627: error: 'mysqli_object_has_property' undeclared (first use in this function)
make: *** [mysqli.lo] Error 1




請問怎么解決 ,網(wǎng)上的方法都試過了,沒用。

論壇徽章:
17
2015年辭舊歲徽章
日期:2015-03-03 16:54:152017金雞報曉
日期:2017-02-08 10:39:422017金雞報曉
日期:2017-01-10 15:19:56JAVA
日期:2016-11-01 13:25:46C
日期:2016-10-25 16:01:4715-16賽季CBA聯(lián)賽之八一
日期:2016-06-21 23:38:0815-16賽季CBA聯(lián)賽之山東
日期:2016-05-12 12:49:54IT運維版塊每日發(fā)帖之星
日期:2016-04-20 06:20:00IT運維版塊每日發(fā)帖之星
日期:2016-03-22 06:20:00黃金圣斗士
日期:2015-11-24 10:43:13IT運維版塊每日發(fā)帖之星
日期:2015-08-25 06:20:002015亞冠之德黑蘭石油
日期:2015-08-22 22:55:54
2 [報告]
發(fā)表于 2016-01-27 12:22 |只看該作者
回復(fù) 1# xihuineng

可能沒安裝mysql的頭文件(mysql-devel),安裝這個(yum -y install mysql-devel)后再重試下。
   

論壇徽章:
0
3 [報告]
發(fā)表于 2016-01-27 13:49 |只看該作者
還是這樣的錯誤,這個之前裝過mysql-devel了, 各位大神都沒碰到過么?  

./configure --prefix=/usr/local/mysqli \
--with-php-config=/usr/local/php/bin/php-config \
--with-mysqli=/usr/local/mysql/bin/mysql_config  
編譯安裝沒有問題,提示是這樣
。。。。。。
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged

論壇徽章:
17
2015年辭舊歲徽章
日期:2015-03-03 16:54:152017金雞報曉
日期:2017-02-08 10:39:422017金雞報曉
日期:2017-01-10 15:19:56JAVA
日期:2016-11-01 13:25:46C
日期:2016-10-25 16:01:4715-16賽季CBA聯(lián)賽之八一
日期:2016-06-21 23:38:0815-16賽季CBA聯(lián)賽之山東
日期:2016-05-12 12:49:54IT運維版塊每日發(fā)帖之星
日期:2016-04-20 06:20:00IT運維版塊每日發(fā)帖之星
日期:2016-03-22 06:20:00黃金圣斗士
日期:2015-11-24 10:43:13IT運維版塊每日發(fā)帖之星
日期:2015-08-25 06:20:002015亞冠之德黑蘭石油
日期:2015-08-22 22:55:54
4 [報告]
發(fā)表于 2016-01-28 10:35 |只看該作者
本帖最后由 ccjsj1 于 2016-01-28 10:37 編輯

回復(fù) 3# xihuineng
沒遇到過這樣的問題,不能yum安裝嗎?
像是版本不兼容問題導(dǎo)致,介紹下系統(tǒng)版本、php版本、mysql版本、安裝方法,看這邊是否有環(huán)境試下。

   
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP