FVWM: configure broken with 2.5.5

From: Tomi Vainio - Sun Finland <Tomi.Vainio_at_Sun.COM>
Date: Sat, 22 Feb 2003 21:08:16 +0200

If I do "CC=cc ./configure" with 2.5.5 I get an error but this still
works with 2.4.15.

checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
configure: error: "
configure is not able to compile programs with warnings. Please
remove all offending options like -Werror from the CFLAGS and
CPPFLAGS variables and run configure again."


  Tomppa
---clip clip---
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.53. Invocation command line was

  $ ./configure

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

hostname = ultrahot
uname -m = sun4u
uname -r = 5.9
uname -s = SunOS
uname -v = Generic_112233-04

/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = ultrahot
Release = 5.9
KernelID = Generic_112233-04
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 2

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

PATH: /home/tomppa/bin
PATH: /usr/local/binf
PATH: /usr/local/binp
PATH: /usr/local/bin
PATH: /usr/local/binc
PATH: /usr/local/bin/X11
PATH: /opt/gnu/bin
PATH: /usr/dt/bin
PATH: /usr/openwin/bin
PATH: /usr/X11R6/bin
PATH: /opt/SUNWspro/bin
PATH: /usr/ccs/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/ucb
PATH: /usr/lib/lp/postscript
PATH: /usr/dist/local/exe
PATH: /usr/dist/exe
PATH: .


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

configure:1359: checking for a BSD-compatible install
configure:1413: result: /usr/ucb/install
configure:1424: checking whether build environment is sane
configure:1467: result: yes
configure:1500: checking for gawk
configure:1516: found /usr/local/bin/gawk
configure:1526: result: gawk
configure:1536: checking whether make sets ${MAKE}
configure:1556: result: yes
configure:1746: checking whether to enable command logging
configure:1764: result: no
configure:1769: checking whether to enable debugging messages
configure:1787: result: no
configure:1792: checking whether to enable fancy pixmap titlebars
configure:1810: result: yes
configure:1818: checking imagepath
configure:1844: result: /usr/include/X11/bitmaps:/usr/include/X11/pixmaps
configure:1893: checking for gcc
configure:1919: result: cc
configure:2163: checking for C compiler version
configure:2166: cc --version </dev/null >&5
cc: Warning: option -- passed to ld
usage: cc [ options] files. Use 'cc -flags' for details
configure:2169: $? = 1
configure:2171: cc -v </dev/null >&5
usage: cc [ options] files. Use 'cc -flags' for details
configure:2174: $? = 1
configure:2176: cc -V </dev/null >&5
cc: Forte Developer 7 C 5.4 2002/03/09
usage: cc [ options] files. Use 'cc -flags' for details
configure:2179: $? = 1
configure:2205: checking for C compiler default output
configure:2208: cc conftest.c >&5
configure:2211: $? = 0
configure:2244: result: a.out
configure:2249: checking whether the C compiler works
configure:2255: ./a.out
configure:2258: $? = 0
configure:2273: result: yes
configure:2280: checking whether we are cross compiling
configure:2282: result: no
configure:2285: checking for suffix of executables
configure:2287: cc -o conftest conftest.c >&5
configure:2290: $? = 0
configure:2312: result:
configure:2318: checking for suffix of object files
configure:2342: cc -c conftest.c >&5
configure:2345: $? = 0
configure:2364: result: o
configure:2368: checking whether we are using the GNU C compiler
configure:2395: cc -c conftest.c >&5
"configure", line 2385: undefined symbol: choke
"configure", line 2385: syntax error before or at: me
cc: acomp failed for conftest.c
configure:2398: $? = 2
configure: failed program was:
#line 2373 "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:2416: result: no
configure:2422: checking whether cc accepts -g
configure:2446: cc -c -g conftest.c >&5
configure:2449: $? = 0
configure:2452: test -s conftest.o
configure:2455: $? = 0
configure:2465: result: yes
configure:2492: cc -c -g conftest.c >&5
"conftest.c", line 2: warning: old-style declaration or incorrect type for: choke
"conftest.c", line 2: syntax error before or at: me
"conftest.c", line 3: warning: old-style declaration or incorrect type for: me
cc: acomp failed for conftest.c
configure:2495: $? = 2
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2624: checking for style of include used by make
configure:2652: result: GNU
configure:2680: checking dependency style of cc
configure:2742: result: none
configure:2752: checking how to run the C preprocessor
configure:2778: cc -E conftest.c
configure:2784: $? = 0
configure:2811: cc -E conftest.c
"configure", line 2807: cannot find include file: <ac_nonexistent.h>
cc: acomp failed for conftest.c
configure:2817: $? = 2
configure: failed program was:
#line 2806 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2854: result: cc -E
configure:2869: cc -E conftest.c
configure:2875: $? = 0
configure:2902: cc -E conftest.c
"configure", line 2898: cannot find include file: <ac_nonexistent.h>
cc: acomp failed for conftest.c
configure:2908: $? = 2
configure: failed program was:
#line 2897 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2953: checking for library containing strerror
configure:2986: cc -o conftest -g conftest.c >&5
configure:2989: $? = 0
configure:2992: test -s conftest
configure:2995: $? = 0
configure:3054: result: none required
configure:3062: checking for ANSI C header files
configure:3076: cc -E conftest.c
configure:3082: $? = 0
configure:3167: cc -o conftest -g conftest.c >&5
"configure", line 3160: warning: implicit function declaration: exit
configure:3170: $? = 0
configure:3172: ./conftest
configure:3175: $? = 0
configure:3189: result: yes
configure:3213: checking for sys/types.h
configure:3226: cc -c -g conftest.c >&5
configure:3229: $? = 0
configure:3232: test -s conftest.o
configure:3235: $? = 0
configure:3245: result: yes
configure:3213: checking for sys/stat.h
configure:3226: cc -c -g conftest.c >&5
configure:3229: $? = 0
configure:3232: test -s conftest.o
configure:3235: $? = 0
configure:3245: result: yes
configure:3213: checking for stdlib.h
configure:3226: cc -c -g conftest.c >&5
configure:3229: $? = 0
configure:3232: test -s conftest.o
configure:3235: $? = 0
configure:3245: result: yes
configure:3213: checking for string.h
configure:3226: cc -c -g conftest.c >&5
configure:3229: $? = 0
configure:3232: test -s conftest.o
configure:3235: $? = 0
configure:3245: result: yes
configure:3213: checking for memory.h
configure:3226: cc -c -g conftest.c >&5
configure:3229: $? = 0
configure:3232: test -s conftest.o
configure:3235: $? = 0
configure:3245: result: yes
configure:3213: checking for strings.h
configure:3226: cc -c -g conftest.c >&5
configure:3229: $? = 0
configure:3232: test -s conftest.o
configure:3235: $? = 0
configure:3245: result: yes
configure:3213: checking for inttypes.h
configure:3226: cc -c -g conftest.c >&5
configure:3229: $? = 0
configure:3232: test -s conftest.o
configure:3235: $? = 0
configure:3245: result: yes
configure:3213: checking for stdint.h
configure:3226: cc -c -g conftest.c >&5
"configure", line 3254: cannot find include file: <stdint.h>
cc: acomp failed for conftest.c
configure:3229: $? = 2
configure: failed program was:
#line 3218 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
# include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
# include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif

