Thu 02 Apr 2009 08:36:45 AM UTC, original submission:
I am currently using an AMD 64 with 32 bit Ubuntu 8.04 and 2 gig memory. Configure fails saying the objective C preprocessor fails its sanity check. I also note you have no rule to MAKE CLEAN the install (which may be required for a subsequent re-install).
I have included my the output and my config.log below and you help?
-------------------------------------------------------------
Output
-------------------------------------------------------------
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 for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 whether gcc and cc understand -c and -o together... yes
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking how to run the Objective C preprocessor... /lib/cpp
configure: error: Objective C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
-------------------------------------------------------------
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 billiards configure 0.2.1, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = paul-desktop
uname -m = i686
uname -r = 2.6.24-23-rt
uname -s = Linux
uname -v = #1 SMP PREEMPT RT Mon Jan 26 02:29:24 UTC 2009
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/paul/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1872: checking for a BSD-compatible install
configure:1928: result: /usr/bin/install -c
configure:1939: checking whether build environment is sane
configure:1982: result: yes
configure:2010: checking for a thread-safe mkdir -p
configure:2049: result: /bin/mkdir -p
configure:2062: checking for gawk
configure:2092: result: no
configure:2062: checking for mawk
configure:2078: found /usr/bin/mawk
configure:2089: result: mawk
configure:2100: checking whether make sets $(MAKE)
configure:2121: result: yes
configure:2371: checking for gcc
configure:2387: found /usr/bin/gcc
configure:2398: result: gcc
configure:2636: checking for C compiler version
configure:2643: gcc --version >&5
gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
Copyright (C) 2007 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:2646: $? = 0
configure:2653: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
configure:2656: $? = 0
configure:2663: gcc -V >&5
gcc: '-V' option must have argument
configure:2666: $? = 1
configure:2689: checking for C compiler default output file name
configure:2716: gcc conftest.c >&5
configure:2719: $? = 0
configure:2757: result: a.out
configure:2774: checking whether the C compiler works
configure:2784: ./a.out
configure:2787: $? = 0
configure:2804: result: yes
configure:2811: checking whether we are cross compiling
configure:2813: result: no
configure:2816: checking for suffix of executables
configure:2823: gcc -o conftest conftest.c >&5
configure:2826: $? = 0
configure:2850: result:
configure:2856: checking for suffix of object files
configure:2882: gcc -c conftest.c >&5
configure:2885: $? = 0
configure:2908: result: o
configure:2912: checking whether we are using the GNU C compiler
configure:2941: gcc -c conftest.c >&5
configure:2947: $? = 0
configure:2964: result: yes
configure:2969: checking whether gcc accepts -g
configure:2999: gcc -c -g conftest.c >&5
configure:3005: $? = 0
configure:3104: result: yes
configure:3121: checking for gcc option to accept ISO C89
configure:3195: gcc -c -g -O2 conftest.c >&5
configure:3201: $? = 0
configure:3224: result: none needed
configure:3253: checking for style of include used by make
configure:3281: result: GNU
configure:3306: checking dependency style of gcc
configure:3397: result: gcc3
configure:3413: checking whether gcc and cc understand -c and -o together
configure:3448: gcc -c conftest.c -o conftest2.o >&5
configure:3451: $? = 0
configure:3457: gcc -c conftest.c -o conftest2.o >&5
configure:3460: $? = 0
configure:3471: cc -c conftest.c >&5
configure:3474: $? = 0
configure:3482: cc -c conftest.c -o conftest2.o >&5
configure:3485: $? = 0
configure:3491: cc -c conftest.c -o conftest2.o >&5
configure:3494: $? = 0
configure:3512: result: yes
configure:3592: checking for gcc
configure:3608: found /usr/bin/gcc
configure:3619: result: gcc
configure:3648: checking for Objective C compiler version
configure:3655: gcc --version >&5
gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
Copyright (C) 2007 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:3658: $? = 0
configure:3665: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
configure:3668: $? = 0
configure:3675: gcc -V >&5
gcc: '-V' option must have argument
configure:3678: $? = 1
configure:3681: checking whether we are using the GNU Objective C compiler
configure:3710: gcc -c conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:3716: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "billiards"
| #define PACKAGE_TARNAME "billiards"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "billiards 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "billiards"
| #define VERSION "0.2.1"
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
|
| int
| main ()
| {
| #ifndef _GNUC_
| choke me
| #endif
|
| ;
| return 0;
| }
configure:3733: result: no
configure:3738: checking whether gcc accepts -g
configure:3768: gcc -c -g conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:3774: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "billiards"
| #define PACKAGE_TARNAME "billiards"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "billiards 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "billiards"
| #define VERSION "0.2.1"
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3806: gcc -c conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:3812: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "billiards"
| #define PACKAGE_TARNAME "billiards"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "billiards 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "billiards"
| #define VERSION "0.2.1"
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3845: gcc -c -g conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:3851: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "billiards"
| #define PACKAGE_TARNAME "billiards"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "billiards 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "billiards"
| #define VERSION "0.2.1"
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3873: result: no
configure:3898: checking dependency style of gcc
configure:3989: result: gcc3
configure:4009: checking how to run the Objective C preprocessor
configure:4045: gcc -E conftest.m
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:4051: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "billiards"
| #define PACKAGE_TARNAME "billiards"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "billiards 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "billiards"
| #define VERSION "0.2.1"
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
| #ifdef _STDC_
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4045: gcc -E conftest.m
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:4051: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "billiards"
| #define PACKAGE_TARNAME "billiards"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "billiards 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "billiards"
| #define VERSION "0.2.1"
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
| #ifdef _STDC_
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4045: /lib/cpp conftest.m
cpp: error trying to exec 'cc1obj': execvp: No such file or directory
configure:4051: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "billiards"
| #define PACKAGE_TARNAME "billiards"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "billiards 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "billiards"
| #define VERSION "0.2.1"
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
| #ifdef _STDC_
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4045: /lib/cpp conftest.m
cpp: error trying to exec 'cc1obj': execvp: No such file or directory
configure:4051: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "billiards"
| #define PACKAGE_TARNAME "billiards"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "billiards 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "billiards"
| #define VERSION "0.2.1"
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
| #ifdef _STDC_
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4121: result: /lib/cpp
configure:4150: /lib/cpp conftest.m
cpp: error trying to exec 'cc1obj': execvp: No such file or directory
configure:4156: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "billiards"
| #define PACKAGE_TARNAME "billiards"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "billiards 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "billiards"
| #define VERSION "0.2.1"
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
| #ifdef _STDC_
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4150: /lib/cpp conftest.m
cpp: error trying to exec 'cc1obj': execvp: No such file or directory
configure:4156: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "billiards"
| #define PACKAGE_TARNAME "billiards"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "billiards 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "billiards"
| #define VERSION "0.2.1"
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
| #ifdef _STDC_
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4218: error: Objective C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_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=
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_FONTCONFIG_CFLAGS_set=
ac_cv_env_FONTCONFIG_CFLAGS_value=
ac_cv_env_FONTCONFIG_LIBS_set=
ac_cv_env_FONTCONFIG_LIBS_value=
ac_cv_env_FREETYPE_CFLAGS_set=
ac_cv_env_FREETYPE_CFLAGS_value=
ac_cv_env_FREETYPE_LIBS_set=
ac_cv_env_FREETYPE_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBPNG_CFLAGS_set=
ac_cv_env_LIBPNG_CFLAGS_value=
ac_cv_env_LIBPNG_LIBS_set=
ac_cv_env_LIBPNG_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LUA_CFLAGS_set=
ac_cv_env_LUA_CFLAGS_value=
ac_cv_env_LUA_LIBS_set=
ac_cv_env_LUA_LIBS_value=
ac_cv_env_OBJCFLAGS_set=
ac_cv_env_OBJCFLAGS_value=
ac_cv_env_OBJCPP_set=
ac_cv_env_OBJCPP_value=
ac_cv_env_OBJC_set=
ac_cv_env_OBJC_value=
ac_cv_env_OPENAL_CFLAGS_set=
ac_cv_env_OPENAL_CFLAGS_value=
ac_cv_env_OPENAL_LIBS_set=
ac_cv_env_OPENAL_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_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_objc_compiler_gnu=no
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_OBJCPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_OBJC=gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_gcc_c_o=yes
ac_cv_prog_make_make_set=yes
ac_cv_prog_objc_g=no
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_OBJC_dependencies_compiler_type=gcc3
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/paul/Downloads/billiards-0.2.1/missing --run aclocal-1.10'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/paul/Downloads/billiards-0.2.1/missing --run tar'
AUTOCONF='${SHELL} /home/paul/Downloads/billiards-0.2.1/missing --run autoconf'
AUTOHEADER='${SHELL} /home/paul/Downloads/billiards-0.2.1/missing --run autoheader'
AUTOMAKE='${SHELL} /home/paul/Downloads/billiards-0.2.1/missing --run automake-1.10'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP=''
CPPFLAGS=''
CXX=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FONTCONFIG_CFLAGS=''
FONTCONFIG_LIBS=''
FREETYPE_CFLAGS=''
FREETYPE_LIBS=''
GLU_CFLAGS=''
GLU_LIBS=''
GL_CFLAGS=''
GL_LIBS=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBPNG_CFLAGS=''
LIBPNG_LIBS=''
LIBS=''
LTLIBOBJS=''
LUAC=''
LUA_CFLAGS=''
LUA_LIBS=''
MAKEINFO='${SHELL} /home/paul/Downloads/billiards-0.2.1/missing --run makeinfo'
OBJC='gcc'
OBJCDEPMODE='depmode=gcc3'
OBJCFLAGS=''
OBJCPP='/lib/cpp'
OBJEXT='o'
ODE_CFLAGS=''
ODE_LIBS=''
OPENAL_CFLAGS=''
OPENAL_LIBS=''
PACKAGE='billiards'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='billiards'
PACKAGE_STRING='billiards 0.2.1'
PACKAGE_TARNAME='billiards'
PACKAGE_VERSION='0.2.1'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='0.2.1'
XMKMF=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_OBJC='gcc'
acx_pthread_config=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__fastdepOBJC_FALSE='#'
am__fastdepOBJC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
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) /home/paul/Downloads/billiards-0.2.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "billiards"
#define PACKAGE_TARNAME "billiards"
#define PACKAGE_VERSION "0.2.1"
#define PACKAGE_STRING "billiards 0.2.1"
#define PACKAGE_BUGREPORT ""
#define PACKAGE "billiards"
#define VERSION "0.2.1"
#define _GNU_SOURCE 1
configure: exit 1
|