[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 20050209: problems with netCDF 3.6.0 configure
- Subject: Re: 20050209: problems with netCDF 3.6.0 configure
- Date: Thu, 10 Feb 2005 11:14:22 -0700
Natapol Pornputtapong <address@hidden> writes:
Hello,
It seems like you have a broken C compiler.
Have you considered getting the pre-built binaries?
If you take a look at the section "If You Have a Broken C Compiler" on
this page, you might find it helpful:
http://my.unidata.ucar.edu/content/software/netcdf/docs_beta/netcdf-install/The-Usual-Build-Problems.html
When you get a working C compiler, try again, but first do a "make
distclean"
Ed Hartnett
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
> <META NAME="GENERATOR" CONTENT="GtkHTML/3.2.3">
> </HEAD>
> <BODY>
> I forward screen output and config.log in this mail.ASCII code is UTF-8 for
> this file.<BR>
> <FONT COLOR="#000000">Best regard</FONT><BR>
> Natapol<BR>
> <BR>
> On พ., 2005-02-09 at 09:06 -0700, Ed Hartnett wrote:
> <BLOCKQUOTE TYPE=CITE>
> <PRE>
> <FONT COLOR="#000000">Unidata Support <<A
> HREF="mailto:address@hidden">address@hidden</A>> writes:</FONT>
>
> <FONT COLOR="#000000">> ------- Forwarded Message</FONT>
> <FONT COLOR="#000000">></FONT>
> <FONT COLOR="#000000">>>To: <A
> HREF="mailto:address@hidden">address@hidden</A></FONT>
> <FONT COLOR="#000000">>>From: Natapol Pornputtapong <<A
> HREF="mailto:address@hidden">address@hidden</A>></FONT>
> <FONT COLOR="#000000">>>Subject: I have some problem on configure
> file</FONT>
> <FONT COLOR="#000000">>>Organization: National Center for Genetic
> Engineering and Biotechnology, Thailand</FONT>
> <FONT COLOR="#000000">>>Keywords: 200502090937.j199bCv2013845 netCDF
> 3.6.0 configure</FONT>
> <FONT COLOR="#000000">></FONT>
> <FONT COLOR="#000000">></FONT>
> <FONT COLOR="#000000">> --=-dIBc+XJdpcH8e0clrNZ2</FONT>
> <FONT COLOR="#000000">> Content-Type: multipart/alternative;
> boundary="=-14kYlYDjAJsWRRZ/ncya"</FONT>
> <FONT COLOR="#000000">></FONT>
> <FONT COLOR="#000000">></FONT>
> <FONT COLOR="#000000">> --=-14kYlYDjAJsWRRZ/ncya</FONT>
> <FONT COLOR="#000000">> Content-Type: text/plain</FONT>
> <FONT COLOR="#000000">> Content-Transfer-Encoding: 7bit</FONT>
> <FONT COLOR="#000000">></FONT>
> <FONT COLOR="#000000">> I have some problem on configure file.</FONT>
> <FONT COLOR="#000000">> Please,help me.</FONT>
> <FONT COLOR="#000000">></FONT>
> <FONT COLOR="#000000">> Best regard</FONT>
> <FONT COLOR="#000000">></FONT>
>
> <FONT COLOR="#000000">Please send, in ASCII, the *FULL* output of:</FONT>
>
> <FONT COLOR="#000000">make distclean;./configure && make test</FONT>
>
> <FONT COLOR="#000000">Thanks!</FONT>
>
> <FONT COLOR="#000000">Ed</FONT>
>
> </PRE>
> </BLOCKQUOTE>
> </BODY>
> </HTML>
>
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by netCDF configure 3.6.0, which was
> generated by GNU Autoconf 2.59. Invocation command line was
>
> $ ./configure
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = BALLoon
> uname -m = i686
> uname -r = 2.6.9-8.tlcsmp
> uname -s = Linux
> uname -v = #1 SMP Tue Nov 23 20:14:04 ICT 2004
>
> /usr/bin/uname -p = unknown
> /bin/uname -X = unknown
>
> /bin/arch = i686
> /usr/bin/arch -k = unknown
> /usr/convex/getsysinfo = unknown
> hostinfo = unknown
> /bin/machine = unknown
> /usr/bin/oslevel = unknown
> /bin/universe = unknown
>
> PATH: /usr/kerberos/sbin
> PATH: /usr/local/program/staden-linux-1-5-3/linux-bin
> PATH: /usr/kerberos/bin
> PATH: /usr/local/bin
> PATH: /usr/bin
> PATH: /bin
> PATH: /usr/X11R6/bin
> PATH: /usr/lib/jre/bin
> PATH: /home/natapol/bin
> PATH: /usr/local/chimera/bin
> PATH: /usr/local/program/jackal/bin
> PATH: /usr/local/program/NAMD_2.5_Linux-i686
> PATH: /usr/local/program/vito112003
> PATH: /usr/local/program/scwrl3_lin
> PATH: .
> PATH: /usr/local/program/ccp4-5.0.2/etc
> PATH: /usr/local/program/ccp4-5.0.2/bin
> PATH: /usr/local/program/ccp4-5.0.2/ccp4i/bin
> PATH: /usr/lib/jre/bin
> PATH: /usr/lib/jre/bin
>
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:1369: checking build system type
> configure:1387: result: i686-pc-linux-gnu
> configure:1395: checking host system type
> configure:1409: result: i686-pc-linux-gnu
> configure:1421: checking for top-level source-directory
> configure:1424: result: /usr/local/program/netcdf-3.6.0/src
> configure:1484: checking for xlc
> configure:1513: result: no
> configure:1484: checking for cc
> configure:1500: found /usr/bin/cc
> configure:1510: result: cc
> configure:1531: checking for C compiler version
> configure:1534: cc --version </dev/null >&5
> cc (GCC) 3.4.2 20041017 (Thai Linux Core 3.4.2-6.2.tlc)
> Copyright (C) 2004 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:1537: $? = 0
> configure:1539: cc -v </dev/null >&5
> Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --disable-checking --with-system-zlib --enable-__cxa_atexit
> --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
> Thread model: posix
> gcc version 3.4.2 20041017 (Thai Linux Core 3.4.2-6.2.tlc)
> configure:1542: $? = 0
> configure:1544: cc -V </dev/null >&5
> cc: `-V' option must have argument
> configure:1547: $? = 1
> configure:1570: checking for C compiler default output file name
> configure:1573: cc -g conftest.c >&5
> /usr/local/bin/ld: unrecognized option '--eh-frame-hdr'
> /usr/local/bin/ld: use the --help option for usage information
> collect2: ld returned 1 exit status
> configure:1576: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME "netCDF"
> | #define PACKAGE_TARNAME "netcdf"
> | #define PACKAGE_VERSION "3.6.0"
> | #define PACKAGE_STRING "netCDF 3.6.0"
> | #define PACKAGE_BUGREPORT "address@hidden"
> | /* end confdefs.h. */
> |
> | int
> | main ()
> | {
> |
> | ;
> | return 0;
> | }
> configure:1615: error: C compiler cannot create executables
> See `config.log' for more details.
>
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
>
> ac_cv_build=i686-pc-linux-gnu
> ac_cv_build_alias=i686-pc-linux-gnu
> 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=
> ac_cv_env_CPPFLAGS_value=
> ac_cv_env_CPP_set=
> ac_cv_env_CPP_value=
> ac_cv_env_CXXFLAGS_set=
> ac_cv_env_CXXFLAGS_value=
> ac_cv_env_CXX_set=
> ac_cv_env_CXX_value=
> ac_cv_env_FCFLAGS_set=
> ac_cv_env_FCFLAGS_value=
> ac_cv_env_FC_set=
> ac_cv_env_FC_value=
> ac_cv_env_LDFLAGS_set=
> ac_cv_env_LDFLAGS_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_host=i686-pc-linux-gnu
> ac_cv_host_alias=i686-pc-linux-gnu
> ac_cv_prog_ac_ct_CC=cc
>
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
>
> ALLOCA=''
> AR=''
> ARFLAGS=''
> CC='cc'
> CC_MAKEDEPEND=''
> CFLAGS='-g'
> COMPILE_F=''
> CPP=''
> CPPFLAGS=''
> CXX=''
> CXXFLAGS=''
> DEFS=''
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EGREP=''
> EXEEXT=''
> F90=''
> F90FLAGS=''
> F90LIBS=''
> FC=''
> FCFLAGS=''
> FFLAGS=''
> FLIBS=''
> FPP=''
> FPPFLAGS=''
> FTPBINDIR=''
> IGNORE_FPE=''
> INSTALL_DATA=''
> INSTALL_PROGRAM=''
> INSTALL_SCRIPT=''
> LDFLAGS=''
> LIBOBJS=''
> LIBS=''
> LTLIBOBJS=''
> M4=''
> M4FLAGS=''
> MAKEWHATIS_CMD=''
> MATHLIB=''
> NM=''
> NMFLAGS=''
> OBJEXT=''
> PACKAGE_BUGREPORT='address@hidden'
> PACKAGE_NAME='netCDF'
> PACKAGE_STRING='netCDF 3.6.0'
> PACKAGE_TARNAME='netcdf'
> PACKAGE_VERSION='3.6.0'
> PATH_SEPARATOR=':'
> RANLIB=''
> SHELL='/bin/sh'
> SRCDIR='/usr/local/program/netcdf-3.6.0/src'
> WHATIS=''
> ac_ct_CC='cc'
> ac_ct_CXX=''
> ac_ct_FC=''
> ac_ct_RANLIB=''
> bindir='${exec_prefix}/bin'
> build='i686-pc-linux-gnu'
> build_alias=''
> build_cpu='i686'
> build_os='linux-gnu'
> build_vendor='pc'
> datadir='${prefix}/share'
> exec_prefix='NONE'
> host='i686-pc-linux-gnu'
> host_alias=''
> host_cpu='i686'
> host_os='linux-gnu'
> host_vendor='pc'
> includedir='${prefix}/include'
> infodir='${prefix}/info'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localstatedir='${prefix}/var'
> mandir='${prefix}/man'
> oldincludedir='/usr/include'
> prefix='NONE'
> prog=''
> program_transform_name='s,x,x,'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='${prefix}/etc'
> target_alias=''
>
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
>
> #define PACKAGE_BUGREPORT "address@hidden"
> #define PACKAGE_NAME "netCDF"
> #define PACKAGE_STRING "netCDF 3.6.0"
> #define PACKAGE_TARNAME "netcdf"
> #define PACKAGE_VERSION "3.6.0"
>
> configure: exit 77
>
> #configuration output on screen
> [root@BALLoon src]# ./configure
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for top-level source-directory... /usr/local/program/netcdf-3.6.0/src
> checking for xlc... no
> checking for cc... cc
> checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> See `config.log' for more details.
> [root@BALLoon src]#
> #make test output on screen
> [root@BALLoon src]# make test
> Makefile:4: macros.make: No such file or directory
> rules.make:118: warning: overriding commands for target `/'
> Makefile:173: warning: ignoring old commands for target `/'
> rules.make:120: warning: overriding commands for target `/'
> rules.make:118: warning: ignoring old commands for target `/'
> rules.make:122: warning: overriding commands for target `/'
> rules.make:120: warning: ignoring old commands for target `/'
> rules.make:124: warning: overriding commands for target `/'
> rules.make:122: warning: ignoring old commands for target `/'
> rules.make:127: warning: overriding commands for target `/'
> rules.make:124: warning: ignoring old commands for target `/'
> rules.make:130: warning: overriding commands for target `/'
> rules.make:127: warning: ignoring old commands for target `/'
> rules.make:145: warning: overriding commands for target `/man1'
> rules.make:142: warning: ignoring old commands for target `/man1'
> rules.make:147: warning: overriding commands for target `/man3'
> rules.make:142: warning: ignoring old commands for target `/man3'
> rules.make:150: warning: overriding commands for target `/man3f'
> rules.make:142: warning: ignoring old commands for target `/man3f'
> rules.make:154: warning: overriding commands for target `/man3f90'
> rules.make:142: warning: ignoring old commands for target `/man3f90'
> make: *** No rule to make target `macros.make'. Stop.
> [root@BALLoon src]#
--
Ed Hartnett -- address@hidden