bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

configure problem


From: Wendy Palm
Subject: configure problem
Date: Thu, 20 Feb 2003 11:33:12 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

i'm having a problem configuring cvs on a particular cray architecture.
cvs-1.11 configured and installed just fine,
but cvs-1.11.3 and cvs-1.11.5 fails at the

checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check

i've looked at that section of the code, and i can't figure out what
the heck it's trying to do.

on this machine, cpp is in /opt/PE/bin/cpp, which is in my path.

here is the 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 Concurrent Versions System (CVS) configure 1.11.3, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure --prefix=/opt/open/33

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

hostname = sn801
uname -m = crayx1
uname -r = 0.0.1_unreleased-irixdev-work_sv2-X1
uname -s = UNICOS/mp
uname -v = 02200354

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

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

PATH: /opt/ctl/craylibs/craylibs/bin
PATH: /opt/perl/perl/bin
PATH: /opt/tcl/tcl/bin
PATH: /opt/PE/bin
PATH: /opt/gnu/bin
PATH: /opt/totalview/totalview/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11/bin


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

configure:1300: checking for a BSD-compatible install
configure:1354: result: /usr/bin/install -c
configure:1365: checking whether build environment is sane
configure:1408: result: yes
configure:1441: checking for gawk
configure:1470: result: no
configure:1441: checking for mawk
configure:1470: result: no
configure:1441: checking for nawk
configure:1457: found /usr/bin/nawk
configure:1467: result: nawk
configure:1477: checking whether make sets ${MAKE}
configure:1497: result: yes
configure:1757: checking for gcc
configure:1786: result: no
configure:1837: checking for cc
configure:1853: found /opt/PE/bin/cc
configure:1863: result: cc
configure:2027: checking for C compiler version
configure:2030: cc --version </dev/null >&5
CC-2239 cc: ERROR
  No valid filenames are specified on the command line.
configure:2033: $? = 1
configure:2035: cc -v </dev/null >&5
CC-2239 cc: ERROR
  No valid filenames are specified on the command line.
configure:2038: $? = 1
configure:2040: cc -V </dev/null >&5
Cray Standard C Version 7.2.0.2.1 (u18c42039p45082a24e41) 02/20/03 11:25:21
configure:2043: $? = 0
configure:2069: checking for C compiler default output
configure:2072: cc -h command   conftest.c  >&5
configure:2075: $? = 0
configure:2108: result: a.out
configure:2113: checking whether the C compiler works
configure:2119: ./a.out
configure:2122: $? = 0
configure:2137: result: yes
configure:2144: checking whether we are cross compiling
configure:2146: result: no
configure:2149: checking for suffix of executables
configure:2151: cc -o conftest -h command   conftest.c  >&5
configure:2154: $? = 0
configure:2176: result:
configure:2182: checking for suffix of object files
configure:2206: cc -c -h command  conftest.c >&5
configure:2209: $? = 0
configure:2228: result: o
configure:2232: checking whether we are using the GNU C compiler
configure:2259: cc -c -h command  conftest.c >&5
CC-20 cc: ERROR File = configure, Line = 2249
  The identifier "choke" is undefined.

         choke me
         ^

Total errors detected in conftest.c: 1
configure:2262: $? = 1
configure: failed program was:
#line 2237 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
#ifndef __GNUC__
       choke me
#endif

  ;
  return 0;
}
configure:2280: result: no
configure:2286: checking whether cc accepts -g
configure:2310: cc -c -g  conftest.c >&5
configure:2313: $? = 0
configure:2316: test -s conftest.o
configure:2319: $? = 0
configure:2329: result: yes
configure:2356: cc -c -h command  conftest.c >&5
CC-20 cc: ERROR File = conftest.c, Line = 2
  The identifier "choke" is undefined.

    choke me
    ^

CC-65 cc: ERROR at end of source
  A semicolon is expected at this point.


Total errors detected in conftest.c: 2
configure:2359: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2488: checking for style of include used by make
configure:2516: result: GNU
configure:2544: checking dependency style of cc
configure:2606: result: sgi
configure:2615: checking whether cc understands -c and -o together
configure:2645: cc -c conftest.c -o conftest.o >&5
configure:2648: $? = 0
configure:2650: cc -c conftest.c -o conftest.o >&5
configure:2653: $? = 0
configure:2692: result: yes
configure:2724: checking how to run the C preprocessor
configure:2750: cc -E  conftest.c
configure:2756: $? = 0
configure:2783: cc -E  conftest.c
configure:2789: $? = 0
configure:2750: cc -E  conftest.c
configure:2756: $? = 0
configure:2783: cc -E  conftest.c
configure:2789: $? = 0
configure:2750: cc -E -traditional-cpp  conftest.c
configure:2756: $? = 0
configure:2783: cc -E -traditional-cpp  conftest.c
configure:2789: $? = 0
configure:2750: cc -E -traditional-cpp  conftest.c
configure:2756: $? = 0
configure:2783: cc -E -traditional-cpp  conftest.c
configure:2789: $? = 0
configure:2750: /lib/cpp  conftest.c
./configure[2751]: /lib/cpp:  not found
configure:2756: $? = 127
configure: failed program was:
#line 2744 "configure"
#include "confdefs.h"
#include <assert.h>
                     Syntax error
configure:2750: /lib/cpp  conftest.c
./configure[2751]: /lib/cpp:  not found
configure:2756: $? = 127
configure: failed program was:
#line 2744 "configure"
#include "confdefs.h"
#include <assert.h>
                     Syntax error
configure:2826: result: /lib/cpp
configure:2841: /lib/cpp  conftest.c
./configure[2842]: /lib/cpp:  not found
configure:2847: $? = 127
configure: failed program was:
#line 2835 "configure"
#include "confdefs.h"
#include <assert.h>
                     Syntax error
configure:2841: /lib/cpp  conftest.c
./configure[2842]: /lib/cpp:  not found
configure:2847: $? = 127
configure: failed program was:
#line 2835 "configure"
#include "confdefs.h"
#include <assert.h>
                     Syntax error
configure:2908: error: C preprocessor "/lib/cpp" fails sanity check

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

ac_cv_c_compiler_gnu=no
ac_cv_env_CC_set=''
ac_cv_env_CC_value=''
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-h command'
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_EDITOR_set=''
ac_cv_env_EDITOR_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_exeext=''
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=nawk
ac_cv_prog_CPP=/lib/cpp
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_cc_cc_c_o=yes
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=sgi

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


#define PACKAGE_NAME "Concurrent Versions System (CVS)"
#define PACKAGE_TARNAME "cvs"
#define PACKAGE_VERSION "1.11.3"
#define PACKAGE_STRING "Concurrent Versions System (CVS) 1.11.3"
#define PACKAGE_BUGREPORT "bug-cvs@gnu.org"

configure: exit 1


--
wendy palm
Cray OS Sustaining Engineering, Cray Inc.
wendyp@cray.com, 651-605-9154





reply via email to

[Prev in Thread] Current Thread [Next in Thread]