爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 738|回复: 0

LIBPNG安装出错

[复制链接]

新浪微博达人勋

发表于 2020-4-17 21:26:39 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
安装WRF的过程中,安装LIBPNG的时候,显示失败,以下是config.log,请问有人知道怎么解决吗?This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libpng configure 1.6.37, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix=/mnt/lustre/nanxin/app/libpng-1.6.37

## --------- ##
## Platform. ##
## --------- ##

hostname = login-0-0.local
uname -m = x86_64
uname -r = 2.6.32-504.16.2.el6.x86_64
uname -s = Linux
uname -v = #1 SMP Wed Apr 22 06:48:29 UTC 2015

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /share/apps/ncl/bin
PATH: /share/apps/intel/composer_xe_2015.0.090/bin/intel64
PATH: /share/apps/intel/composer_xe_2015.0.090/mpirt/bin/intel64
PATH: /share/apps/intel/composer_xe_2015.0.090/debugger/gdb/intel64_mic/bin
PATH: /home/ecnu_g/jasper/bin
PATH: /share/apps/ncl/bin
PATH: /opt/openmpi/bin
PATH: /usr/lib64/qt-3.3/bin
PATH: /share/apps/intel/composer_xe_2015.0.090/bin/intel64
PATH: /share/apps/intel/composer_xe_2015.0.090/mpirt/bin/intel64
PATH: /share/apps/intel/composer_xe_2015.0.090/debugger/gdb/intel64_mic/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/ganglia/bin
PATH: /opt/ganglia/sbin
PATH: /opt/ibutils/bin
PATH: /usr/java/latest/bin
PATH: /opt/maui/bin
PATH: /opt/torque/bin
PATH: /opt/torque/sbin
PATH: /opt/pdsh/bin
PATH: /opt/rocks/bin
PATH: /opt/rocks/sbin
PATH: /opt/maui/bin
PATH: /opt/torque/bin
PATH: /opt/torque/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2358: checking for a BSD-compatible install
configure:2426: result: /usr/bin/install -c
configure:2437: checking whether build environment is sane
configure:2492: result: yes
configure:2643: checking for a thread-safe mkdir -p
configure:2682: result: /bin/mkdir -p
configure:2689: checking for gawk
configure:2705: found /bin/gawk
configure:2716: result: gawk
configure:2727: checking whether make sets $(MAKE)
configure:2749: result: yes
configure:2778: checking whether make supports nested variables
configure:2795: result: yes
configure:2925: checking whether to enable maintainer-specific portions of Makefiles
configure:2934: result: no
configure:3014: checking for gcc
configure:3030: found /usr/bin/gcc
configure:3041: result: gcc
configure:3270: checking for C compiler version
configure:3279: gcc --version >&5
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3290: $? = 0
configure:3279: gcc -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
configure:3290: $? = 0
configure:3279: gcc -V >&5
gcc: '-V' option must have argument
configure:3290: $? = 1
configure:3279: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3290: $? = 1
configure:3310: checking whether the C compiler works
configure:3332: gcc  -l/mnt/lustre/nanxin/app/libpng-1.6.37/zlib-1.2.8/include -L/mnt/lustre/nanxin/app/libpng-1.6.37/zlib-1.2.8/lib conftest.c  >&5
/usr/bin/ld: cannot find -l/mnt/lustre/nanxin/app/libpng-1.6.37/zlib-1.2.8/include
collect2: ld returned 1 exit status
configure:3336: $? = 1
configure:3374: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libpng"
| #define PACKAGE_TARNAME "libpng"
| #define PACKAGE_VERSION "1.6.37"
| #define PACKAGE_STRING "libpng 1.6.37"
| #define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "libpng"
| #define VERSION "1.6.37"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3379: error: in `/mnt/lustre/nanxin/app/libpng-1.6.37':
configure:3381: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-l/mnt/lustre/nanxin/app/libpng-1.6.37/zlib-1.2.8/include
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-L/mnt/lustre/nanxin/app/libpng-1.6.37/zlib-1.2.8/lib
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_PNG_COPTS_set=
ac_cv_env_PNG_COPTS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /mnt/lustre/nanxin/app/libpng-1.6.37/missing aclocal-1.16'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
AS=''
AUTOCONF='${SHELL} /mnt/lustre/nanxin/app/libpng-1.6.37/missing autoconf'
AUTOHEADER='${SHELL} /mnt/lustre/nanxin/app/libpng-1.6.37/missing autoheader'
AUTOMAKE='${SHELL} /mnt/lustre/nanxin/app/libpng-1.6.37/missing automake-1.16'
AWK='gawk'
CC='gcc'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS='-l/mnt/lustre/nanxin/app/libpng-1.6.37/zlib-1.2.8/include'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DFNCPP=''
DLLTOOL=''
DO_INSTALL_LIBPNG_CONFIG_FALSE=''
DO_INSTALL_LIBPNG_CONFIG_TRUE=''
DO_INSTALL_LIBPNG_PC_FALSE=''
DO_INSTALL_LIBPNG_PC_TRUE=''
DO_INSTALL_LINKS_FALSE=''
DO_INSTALL_LINKS_TRUE=''
DO_PNG_PREFIX_FALSE=''
DO_PNG_PREFIX_TRUE=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
HAVE_CLOCK_GETTIME_FALSE=''
HAVE_CLOCK_GETTIME_TRUE=''
HAVE_LD_VERSION_SCRIPT_FALSE=''
HAVE_LD_VERSION_SCRIPT_TRUE=''
HAVE_SOLARIS_LD_FALSE=''
HAVE_SOLARIS_LD_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS='-L/mnt/lustre/nanxin/app/libpng-1.6.37/zlib-1.2.8/lib'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /mnt/lustre/nanxin/app/libpng-1.6.37/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='libpng'
PACKAGE_BUGREPORT='png-mng-implement@lists.sourceforge.net'
PACKAGE_NAME='libpng'
PACKAGE_STRING='libpng 1.6.37'
PACKAGE_TARNAME='libpng'
PACKAGE_URL=''
PACKAGE_VERSION='1.6.37'
PATH_SEPARATOR=':'
PNGLIB_MAJOR='1'
PNGLIB_MINOR='6'
PNGLIB_RELEASE='37'
PNGLIB_VERSION='1.6.37'
PNG_ARM_NEON_FALSE=''
PNG_ARM_NEON_TRUE=''
PNG_COPTS=''
PNG_INTEL_SSE_FALSE=''
PNG_INTEL_SSE_TRUE=''
PNG_MIPS_MSA_FALSE=''
PNG_MIPS_MSA_TRUE=''
PNG_POWERPC_VSX_FALSE=''
PNG_POWERPC_VSX_TRUE=''
PNG_PREFIX=''
POW_LIB=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
SYMBOL_PREFIX=''
VERSION='1.6.37'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
binconfigs=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /mnt/lustre/nanxin/app/libpng-1.6.37/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgconfigdir=''
prefix='/mnt/lustre/nanxin/app/libpng-1.6.37'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "libpng"
#define PACKAGE_TARNAME "libpng"
#define PACKAGE_VERSION "1.6.37"
#define PACKAGE_STRING "libpng 1.6.37"
#define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
#define PACKAGE_URL ""
#define PACKAGE "libpng"
#define VERSION "1.6.37"

configure: exit 77


密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表