Board logo

标题: [已解决] Lnamp安装报错 [打印本页]

作者: lavender2020    时间: 2011-12-8 17:35     标题: Lnamp安装报错

大家好:
     今天安装Lnamp报错,信息如下:
系统环境:centos5.3-64位
安装报错信息:
       在选择安装选项:3,最后扩展配置是出错



Configuring extensions
checking size of long... (cached) 8
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... no
checking for Kerberos support... no
checking for PCRE support... yes
checking for ZLIB support... no
checking if the location of ZLIB install directory is defined... no
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking whether to enable ctype functions... yes
checking for cURL support... yes
checking if we should use cURL for url streams... no
checking for cURL in default path... found in /usr
checking for cURL 7.10.5 or greater... libcurl 7.15.5
checking for SSL support in libcurl... yes
checking how to run the C preprocessor... gcc -E
checking for openssl support in libcurl... no
checking for gnutls support in libcurl... no
checking for curl_easy_perform in -lcurl... no
configure: error: There is something wrong. Please check config.log for more information.

----Install Error: wdphp configure err -----------
作者: admin    时间: 2011-12-8 19:51

把  config.log  这个文件的最后部分也贴上来看看
作者: lavender2020    时间: 2011-12-9 20:32

php配置错误,查看php下面config.log信息如下:

configure:1888: checking for Cygwin environment
configure:1904: cc -c   conftest.c 1>&5
configure: In function 'main':
configure:1900: error: '__CYGWIN32__' undeclared (first use in this function)
configure:1900: error: (Each undeclared identifier is reported only once
configure:1900: error: for each function it appears in.)
configure: failed program was:
#line 1893 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1921: checking for mingw32 environment
configure:1933: cc -c   conftest.c 1>&5
configure: In function 'main':
configure:1929: error: '__MINGW32__' undeclared (first use in this function)
configure:1929: error: (Each undeclared identifier is reported only once
configure:1929: error: for each function it appears in.)
configure: failed program was:
#line 1926 "configure"
#include "confdefs.h"
int main() {
return __MINGW32__;
; return 0; }
configure:1952: checking for egrep
configure:1967: checking for a sed that does not truncate output
configure:2117: checking host system type
configure:2138: checking target system type
configure:2250: checking for gcc
configure:2363: checking whether the C compiler (gcc  ) works
configure:2379: gcc -o conftest    conftest.c  1>&5
configure:2405: checking whether the C compiler (gcc  ) is a cross-compiler
configure:2410: checking whether we are using GNU C
configure:2419: gcc -E conftest.c
configure:2438: checking whether gcc accepts -g
configure:2470: checking how to run the C preprocessor
configure:2491: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2552: checking for icc
configure:2576: checking for suncc
configure:2601: checking whether gcc and cc understand -c and -o together
configure:2616: gcc -c conftest.c -o conftest.o 1>&5
configure:2617: gcc -c conftest.c -o conftest.o 1>&5
configure:2622: cc -c conftest.c 1>&5
configure:2624: cc -c conftest.c -o conftest.o 1>&5
configure:2625: cc -c conftest.c -o conftest.o 1>&5
configure:2652: checking how to run the C preprocessor
configure:2732: checking for AIX
configure:2756: checking whether ln -s works
configure:2781: checking for system library directory
configure:2807: checking whether to enable runpaths
configure:2831: checking if compiler supports -R
configure:2846: gcc -o conftest -g -O2   conftest.c -R /usr/lib  1>&5
gcc: unrecognized option '-R'
/usr/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 2839 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:2864: checking if compiler supports -Wl,-rpath,
configure:2879: gcc -o conftest -g -O2   conftest.c -Wl,-rpath,/usr/lib  1>&5
configure:2910: checking for gawk
configure:2970: checking for bison
configure:2970: checking for byacc
configure:3010: checking for bison version
configure:3050: checking for flex
configure:3084: checking for yywrap in -ll
configure:3103: gcc -o conftest -g -O2   conftest.c -ll   1>&5
/usr/bin/ld: cannot find -ll
collect2: ld returned 1 exit status
configure: failed program was:
#line 3092 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char yywrap();
作者: admin    时间: 2011-12-9 20:53

虚拟机?VM?怎么会有win32的




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2