#include <stdint.h>
configure:3245: result: no
configure:3213: checking for unistd.h
configure:3226: cc -c -g conftest.c >&5
configure:3229: $? = 0
configure:3232: test -s conftest.o
configure:3235: $? = 0
configure:3245: result: yes
configure:3267: checking minix/config.h usability
configure:3276: cc -c -g conftest.c >&5
"configure", line 3304: cannot find include file: <minix/config.h>
cc: acomp failed for conftest.c
configure:3279: $? = 2
configure: failed program was:
#line 3269 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
# include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
# include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <minix/config.h>
configure:3294: result: no
configure:3298: checking minix/config.h presence
configure:3305: cc -E conftest.c
"configure", line 3301: cannot find include file: <minix/config.h>
cc: acomp failed for conftest.c
configure:3311: $? = 2
configure: failed program was:
#line 3300 "configure"
#include "confdefs.h"
#include <minix/config.h>
configure:3329: result: no
configure:3347: checking for minix/config.h
configure:3354: result: no
configure:3408: cc -c -g conftest.c >&5
"configure", line 3395: syntax error before or at: {
"configure", line 3397: warning: improper pointer/integer combination: op "="
"configure", line 3397: warning: improper pointer/integer combination: op "="
"configure", line 3398: undefined symbol: i
"configure", line 3398: warning: improper pointer/integer combination: op "="
"configure", line 3398: warning: assignment type mismatch:
        pointer to char "=" pointer to int
"configure", line 3400: warning: statement not reached
"configure", line 3400: warning: function expects to return value: main
"configure", line 3401: warning: syntax error: empty declaration
"configure", line 3402: syntax error before or at: return
"configure", line 3402: warning: syntax error: empty declaration
cc: acomp failed for conftest.c
configure:3411: $? = 2
configure: failed program was:
#line 3384 "configure"
#include "confdefs.h"
#include <stdio.h>
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
     extern "C"
# endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
int warn(void) {
  int i; static j; int *p; char *c;
  switch (*p = p = *c) { case 0: printf("%Q", c, p); }
  *c = &i; c = p;
  while (1 || (unsigned int)3 >= 0 || ((int)-1) == ((unsigned int)1));
  return; }
  ;
  return 0;
}
configure:3426: error: "
configure is not able to compile programs with warnings. Please
remove all offending options like -Werror from the CFLAGS and
CPPFLAGS variables and run configure again."

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

ac_cv_c_compiler_gnu=no
ac_cv_dmalloc=no
ac_cv_efence=no
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
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_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_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=no
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_objext=o
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP=$'cc -E'
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_strerror=$'none required'
am_cv_CC_dependencies_compiler_type=none

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

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define VERSIONINFO ""
#define PACKAGE "fvwm"
#define VERSION "2.5.5"
#define FANCY_TITLEBARS 1
#define FVWM_IMAGEPATH "/usr/include/X11/bitmaps:/usr/include/X11/pixmaps"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_UNISTD_H 1

configure: exit 1
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sat Feb 22 2003 - 13:09:50 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST