- 积分
- 3200
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-5-10
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2014-7-23 19:07:21
|
显示全部楼层
在自己的电脑上(ubuntu 12.04)
root@Lenovo:/usr/local/nco-4.4.0# ./configure
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 grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking whether ln -s works... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether to enable maintainer-specific portions of Makefiles... no
checking for working memcmp... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for working strtod... yes
checking for canonicalize_file_name... yes
checking for floor... no
checking for gethostname... yes
checking for getpagesize... yes
checking for getrusage... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemp... yes
checking for pow... no
checking for readlink... yes
checking for realpath... yes
checking for regcomp... yes
checking for setlocale... yes
checking for sqrt... no
checking for strchr... yes
checking for strerror... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for ANSI C header files... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking cstdlib usability... yes
checking cstdlib presence... yes
checking for cstdlib... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for ptrdiff_t... yes
checking size of int*... 8
checking whether C++ compiler implements namespaces... yes
checking whether C++ compiler has working valarray<T>... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
#################################
# Test for netCDF #
################################
checking for /opt/local/include/netcdf.h... no
checking for /opt/local/lib/libnetcdf.a... no
checking for /sopt/netcdf/netcdf411-gcc-serial/include/netcdf.h... no
checking for /sopt/netcdf/netcdf411-gcc-serial/lib/libnetcdf.a... no
checking netcdf.h usability... yes
checking netcdf.h presence... yes
checking for netcdf.h... yes
checking for nc_open in -lnetcdf... yes
#################################
# Test for netCDF4 support #
#################################
checking whether NC_CHUNKED is declared... yes
configure: netcdf.h contains netCDF4 definitions
checking for nc_def_var_chunking in -lnetcdf... yes
configure: Good news: Simple program compiles and links to netCDF4 library
checking for gcc -std=gnu99 option to support OpenMP... -fopenmp
Beginning generic tests for DAP support
Testing for DAP-netCDF support (is DAP in libnetcdf.a?)...
checking for nc__opendap in -lnetcdf... yes
configure: DAP support enabled
checking for getopt_long... yes
checking for _g95_ac_array in -lf95... no
checking for sin in -lm... yes
checking for sinf in -lsunmath... no
checking for gettext in -lintl... no
checking for res_init in -lresolv... no
checking for main in -lsocket... no
checking for main in -lthread... no
checking for nco_open in -lnco... no
checking for nc_inq_format... yes
checking for getopt... yes
checking for getopt_long... (cached) yes
checking for atan2... yes
checking for acosf... yes
checking for asinf... yes
checking for atanf... yes
checking for atan2f... yes
checking for cosf... yes
checking for expf... yes
checking for fabsf... yes
checking for fmodf... yes
checking for log10f... yes
checking for logf... yes
checking for powf... yes
checking for sinf... yes
checking for sqrtf... yes
checking for tanf... yes
checking for erff... yes
checking for erfcf... yes
checking for gammaf... yes
checking for acoshf... yes
checking for asinhf... yes
checking for atanhf... yes
checking for coshf... yes
checking for sinhf... yes
checking for tanhf... yes
checking for ceilf... yes
checking for floorf... yes
checking for nearbyint... yes
checking for rint... yes
checking for round... yes
checking for trunc... yes
checking for nearbyintf... yes
checking for rintf... yes
checking for roundf... yes
checking for truncf... yes
checking for getopt_long... (cached) yes
checking for strdup... yes
checking for strcasecmp... yes
checking for strcasestr... yes
##########################################################
# Sorting out MacOSX build parameters #
##########################################################
#################################
# Testing for ANTLR support #
#################################
checking for runantlr... runantlr
configure: antlr library was found
########################################
# Testing for GSL support #
########################################
configure: These GSL library and header tests must succeed for GSL support:
checking for gsl_sf_gamma_inc in -lgsl... yes
checking for /usr/include/gsl/gsl_sf_gamma.h... yes
configure: GSL support enabled
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for sys/types.h... (cached) yes
checking for regexec... yes
checking for regcomp... (cached) yes
checking for regfree... yes
########################################
# Testing for UDUNITS support #
########################################
WARNING: Requested both UDUnits and UDUnits2 support---overriding UDUnits
Will attempt to build NCO with UDUnits support from libudunits2, not from libudunits
checking for XML_ParserCreate in -lexpat... yes
checking for /usr/include/udunits2/udunits2.h... no
checking for /usr/include/udunits2.h... yes
checking for /usr/lib/x86_64-linux-gnu/libudunits2.a... yes
checking for /usr/lib/i386-linux-gnu/libudunits2.a... no
checking for /opt/local/include/udunits2/udunits2.h... no
checking for /opt/local/lib/libudunits2.a... no
checking for ... no
configure: WARNING: file was not found but will still attempt to build NCO with UDUnits2 support.
configure: NB: Following tests of UDUnits2 library and header must succeed for UDUnits2 support:
checking for ut_read_xml in -ludunits2... yes
checking udunits2.h usability... yes
checking udunits2.h presence... yes
checking for udunits2.h... yes
configure: UDUnits2 support enabled
checking for ncgen... /usr/bin/ncgen
configure: Creating sample netCDF data files for self-tests
ncgen: data/in_grp.cdl line 400: syntax error
###############################
# Require Shared Libs? #
###############################
checking for makeinfo... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating src/Makefile
config.status: creating src/nco/Makefile
config.status: creating man/Makefile
config.status: creating src/nco_c++/Makefile
config.status: creating src/nco++/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Configuration Parameters:
AR_FLAGS............. cru
CC................... gcc -std=gnu99
CFLAGS............... -g -O2 -std=c99 -D_BSD_SOURCE -D_POSIX_SOURCE
CPP.................. gcc -E
CPPFLAGS............. -I/usr/include -I/usr/include -I/usr/include
CXX.................. g++
CXXFLAGS............. -g -O2
OPENMP_CFLAGS.........-fopenmp
ENABLE_DAP_NETCDF.... yes
ENABLE_DAP........... yes
ENABLE_GSL........... yes
HAVE_NETCDF4_H....... yes
ENABLE_NETCDF4....... yes
NETCDF4_ROOT.........
ENABLE_UDUNITS....... no
ENABLE_UDUNITS2...... yes
GSL_ROOT............. /usr
HAVE_ANTLR........... runantlr
HOST.................
host................. x86_64-unknown-linux-gnu
HOSTNAME............. Lenovo
LDFLAGS.............. -L/usr/lib -lnetcdf -L/usr/lib/x86_64-linux-gnu
LIBS................. -ludunits2 -lexpat -lgsl -lm -lnetcdf -lnetcdf -lnetcdf -lcurl -L/usr/lib -lgsl -lgslcblas -lm -ludunits2
install prefix ...... /usr/local
*******************************************************************
Configuration complete. You are now ready to run 'make'.
Ensure 'make' points to GNU Make (AT&T Make chokes on GNU syntax).
If the build fails, please examine the file 'configure.eg'
in the top-level NCO directory. It contains examples known to
build NCO for various platforms and compilers.
*******************************************************************
|
|