出現訊息:make: *** No targets specified and no makefile found. Stop.
無法動作...
請站長指點一下,謝謝!!
作者: zjpacai521 时间: 2010-12-27 20:24
checking for utf8_mime2text signature... new
checking for U8T_DECOMPOSE...
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
xylz:~/lnmp0.5-full/php-5.2.14/ext/imap# make && make install
make: *** No targets specified and no makefile found. Stop.
xylz:~/lnmp0.5-full/php-5.2.14/ext/imap#
出现这样的错误,就安装不了了,可以帮我看看吗作者: shli 时间: 2011-1-25 19:41
我的也是。
#make && make install
make: *** No targets specified and no makefile found. Stop.作者: 等你唯一 时间: 2011-2-6 20:52
# ./configure --with-php-config=/usr/local/php/bin/php-config
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... 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... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local/php
checking for PHP includes... -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
checking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/local/php/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking for IMAP support... yes, shared
checking for IMAP Kerberos support... no
checking for IMAP SSL support... no
checking for utf8_mime2text signature... old
checking for U8T_DECOMPOSE...
checking for pam_start in -lpam... no
checking for crypt in -lcrypt... yes
configure: error: This c-client library is built with Kerberos support.
Add --with-kerberos to your configure line. Check config.log for details.
#make && make install
make: *** No targets specified and no makefile found. Stop.
@IP 等你唯一 configure 那步执行完报错了。configure: error: This c-client library is built with Kerberos support.
Add --with-kerberos to your configure line. Check config.log for details.
在编译参数上加上--with-kerberos 试试,如果不报错再make作者: 9eku 时间: 2011-3-15 22:45
make && make install
到这里就报错
[root@gg ext]# ./configure --with-php-config=/usr/local/php/bin/php-config--with -kerberos
-bash: ./configure: No such file or directory作者: zy2060537 时间: 2012-2-18 12:36 标题: 回复 14# 的帖子 ./configure --with-php-config=/usr/local/php/bin/php-config--with -kerberos
[root@gg ext]# ./configure --with-php-config=/usr/local/php/bin/php-config--with -kerberos
-bash: ./configure: No such file or directory
显示这个作者: licess 时间: 2012-2-18 15:53 标题: 回复 16# 的帖子 没进对目录,没输对命令作者: zy2060537 时间: 2012-2-18 16:41
./configure --with-php-config=/usr/local/php/bin/php-config--with -kerberos
configure: error: unrecognized option: -kerberos
Try `./configure --help' for more information.作者: licess 时间: 2012-2-18 18:26
都说过一次了,没输对参数,加空格肯定是加在参数的前面,能把一个参数分成2块吗
而且,你输错了,也已经提示了。
./configure --with-php-config=/usr/local/php/bin/php-config --with-kerberos作者: zy2060537 时间: 2012-2-18 19:11
-bash: ./configure: No such file or directory
./configure --with-php-config=/usr/local/php/bin/php-config --with-kerberos 按你说的这个输入后显示上面的问题呢
这些我都是不懂的,也都是直接按照说明操作的,所以你说的那些我都不懂的作者: vabcv 时间: 2012-7-27 06:15 标题: 回复 6# 的帖子 [root@VABCV imap]# ./configure --with-php-config=/usr/local/php/bin/php-config --with-kerberos
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... 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/local/php
checking for PHP includes... -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
checking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/local/php/include/php
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 IMAP support... yes, shared
checking for IMAP Kerberos support... yes
checking for IMAP SSL support... no
checking for utf8_mime2text signature... old
checking for U8T_DECOMPOSE...
checking for pam_start in -lpam... no
checking for crypt in -lcrypt... yes
checking for krb5-config... /usr/kerberos/bin/krb5-config
configure: error: This c-client library is built with SSL support.
Add --with-imap-ssl to your configure line. Check config.log for details.
[root@VABCV imap]# make && make install
make: *** No targets specified and no makefile found. Stop.
[root@VABCV imap]#
完全就是依教程类推,编译时提示缺什么就再装什么作者: popwool 时间: 2014-2-3 15:17
我的经验:
第一次,刚开始就错在编译上
configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.
解决办法:
在确实libc-cleint 已经安装成功的前提下,做一个链接,ln -s /usr/lib64/libc-client.so /usr/lib/libc-client.so
第二次,执行,增加--with -kerberos
configure: error: This c-client library is built with SSL support.
Add --with-imap-ssl to your configure line. Check config.log for details.
第三次,执行,./configure --with-php-config=/usr/local/php/bin/php-config --with-imap-ssl --with-kerberos
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
开始MAKE #make && make install
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/作者: popwool 时间: 2014-2-3 15:29
[root@x-phpFAQ-01 imap]# make test
Build complete.
Don't forget to run 'make test'.
+--------------------------------------------------------------+
| ! ERROR ! |
| The test-suite requires that proc_open() is available. |
| Please check if you disabled it in php.ini. |
+--------------------------------------------------------------+
PHP Warning: putenv(): Safe Mode warning: Cannot set environment variable 'SSH_CLIENT' - it's not in the allowed list in /root/lnmp1.0-full/php-5.3.17/ext/imap/run-tests.php on line 98
PHP Warning: putenv(): Safe Mode warning: Cannot set environment variable 'SSH_AUTH_SOCK' - it's not in the allowed list in /root/lnmp1.0-full/php-5.3.17/ext/imap/run-tests.php on line 99
PHP Warning: putenv(): Safe Mode warning: Cannot set environment variable 'SSH_TTY' - it's not in the allowed list in /root/lnmp1.0-full/php-5.3.17/ext/imap/run-tests.php on line 100
PHP Warning: putenv(): Safe Mode warning: Cannot set environment variable 'SSH_CONNECTION' - it's not in the allowed list in /root/lnmp1.0-full/php-5.3.17/ext/imap/run-tests.php on line 101
PHP Warning: set_time_limit(): Cannot set time limit in safe mode in /root/lnmp1.0-full/php-5.3.17/ext/imap/run-tests.php on line 104
+-----------------------------------------------------------+
| ! WARNING ! |
| You are running the test-suite with "safe_mode" ENABLED ! |
| |
| Chances are high that no test will work at all, |
| depending on how you configured "safe_mode" ! |
+-----------------------------------------------------------+