7
回答
php5.5.14编译安装seaslog失败
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   

 

举报
linclin
发帖于3年前 7回/740阅
共有7个答案 最后回答: 3年前

引用来自“蝙蝠”的评论

收到 . 感谢反馈,即将处理.

devnet_190_228_sles10_64:/data/chaolin/SeasLog-1.0.0/SeasLog # make
/bin/sh /data/chaolin/SeasLog-1.0.0/SeasLog/libtool --mode=compile cc  -I. -I/data/chaolin/SeasLog-1.0.0/SeasLog -DPHP_ATOM_INC -I/data/chaolin/SeasLog-1.0.0/SeasLog/include -I/data/chaolin/SeasLog-1.0.0/SeasLog/main -I/data/chaolin/SeasLog-1.0.0/SeasLog -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c -o seaslog.lo
mkdir .libs
 cc -I. -I/data/chaolin/SeasLog-1.0.0/SeasLog -DPHP_ATOM_INC -I/data/chaolin/SeasLog-1.0.0/SeasLog/include -I/data/chaolin/SeasLog-1.0.0/SeasLog/main -I/data/chaolin/SeasLog-1.0.0/SeasLog -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c  -fPIC -DPIC -o .libs/seaslog.o
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c: In function 鈥榸m_startup_seaslog鈥

                                                                                   /data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:151:67: error: expected expression before 鈥榲oid鈥
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c: In function 鈥榬eal_php_log_ex鈥

                         /data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:242:14: error: 鈥榯srm_ls鈥undeclared (first use in this function)
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:242:14: note: each undeclared identifier is reported only once for each function it appears in
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c: In function 鈥榤k_real_date鈥

                                                                             /data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:363:9: error: too few arguments to function 鈥榩hp_format_date鈥
/usr/local/php5/include/php/ext/date/php_date.h:188:14: note: declared here
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:365:9: error: too few arguments to function 鈥榩hp_format_date鈥
/usr/local/php5/include/php/ext/date/php_date.h:188:14: note: declared here
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c: In function 鈥榸im_SEASLOG_RES_NAME_analyzerCount鈥

                                                                                                   /data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:573:9: error: too few arguments to function 鈥榞et_type_count鈥
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:371:13: note: declared here
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:574:9: error: too few arguments to function 鈥榞et_type_count鈥
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:371:13: note: declared here
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:575:9: error: too few arguments to function 鈥榞et_type_count鈥
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:371:13: note: declared here
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:576:9: error: too few arguments to function 鈥榞et_type_count鈥
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:371:13: note: declared here
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:577:9: error: too few arguments to function 鈥榞et_type_count鈥
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:371:13: note: declared here
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:578:9: error: too few arguments to function 鈥榞et_type_count鈥
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:371:13: note: declared here
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:579:9: error: too few arguments to function 鈥榞et_type_count鈥
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:371:13: note: declared here
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:580:9: error: too few arguments to function 鈥榞et_type_count鈥
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:371:13: note: declared here
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:592:9: error: too few arguments to function 鈥榞et_type_count鈥
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:371:13: note: declared here
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:596:9: error: too few arguments to function 鈥榞et_type_count鈥
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:371:13: note: declared here
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c: In function 鈥榑seaslog_log鈥

                                                                             /data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:829:5: error: too few arguments to function 鈥榤k_real_date鈥
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:360:14: note: declared here
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:831:5: error: too few arguments to function 鈥榩hp_format_date鈥
/usr/local/php5/include/php/ext/date/php_date.h:188:14: note: declared here
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c: In function 鈥榑mk_log_dir鈥

                                                                            /data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:854:19: error: 鈥榯srm_ls鈥undeclared (first use in this function)
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c: In function 鈥榑ck_log_dir鈥

                                                                            /data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:880:30: error: 鈥榯srm_ls鈥undeclared (first use in this function)
/data/chaolin/SeasLog-1.0.0/SeasLog/seaslog.c:880:5: error: too few arguments to function 鈥榗all_user_function_ex鈥
/usr/local/php5/include/php/Zend/zend_API.h:451:14: note: declared here
make: *** [seaslog.lo] Error 1

 

--- 共有 1 条评论 ---
蝙蝠hi,我在5.5.14上编译无误.能否提供你的环境与编译步骤? ps: ubuntu 12.04 php-5.5.14 3年前 回复

centos 6.2+php5.5.14

php编译:./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5 --disable-debug --disable-fileinfo --enable-fpm   --with-fpm-user=www --with-fpm-group=www --enable-maintainer-zts   --enable-opcache --enable-mbstring --enable-soap --enable-sockets  --enable-zip --enable-mysqlnd --enable-sysvsem --enable-pcntl  --enable-posix  --with-libxml-dir=/usr/local/libxml --with-zlib-dir=/usr/local/zlib --with-curl=/usr/local/curl --with-pcre-dir=/usr/local/pcre --with-jpeg-dir=/usr/local/libjpeg --with-png-dir=/usr/local/libpng --with-freetype-dir=/usr/local/freetype --with-gd --enable-gd-native-ttf --enable-gd-jis-conv  --enable-pdo --with-pdo-mysql=mysqlnd  --enable-embedded-mysqli  --with-mysqli=mysqlnd --with-mysql=mysqlnd --with-openssl --enable-zip --with-mhash --with-mcrypt=/usr/local/libmcrypt

seaslog编译:

 
    /usr/local/php5/bin/phpize
   ./configure  --with-php-config=/usr/local/php5/bin/php-config 
   make && make install

 ps:在另外一台机器php5.5.2环境编译成功,还有一台机器php5.5.8编译失败

--- 共有 1 条评论 ---
蝙蝠感谢反馈. 我再check一下. 3年前 回复
顶部