当前位置: 技术问答>linux和unix
ubuntu12.04下make php5.2.13,报错make: *** [sapi/cgi/php-cgi] Error 1,急求助!
来源: 互联网 发布时间:2017-05-07
本文导语: 错误信息如下,一直解决不了,紧急求助,谢谢!! gcc: error: ext/date/.libs/php_date.o: No such file or directory gcc: error: ext/date/lib/.libs/astro.o: No such file or directory gcc: error: ext/date/lib/.libs/dow.o: No such file or directory...
错误信息如下,一直解决不了,紧急求助,谢谢!!
gcc: error: ext/date/.libs/php_date.o: No such file or directory
gcc: error: ext/date/lib/.libs/astro.o: No such file or directory
gcc: error: ext/date/lib/.libs/dow.o: No such file or directory
gcc: error: ext/date/lib/.libs/parse_date.o: No such file or directory
gcc: error: ext/date/lib/.libs/parse_tz.o: No such file or directory
gcc: error: ext/date/lib/.libs/timelib.o: No such file or directory
gcc: error: ext/date/lib/.libs/tm2unixtime.o: No such file or directory
gcc: error: ext/date/lib/.libs/unixtime2tm.o: No such file or directory
gcc: error: ext/libxml/.libs/libxml.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_chartables.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_ucd.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_compile.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_config.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_exec.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_fullinfo.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_get.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_globals.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_info.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_maketables.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_newline.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_ord2utf8.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_refcount.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_study.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_tables.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_try_flipped.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_valid_utf8.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_version.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_xclass.o: No such file or directory
gcc: error: ext/pcre/.libs/php_pcre.o: No such file or directory
gcc: error: ext/zlib/.libs/zlib.o: No such file or directory
gcc: error: ext/zlib/.libs/zlib_fopen_wrapper.o: No such file or directory
gcc: error: ext/zlib/.libs/zlib_filter.o: No such file or directory
gcc: error: ext/ctype/.libs/ctype.o: No such file or directory
gcc: error: ext/dom/.libs/php_dom.o: No such file or directory
gcc: error: ext/dom/.libs/attr.o: No such file or directory
gcc: error: ext/dom/.libs/document.o: No such file or directory
gcc: error: ext/dom/.libs/domerrorhandler.o: No such file or directory
gcc: error: ext/dom/.libs/domstringlist.o: No such file or directory
gcc: error: ext/dom/.libs/domexception.o: No such file or directory
gcc: error: ext/dom/.libs/namelist.o: No such file or directory
gcc: error: ext/dom/.libs/processinginstruction.o: No such file or directory
gcc: error: ext/dom/.libs/cdatasection.o: No such file or directory
gcc: error: ext/dom/.libs/documentfragment.o: No such file or directory
gcc: error: ext/dom/.libs/domimplementation.o: No such file or directory
gcc: error: ext/dom/.libs/element.o: No such file or directory
gcc: error: ext/dom/.libs/node.o: No such file or directory
gcc: error: ext/dom/.libs/string_extend.o: No such file or directory
gcc: error: ext/dom/.libs/characterdata.o: No such file or directory
gcc: error: ext/dom/.libs/documenttype.o: No such file or directory
gcc: error: ext/dom/.libs/domimplementationlist.o: No such file or directory
gcc: error: ext/dom/.libs/entity.o: No such file or directory
gcc: error: ext/dom/.libs/nodelist.o: No such file or directory
gcc: error: ext/dom/.libs/text.o: No such file or directory
gcc: error: ext/dom/.libs/comment.o: No such file or directory
gcc: error: ext/dom/.libs/domconfiguration.o: No such file or directory
gcc: error: ext/dom/.libs/domimplementationsource.o: No such file or directory
gcc: error: ext/dom/.libs/entityreference.o: No such file or directory
gcc: error: ext/dom/.libs/notation.o: No such file or directory
gcc: error: ext/dom/.libs/xpath.o: No such file or directory
gcc: error: ext/dom/.libs/dom_iterators.o: No such file or directory
gcc: error: ext/dom/.libs/typeinfo.o: No such file or directory
gcc: error: ext/dom/.libs/domerror.o: No such file or directory
gcc: error: ext/dom/.libs/domlocator.o: No such file or directory
gcc: error: ext/dom/.libs/namednodemap.o: No such file or directory
gcc: error: ext/dom/.libs/userdatahandler.o: No such file or directory
gcc: error: ext/filter/.libs/filter.o: No such file or directory
gcc: error: ext/filter/.libs/sanitizing_filters.o: No such file or directory
gcc: error: ext/filter/.libs/logical_filters.o: No such file or directory
gcc: error: ext/filter/.libs/callback_filter.o: No such file or directory
gcc: error: ext/gd/.libs/gd.o: No such file or directory
gcc: error: ext/gd/.libs/gdttf.o: No such file or directory
gcc: error: ext/hash/.libs/hash.o: No such file or directory
gcc: error: ext/hash/.libs/hash_md.o: No such file or directory
gcc: error: ext/hash/.libs/hash_sha.o: No such file or directory
gcc: error: ext/hash/.libs/hash_ripemd.o: No such file or directory
gcc: error: ext/hash/.libs/hash_haval.o: No such file or directory
......
......
......
gcc: error: main/.libs/snprintf.o: No such file or directory
gcc: error: main/.libs/spprintf.o: No such file or directory
gcc: error: main/.libs/php_sprintf.o: No such file or directory
gcc: error: main/.libs/safe_mode.o: No such file or directory
gcc: error: main/.libs/fopen_wrappers.o: No such file or directory
gcc: error: main/.libs/alloca.o: No such file or directory
gcc: error: main/.libs/php_scandir.o: No such file or directory
gcc: error: main/.libs/php_ini.o: No such file or directory
gcc: error: main/.libs/SAPI.o: No such file or directory
gcc: error: main/.libs/rfc1867.o: No such file or directory
gcc: error: main/.libs/php_content_types.o: No such file or directory
gcc: error: main/.libs/strlcpy.o: No such file or directory
gcc: error: main/.libs/strlcat.o: No such file or directory
gcc: error: main/.libs/mergesort.o: No such file or directory
gcc: error: main/.libs/reentrancy.o: No such file or directory
gcc: error: main/.libs/php_variables.o: No such file or directory
gcc: error: main/.libs/php_ticks.o: No such file or directory
gcc: error: main/.libs/network.o: No such file or directory
gcc: error: main/.libs/php_open_temporary_file.o: No such file or directory
gcc: error: main/.libs/php_logos.o: No such file or directory
gcc: error: main/.libs/output.o: No such file or directory
gcc: error: main/streams/.libs/streams.o: No such file or directory
gcc: error: main/streams/.libs/cast.o: No such file or directory
gcc: error: main/streams/.libs/memory.o: No such file or directory
gcc: error: main/streams/.libs/filter.o: No such file or directory
gcc: error: main/streams/.libs/plain_wrapper.o: No such file or directory
gcc: error: main/streams/.libs/userspace.o: No such file or directory
gcc: error: main/streams/.libs/transports.o: No such file or directory
gcc: error: main/streams/.libs/xp_socket.o: No such file or directory
gcc: error: main/streams/.libs/mmap.o: No such file or directory
gcc: error: Zend/.libs/zend_language_parser.o: No such file or directory
gcc: error: Zend/.libs/zend_language_scanner.o: No such file or directory
gcc: error: Zend/.libs/zend_ini_parser.o: No such file or directory
gcc: error: Zend/.libs/zend_ini_scanner.o: No such file or directory
gcc: error: Zend/.libs/zend_alloc.o: No such file or directory
gcc: error: Zend/.libs/zend_compile.o: No such file or directory
gcc: error: Zend/.libs/zend_constants.o: No such file or directory
gcc: error: Zend/.libs/zend_dynamic_array.o: No such file or directory
gcc: error: Zend/.libs/zend_execute_API.o: No such file or directory
gcc: error: Zend/.libs/zend_highlight.o: No such file or directory
gcc: error: Zend/.libs/zend_llist.o: No such file or directory
gcc: error: Zend/.libs/zend_opcode.o: No such file or directory
gcc: error: Zend/.libs/zend_operators.o: No such file or directory
gcc: error: Zend/.libs/zend_ptr_stack.o: No such file or directory
gcc: error: Zend/.libs/zend_stack.o: No such file or directory
gcc: error: Zend/.libs/zend_variables.o: No such file or directory
gcc: error: Zend/.libs/zend.o: No such file or directory
gcc: error: Zend/.libs/zend_API.o: No such file or directory
gcc: error: Zend/.libs/zend_extensions.o: No such file or directory
gcc: error: Zend/.libs/zend_hash.o: No such file or directory
gcc: error: Zend/.libs/zend_list.o: No such file or directory
gcc: error: Zend/.libs/zend_indent.o: No such file or directory
gcc: error: Zend/.libs/zend_builtin_functions.o: No such file or directory
gcc: error: Zend/.libs/zend_sprintf.o: No such file or directory
gcc: error: Zend/.libs/zend_ini.o: No such file or directory
gcc: error: Zend/.libs/zend_qsort.o: No such file or directory
gcc: error: Zend/.libs/zend_multibyte.o: No such file or directory
gcc: error: Zend/.libs/zend_ts_hash.o: No such file or directory
gcc: error: Zend/.libs/zend_stream.o: No such file or directory
gcc: error: Zend/.libs/zend_iterators.o: No such file or directory
gcc: error: Zend/.libs/zend_interfaces.o: No such file or directory
gcc: error: Zend/.libs/zend_exceptions.o: No such file or directory
gcc: error: Zend/.libs/zend_strtod.o: No such file or directory
gcc: error: Zend/.libs/zend_objects.o: No such file or directory
gcc: error: Zend/.libs/zend_object_handlers.o: No such file or directory
gcc: error: Zend/.libs/zend_objects_API.o: No such file or directory
gcc: error: Zend/.libs/zend_default_classes.o: No such file or directory
gcc: error: Zend/.libs/zend_execute.o: No such file or directory
make: *** [sapi/cgi/php-cgi] Error 1
gcc: error: ext/date/.libs/php_date.o: No such file or directory
gcc: error: ext/date/lib/.libs/astro.o: No such file or directory
gcc: error: ext/date/lib/.libs/dow.o: No such file or directory
gcc: error: ext/date/lib/.libs/parse_date.o: No such file or directory
gcc: error: ext/date/lib/.libs/parse_tz.o: No such file or directory
gcc: error: ext/date/lib/.libs/timelib.o: No such file or directory
gcc: error: ext/date/lib/.libs/tm2unixtime.o: No such file or directory
gcc: error: ext/date/lib/.libs/unixtime2tm.o: No such file or directory
gcc: error: ext/libxml/.libs/libxml.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_chartables.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_ucd.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_compile.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_config.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_exec.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_fullinfo.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_get.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_globals.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_info.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_maketables.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_newline.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_ord2utf8.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_refcount.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_study.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_tables.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_try_flipped.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_valid_utf8.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_version.o: No such file or directory
gcc: error: ext/pcre/pcrelib/.libs/pcre_xclass.o: No such file or directory
gcc: error: ext/pcre/.libs/php_pcre.o: No such file or directory
gcc: error: ext/zlib/.libs/zlib.o: No such file or directory
gcc: error: ext/zlib/.libs/zlib_fopen_wrapper.o: No such file or directory
gcc: error: ext/zlib/.libs/zlib_filter.o: No such file or directory
gcc: error: ext/ctype/.libs/ctype.o: No such file or directory
gcc: error: ext/dom/.libs/php_dom.o: No such file or directory
gcc: error: ext/dom/.libs/attr.o: No such file or directory
gcc: error: ext/dom/.libs/document.o: No such file or directory
gcc: error: ext/dom/.libs/domerrorhandler.o: No such file or directory
gcc: error: ext/dom/.libs/domstringlist.o: No such file or directory
gcc: error: ext/dom/.libs/domexception.o: No such file or directory
gcc: error: ext/dom/.libs/namelist.o: No such file or directory
gcc: error: ext/dom/.libs/processinginstruction.o: No such file or directory
gcc: error: ext/dom/.libs/cdatasection.o: No such file or directory
gcc: error: ext/dom/.libs/documentfragment.o: No such file or directory
gcc: error: ext/dom/.libs/domimplementation.o: No such file or directory
gcc: error: ext/dom/.libs/element.o: No such file or directory
gcc: error: ext/dom/.libs/node.o: No such file or directory
gcc: error: ext/dom/.libs/string_extend.o: No such file or directory
gcc: error: ext/dom/.libs/characterdata.o: No such file or directory
gcc: error: ext/dom/.libs/documenttype.o: No such file or directory
gcc: error: ext/dom/.libs/domimplementationlist.o: No such file or directory
gcc: error: ext/dom/.libs/entity.o: No such file or directory
gcc: error: ext/dom/.libs/nodelist.o: No such file or directory
gcc: error: ext/dom/.libs/text.o: No such file or directory
gcc: error: ext/dom/.libs/comment.o: No such file or directory
gcc: error: ext/dom/.libs/domconfiguration.o: No such file or directory
gcc: error: ext/dom/.libs/domimplementationsource.o: No such file or directory
gcc: error: ext/dom/.libs/entityreference.o: No such file or directory
gcc: error: ext/dom/.libs/notation.o: No such file or directory
gcc: error: ext/dom/.libs/xpath.o: No such file or directory
gcc: error: ext/dom/.libs/dom_iterators.o: No such file or directory
gcc: error: ext/dom/.libs/typeinfo.o: No such file or directory
gcc: error: ext/dom/.libs/domerror.o: No such file or directory
gcc: error: ext/dom/.libs/domlocator.o: No such file or directory
gcc: error: ext/dom/.libs/namednodemap.o: No such file or directory
gcc: error: ext/dom/.libs/userdatahandler.o: No such file or directory
gcc: error: ext/filter/.libs/filter.o: No such file or directory
gcc: error: ext/filter/.libs/sanitizing_filters.o: No such file or directory
gcc: error: ext/filter/.libs/logical_filters.o: No such file or directory
gcc: error: ext/filter/.libs/callback_filter.o: No such file or directory
gcc: error: ext/gd/.libs/gd.o: No such file or directory
gcc: error: ext/gd/.libs/gdttf.o: No such file or directory
gcc: error: ext/hash/.libs/hash.o: No such file or directory
gcc: error: ext/hash/.libs/hash_md.o: No such file or directory
gcc: error: ext/hash/.libs/hash_sha.o: No such file or directory
gcc: error: ext/hash/.libs/hash_ripemd.o: No such file or directory
gcc: error: ext/hash/.libs/hash_haval.o: No such file or directory
......
......
......
gcc: error: main/.libs/snprintf.o: No such file or directory
gcc: error: main/.libs/spprintf.o: No such file or directory
gcc: error: main/.libs/php_sprintf.o: No such file or directory
gcc: error: main/.libs/safe_mode.o: No such file or directory
gcc: error: main/.libs/fopen_wrappers.o: No such file or directory
gcc: error: main/.libs/alloca.o: No such file or directory
gcc: error: main/.libs/php_scandir.o: No such file or directory
gcc: error: main/.libs/php_ini.o: No such file or directory
gcc: error: main/.libs/SAPI.o: No such file or directory
gcc: error: main/.libs/rfc1867.o: No such file or directory
gcc: error: main/.libs/php_content_types.o: No such file or directory
gcc: error: main/.libs/strlcpy.o: No such file or directory
gcc: error: main/.libs/strlcat.o: No such file or directory
gcc: error: main/.libs/mergesort.o: No such file or directory
gcc: error: main/.libs/reentrancy.o: No such file or directory
gcc: error: main/.libs/php_variables.o: No such file or directory
gcc: error: main/.libs/php_ticks.o: No such file or directory
gcc: error: main/.libs/network.o: No such file or directory
gcc: error: main/.libs/php_open_temporary_file.o: No such file or directory
gcc: error: main/.libs/php_logos.o: No such file or directory
gcc: error: main/.libs/output.o: No such file or directory
gcc: error: main/streams/.libs/streams.o: No such file or directory
gcc: error: main/streams/.libs/cast.o: No such file or directory
gcc: error: main/streams/.libs/memory.o: No such file or directory
gcc: error: main/streams/.libs/filter.o: No such file or directory
gcc: error: main/streams/.libs/plain_wrapper.o: No such file or directory
gcc: error: main/streams/.libs/userspace.o: No such file or directory
gcc: error: main/streams/.libs/transports.o: No such file or directory
gcc: error: main/streams/.libs/xp_socket.o: No such file or directory
gcc: error: main/streams/.libs/mmap.o: No such file or directory
gcc: error: Zend/.libs/zend_language_parser.o: No such file or directory
gcc: error: Zend/.libs/zend_language_scanner.o: No such file or directory
gcc: error: Zend/.libs/zend_ini_parser.o: No such file or directory
gcc: error: Zend/.libs/zend_ini_scanner.o: No such file or directory
gcc: error: Zend/.libs/zend_alloc.o: No such file or directory
gcc: error: Zend/.libs/zend_compile.o: No such file or directory
gcc: error: Zend/.libs/zend_constants.o: No such file or directory
gcc: error: Zend/.libs/zend_dynamic_array.o: No such file or directory
gcc: error: Zend/.libs/zend_execute_API.o: No such file or directory
gcc: error: Zend/.libs/zend_highlight.o: No such file or directory
gcc: error: Zend/.libs/zend_llist.o: No such file or directory
gcc: error: Zend/.libs/zend_opcode.o: No such file or directory
gcc: error: Zend/.libs/zend_operators.o: No such file or directory
gcc: error: Zend/.libs/zend_ptr_stack.o: No such file or directory
gcc: error: Zend/.libs/zend_stack.o: No such file or directory
gcc: error: Zend/.libs/zend_variables.o: No such file or directory
gcc: error: Zend/.libs/zend.o: No such file or directory
gcc: error: Zend/.libs/zend_API.o: No such file or directory
gcc: error: Zend/.libs/zend_extensions.o: No such file or directory
gcc: error: Zend/.libs/zend_hash.o: No such file or directory
gcc: error: Zend/.libs/zend_list.o: No such file or directory
gcc: error: Zend/.libs/zend_indent.o: No such file or directory
gcc: error: Zend/.libs/zend_builtin_functions.o: No such file or directory
gcc: error: Zend/.libs/zend_sprintf.o: No such file or directory
gcc: error: Zend/.libs/zend_ini.o: No such file or directory
gcc: error: Zend/.libs/zend_qsort.o: No such file or directory
gcc: error: Zend/.libs/zend_multibyte.o: No such file or directory
gcc: error: Zend/.libs/zend_ts_hash.o: No such file or directory
gcc: error: Zend/.libs/zend_stream.o: No such file or directory
gcc: error: Zend/.libs/zend_iterators.o: No such file or directory
gcc: error: Zend/.libs/zend_interfaces.o: No such file or directory
gcc: error: Zend/.libs/zend_exceptions.o: No such file or directory
gcc: error: Zend/.libs/zend_strtod.o: No such file or directory
gcc: error: Zend/.libs/zend_objects.o: No such file or directory
gcc: error: Zend/.libs/zend_object_handlers.o: No such file or directory
gcc: error: Zend/.libs/zend_objects_API.o: No such file or directory
gcc: error: Zend/.libs/zend_default_classes.o: No such file or directory
gcc: error: Zend/.libs/zend_execute.o: No such file or directory
make: *** [sapi/cgi/php-cgi] Error 1
|
注意权限问题。
|
如果不是权限问题,就是缺少上面列出的一些开发库
|
貌似那些不是开发库,是php自己的文件,所以不可能不存在...
那无非是
1.路径问题,相对路径与绝对路径、 路径中有make命令不识别的文字,比如中文
2.如1L所说,权限问题,没root权限编译这玩意基本都是这个下场...