[Openchrome-users] build fails unther Hardy Herron

imreh_zoltan userforum
Fri May 23 10:18:18 PDT 2008


Re: build fails unther Hardy Herron
> imreh_zoltan wrote:
> > build fails unther Hardy Herron Hi,
> > 
> > I'm using the driver quite for a while. It worked fine with the
> > Feisty and Gutsy versions of Ubuntu. After upgrading to the latest
> > version, Hardy, the autogen.sh throughs an error and I cannot build:
> > 
> > checking how to run the C preprocessor... /lib/cpp configure: error:
> > C preprocessor "/lib/cpp" fails sanity check See `config.log' for
> > more details.
> > 
> > I'm attaching also my config.log file, for the details.
> > 
> > Thanks in advance for your help.
> > 
> > Cheers, Zoltan.
> > 
> You forgot the attachement.
> 
> Hardy does ship with openchrome, although a slightly older version 
> (0.2.901). If you still need the newest version for whatever reason, 
> first file a bug at ubuntu bug tracker asking them to update, then start 
> from a fresh extract of the openchrome 0.2.902 tarball.
> 
> The 2 commands below should bring you all the packages you need to build 
> openchrome :
> sudo apt-get build-dep xserver-xorg-video-via
> sudo apt-get install subversion autoconf automake1.9 libtool
> 
> then inside of the freshly extracted dir :
> ./configure --prefix=/usr
> make
> sudo make install
> 
> Regards,
> Xavier
> 

Hi Xavier,
this solves actually not my problem. The compilation of the sources should go as it went on Gutsy, because this is a simple make after all. I think that the update to Hardy removed something from my computer, but I can't figure out what.

Anyway, here is my config.log. Perhaps this will help:

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

It was created by xf86-video-openchrome configure 0.2.902, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --enable-maintainer-mode --prefix=/usr

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

hostname = zoli-desktop
uname -m = i686
uname -r = 2.6.24-16-generic
uname -s = Linux
uname -v = #1 SMP Thu Apr 10 13:23:42 UTC 2008

/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: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/X11R6/bin


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

configure:2033: checking for a BSD-compatible install
configure:2089: result: /usr/bin/install -c
configure:2100: checking whether build environment is sane
configure:2143: result: yes
configure:2208: checking for gawk
configure:2224: found /usr/bin/gawk
configure:2235: result: gawk
configure:2246: checking whether make sets $(MAKE)
configure:2267: result: yes
configure:2452: checking whether to enable maintainer-specific portions of Makefiles
configure:2461: result: yes
configure:2557: checking build system type
configure:2575: result: i686-pc-linux-gnu
configure:2597: checking host system type
configure:2612: result: i686-pc-linux-gnu
configure:2646: checking for style of include used by make
configure:2674: result: GNU
configure:2747: checking for gcc
configure:2763: found /usr/bin/gcc
configure:2774: result: gcc
configure:3012: checking for C compiler version
configure:3019: gcc --version >&5
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
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:3022: $? = 0
configure:3029: 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.3 (Ubuntu 4.2.3-2ubuntu7)
configure:3032: $? = 0
configure:3039: gcc -V >&5
gcc: '-V' option must have argument
configure:3042: $? = 1
configure:3065: checking for C compiler default output file name
configure:3092: gcc    conftest.c  >&5
configure:3095: $? = 0
configure:3133: result: a.out
configure:3150: checking whether the C compiler works
configure:3160: ./a.out
configure:3163: $? = 0
configure:3180: result: yes
configure:3187: checking whether we are cross compiling
configure:3189: result: no
configure:3192: checking for suffix of executables
configure:3199: gcc -o conftest    conftest.c  >&5
configure:3202: $? = 0
configure:3226: result: 
configure:3232: checking for suffix of object files
configure:3258: gcc -c   conftest.c >&5
configure:3261: $? = 0
configure:3284: result: o
configure:3288: checking whether we are using the GNU C compiler
configure:3317: gcc -c   conftest.c >&5
configure:3323: $? = 0
configure:3340: result: yes
configure:3345: checking whether gcc accepts -g
configure:3375: gcc -c -g  conftest.c >&5
configure:3381: $? = 0
configure:3480: result: yes
configure:3497: checking for gcc option to accept ISO C89
configure:3571: gcc  -c -g -O2  conftest.c >&5
configure:3577: $? = 0
configure:3600: result: none needed
configure:3620: checking dependency style of gcc
configure:3710: result: gcc3
configure:3727: checking for a sed that does not truncate output
configure:3783: result: /bin/sed
configure:3786: checking for grep that handles long lines and -e
configure:3860: result: /bin/grep
configure:3865: checking for egrep
configure:3943: result: /bin/grep -E
configure:3959: checking for ld used by gcc
configure:4026: result: /usr/bin/ld
configure:4035: checking if the linker (/usr/bin/ld) is GNU ld
configure:4050: result: yes
configure:4055: checking for /usr/bin/ld option to reload object files
configure:4062: result: -r
configure:4080: checking for BSD-compatible nm
configure:4129: result: /usr/bin/nm -B
configure:4133: checking whether ln -s works
configure:4137: result: yes
configure:4144: checking how to recognize dependent libraries
configure:4330: result: pass_all
configure:4575: checking how to run the C preprocessor
configure:4615: gcc -E  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:11,
                 from conftest.c:11:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
configure:4621: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "xf86-video-openchrome"
| #define PACKAGE_TARNAME "xf86-video-openchrome"
| #define PACKAGE_VERSION "0.2.902"
| #define PACKAGE_STRING "xf86-video-openchrome 0.2.902"
| #define PACKAGE_BUGREPORT "http://www.openchrome.org/trac/report/1"
| #define PACKAGE "xf86-video-openchrome"
| #define VERSION "0.2.902"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include 
| #else
| # include 
| #endif
| 		     Syntax error
configure:4615: gcc -E  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:11,
                 from conftest.c:11:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
configure:4621: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "xf86-video-openchrome"
| #define PACKAGE_TARNAME "xf86-video-openchrome"
| #define PACKAGE_VERSION "0.2.902"
| #define PACKAGE_STRING "xf86-video-openchrome 0.2.902"
| #define PACKAGE_BUGREPORT "http://www.openchrome.org/trac/report/1"
| #define PACKAGE "xf86-video-openchrome"
| #define VERSION "0.2.902"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include 
| #else
| # include 
| #endif
| 		     Syntax error
configure:4615: gcc -E -traditional-cpp  conftest.c
In file included from /usr/include/features.h:331,
                 from /usr/include/assert.h:38,
                 from conftest.c:14:
/usr/include/sys/cdefs.h:32: error: #error "You need a ISO C conforming compiler to use the glibc headers"
configure:4621: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "xf86-video-openchrome"
| #define PACKAGE_TARNAME "xf86-video-openchrome"
| #define PACKAGE_VERSION "0.2.902"
| #define PACKAGE_STRING "xf86-video-openchrome 0.2.902"
| #define PACKAGE_BUGREPORT "http://www.openchrome.org/trac/report/1"
| #define PACKAGE "xf86-video-openchrome"
| #define VERSION "0.2.902"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include 
| #else
| # include 
| #endif
| 		     Syntax error
configure:4615: gcc -E -traditional-cpp  conftest.c
In file included from /usr/include/features.h:331,
                 from /usr/include/assert.h:38,
                 from conftest.c:14:
/usr/include/sys/cdefs.h:32: error: #error "You need a ISO C conforming compiler to use the glibc headers"
configure:4621: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "xf86-video-openchrome"
| #define PACKAGE_TARNAME "xf86-video-openchrome"
| #define PACKAGE_VERSION "0.2.902"
| #define PACKAGE_STRING "xf86-video-openchrome 0.2.902"
| #define PACKAGE_BUGREPORT "http://www.openchrome.org/trac/report/1"
| #define PACKAGE "xf86-video-openchrome"
| #define VERSION "0.2.902"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include 
| #else
| # include 
| #endif
| 		     Syntax error
configure:4615: /lib/cpp  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:11,
                 from conftest.c:11:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
configure:4621: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "xf86-video-openchrome"
| #define PACKAGE_TARNAME "xf86-video-openchrome"
| #define PACKAGE_VERSION "0.2.902"
| #define PACKAGE_STRING "xf86-video-openchrome 0.2.902"
| #define PACKAGE_BUGREPORT "http://www.openchrome.org/trac/report/1"
| #define PACKAGE "xf86-video-openchrome"
| #define VERSION "0.2.902"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include 
| #else
| # include 
| #endif
| 		     Syntax error
configure:4615: /lib/cpp  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:11,
                 from conftest.c:11:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
configure:4621: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "xf86-video-openchrome"
| #define PACKAGE_TARNAME "xf86-video-openchrome"
| #define PACKAGE_VERSION "0.2.902"
| #define PACKAGE_STRING "xf86-video-openchrome 0.2.902"
| #define PACKAGE_BUGREPORT "http://www.openchrome.org/trac/report/1"
| #define PACKAGE "xf86-video-openchrome"
| #define VERSION "0.2.902"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include 
| #else
| # include 
| #endif
| 		     Syntax error
configure:4691: result: /lib/cpp
configure:4720: /lib/cpp  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:11,
                 from conftest.c:11:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
configure:4726: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "xf86-video-openchrome"
| #define PACKAGE_TARNAME "xf86-video-openchrome"
| #define PACKAGE_VERSION "0.2.902"
| #define PACKAGE_STRING "xf86-video-openchrome 0.2.902"
| #define PACKAGE_BUGREPORT "http://www.openchrome.org/trac/report/1"
| #define PACKAGE "xf86-video-openchrome"
| #define VERSION "0.2.902"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include 
| #else
| # include 
| #endif
| 		     Syntax error
configure:4720: /lib/cpp  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:11,
                 from conftest.c:11:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
configure:4726: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "xf86-video-openchrome"
| #define PACKAGE_TARNAME "xf86-video-openchrome"
| #define PACKAGE_VERSION "0.2.902"
| #define PACKAGE_STRING "xf86-video-openchrome 0.2.902"
| #define PACKAGE_BUGREPORT "http://www.openchrome.org/trac/report/1"
| #define PACKAGE "xf86-video-openchrome"
| #define VERSION "0.2.902"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include 
| #else
| # include 
| #endif
| 		     Syntax error
configure:4788: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

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

ac_cv_build=i686-pc-linux-gnu
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_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DRI_CFLAGS_set=
ac_cv_env_DRI_CFLAGS_value=
ac_cv_env_DRI_LIBS_set=
ac_cv_env_DRI_LIBS_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PCIACCESS_CFLAGS_set=
ac_cv_env_PCIACCESS_CFLAGS_value=
ac_cv_env_PCIACCESS_LIBS_set=
ac_cv_env_PCIACCESS_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_XORG_CFLAGS_set=
ac_cv_env_XORG_CFLAGS_value=
ac_cv_env_XORG_LIBS_set=
ac_cv_env_XORG_LIBS_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_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_SED=/bin/sed
lt_cv_prog_gnu_ld=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/src/openchrome/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/src/openchrome/missing --run tar'
AR=''
AUTOCONF='${SHELL} /usr/src/openchrome/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/src/openchrome/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/src/openchrome/missing --run automake-1.9'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='/lib/cpp'
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEBUG_FALSE=''
DEBUG_TRUE=''
DEFS=''
DEPDIR='.deps'
DRIVER_MAN_SUFFIX=''
DRIVER_NAME=''
DRI_CFLAGS=''
DRI_FALSE=''
DRI_LIBS=''
DRI_TRUE=''
DSYMUTIL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
F77=''
FFLAGS=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S='ln -s'
LTLIBOBJS=''
MAINT=''
MAINTAINER_MODE_FALSE='#'
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} /usr/src/openchrome/missing --run makeinfo'
NMEDIT=''
OBJEXT='o'
PACKAGE='xf86-video-openchrome'
PACKAGE_BUGREPORT='http://www.openchrome.org/trac/report/1'
PACKAGE_NAME='xf86-video-openchrome'
PACKAGE_STRING='xf86-video-openchrome 0.2.902'
PACKAGE_TARNAME='xf86-video-openchrome'
PACKAGE_VERSION='0.2.902'
PATH_SEPARATOR=':'
PCIACCESS_CFLAGS=''
PCIACCESS_LIBS=''
PKG_CONFIG=''
RANLIB=''
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='0.2.902'
XORG_CFLAGS=''
XORG_LIBS=''
XSERVER_LIBPCIACCESS_FALSE=''
XSERVER_LIBPCIACCESS_TRUE=''
XVMC_FALSE=''
XVMC_TRUE=''
XV_DEBUG_FALSE=''
XV_DEBUG_TRUE=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='/usr/src/openchrome/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='mkdir -p --'
moduledir=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
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 "xf86-video-openchrome"
#define PACKAGE_TARNAME "xf86-video-openchrome"
#define PACKAGE_VERSION "0.2.902"
#define PACKAGE_STRING "xf86-video-openchrome 0.2.902"
#define PACKAGE_BUGREPORT "http://www.openchrome.org/trac/report/1"
#define PACKAGE "xf86-video-openchrome"
#define VERSION "0.2.902"

configure: exit 1

----

Reply Link: <http://wiki.openchrome.org/tikiwiki/tiki-view_forum_thread.php?forumId=1&comments_reply_threadId=5179&comments_parentId=5140&post_reply=1#form>





More information about the Openchrome-users mailing list