Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 05/04/2007, à 12:45

miq75

configure: error: C preprocessor "/lib/cpp" fails sanity check

Bonjour

Et oui, encore ce problème...

sur ubuntu edgy (32bits)
en voulant installer cairo pour avoir cairo-dock
en ayant suivi le tuto ici : http://www.macewan.org/?s=cairo&x=0&y=0
lors de la commande configure
en ayant bien installe build-essential, cpp, gcc...

j'ai le message suivant
configure: error: C preprocessor "/lib/cpp" fails sanity check

voilà mon 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 cairo configure 1.2.6, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --enable-warnings --enable-glitz --disable-quartz --disable-atsui --disable-xcb --disable-win32 --disable-GTK-doc

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

hostname = saphir
uname -m = i686
uname -r = 2.6.17-10-generic
uname -s = Linux
uname -v = #2 SMP Tue Dec 5 22:28:26 UTC 2006

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


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

configure:1773: checking for a BSD-compatible install
configure:1828: result: /usr/bin/install -c
configure:1839: checking whether build environment is sane
configure:1882: result: yes
configure:1947: checking for gawk
configure:1976: result: no
configure:1947: checking for mawk
configure:1963: found /usr/bin/mawk
configure:1973: result: mawk
configure:1983: checking whether make sets $(MAKE)
configure:2003: result: yes
configure:2201: checking whether to enable maintainer-specific portions of Makefiles
configure:2210: result: no
configure:2272: checking for gcc
configure:2288: found /usr/bin/gcc
configure:2298: result: gcc
configure:2542: checking for C compiler version
configure:2545: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
Copyright (C) 2006 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:2548: $? = 0
configure:2550: gcc -v </dev/null >&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 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
configure:2553: $? = 0
configure:2555: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2558: $? = 1
configure:2581: checking for C compiler default output file name
configure:2584: gcc    conftest.c  >&5
configure:2587: $? = 0
configure:2633: result: a.out
configure:2638: checking whether the C compiler works
configure:2644: ./a.out
configure:2647: $? = 0
configure:2664: result: yes
configure:2671: checking whether we are cross compiling
configure:2673: result: no
configure:2676: checking for suffix of executables
configure:2678: gcc -o conftest    conftest.c  >&5
configure:2681: $? = 0
configure:2706: result: 
configure:2712: checking for suffix of object files
configure:2733: gcc -c   conftest.c >&5
configure:2736: $? = 0
configure:2758: result: o
configure:2762: checking whether we are using the GNU C compiler
configure:2786: gcc -c   conftest.c >&5
configure:2792: $? = 0
configure:2796: test -z 
			 || test ! -s conftest.err
configure:2799: $? = 0
configure:2802: test -s conftest.o
configure:2805: $? = 0
configure:2818: result: yes
configure:2824: checking whether gcc accepts -g
configure:2845: gcc -c -g  conftest.c >&5
configure:2851: $? = 0
configure:2855: test -z 
			 || test ! -s conftest.err
configure:2858: $? = 0
configure:2861: test -s conftest.o
configure:2864: $? = 0
configure:2875: result: yes
configure:2892: checking for gcc option to accept ANSI C
configure:2962: gcc  -c -g -O2  conftest.c >&5
conftest.c:12:19: error: stdio.h: No such file or directory
conftest.c:13:23: error: sys/types.h: No such file or directory
conftest.c:14:22: error: sys/stat.h: No such file or directory
conftest.c:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
conftest.c:46: error: expected declaration specifiers or '...' before 'FILE'
configure:2968: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.2.6"
| #define PACKAGE_STRING "cairo 1.2.6"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE "cairo"
| #define VERSION "1.2.6"
| /* end confdefs.h.  */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
|      char **p;
|      int i;
| {
|   return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
|   char *s;
|   va_list v;
|   va_start (v,p);
|   s = g (p, va_arg (v,int));
|   va_end (v);
|   return s;
| }
| 
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
|    function prototypes and stuff, but not '\xHH' hex character constants.
|    These don't provoke an error unfortunately, instead are silently treated
|    as 'x'.  The following induces an error, until -std1 is added to get
|    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
|    array size at least.  It's necessary to write '\x00'==0 to get something
|    that's true only with -std1.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
|   ;
|   return 0;
| }
configure:2962: gcc -qlanglvl=ansi -c -g -O2  conftest.c >&5
gcc: unrecognized option '-qlanglvl=ansi'
conftest.c:12:19: error: stdio.h: No such file or directory
conftest.c:13:23: error: sys/types.h: No such file or directory
conftest.c:14:22: error: sys/stat.h: No such file or directory
conftest.c:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
conftest.c:46: error: expected declaration specifiers or '...' before 'FILE'
configure:2968: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.2.6"
| #define PACKAGE_STRING "cairo 1.2.6"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE "cairo"
| #define VERSION "1.2.6"
| /* end confdefs.h.  */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
|      char **p;
|      int i;
| {
|   return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
|   char *s;
|   va_list v;
|   va_start (v,p);
|   s = g (p, va_arg (v,int));
|   va_end (v);
|   return s;
| }
| 
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
|    function prototypes and stuff, but not '\xHH' hex character constants.
|    These don't provoke an error unfortunately, instead are silently treated
|    as 'x'.  The following induces an error, until -std1 is added to get
|    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
|    array size at least.  It's necessary to write '\x00'==0 to get something
|    that's true only with -std1.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
|   ;
|   return 0;
| }
configure:2962: gcc -std1 -c -g -O2  conftest.c >&5
cc1: error: unrecognized command line option "-std1"
configure:2968: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.2.6"
| #define PACKAGE_STRING "cairo 1.2.6"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE "cairo"
| #define VERSION "1.2.6"
| /* end confdefs.h.  */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
|      char **p;
|      int i;
| {
|   return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
|   char *s;
|   va_list v;
|   va_start (v,p);
|   s = g (p, va_arg (v,int));
|   va_end (v);
|   return s;
| }
| 
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
|    function prototypes and stuff, but not '\xHH' hex character constants.
|    These don't provoke an error unfortunately, instead are silently treated
|    as 'x'.  The following induces an error, until -std1 is added to get
|    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
|    array size at least.  It's necessary to write '\x00'==0 to get something
|    that's true only with -std1.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
|   ;
|   return 0;
| }
configure:2962: gcc -Ae -c -g -O2  conftest.c >&5
<command line>:1:2: error: missing '(' after predicate
conftest.c:12:19: error: stdio.h: No such file or directory
conftest.c:13:23: error: sys/types.h: No such file or directory
conftest.c:14:22: error: sys/stat.h: No such file or directory
conftest.c:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
conftest.c:46: error: expected declaration specifiers or '...' before 'FILE'
configure:2968: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.2.6"
| #define PACKAGE_STRING "cairo 1.2.6"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE "cairo"
| #define VERSION "1.2.6"
| /* end confdefs.h.  */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
|      char **p;
|      int i;
| {
|   return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
|   char *s;
|   va_list v;
|   va_start (v,p);
|   s = g (p, va_arg (v,int));
|   va_end (v);
|   return s;
| }
| 
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
|    function prototypes and stuff, but not '\xHH' hex character constants.
|    These don't provoke an error unfortunately, instead are silently treated
|    as 'x'.  The following induces an error, until -std1 is added to get
|    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
|    array size at least.  It's necessary to write '\x00'==0 to get something
|    that's true only with -std1.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
|   ;
|   return 0;
| }
configure:2962: gcc -Aa -D_HPUX_SOURCE -c -g -O2  conftest.c >&5
<command line>:1:2: error: missing '(' after predicate
conftest.c:12:19: error: stdio.h: No such file or directory
conftest.c:13:23: error: sys/types.h: No such file or directory
conftest.c:14:22: error: sys/stat.h: No such file or directory
conftest.c:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
conftest.c:46: error: expected declaration specifiers or '...' before 'FILE'
configure:2968: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.2.6"
| #define PACKAGE_STRING "cairo 1.2.6"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE "cairo"
| #define VERSION "1.2.6"
| /* end confdefs.h.  */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
|      char **p;
|      int i;
| {
|   return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
|   char *s;
|   va_list v;
|   va_start (v,p);
|   s = g (p, va_arg (v,int));
|   va_end (v);
|   return s;
| }
| 
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
|    function prototypes and stuff, but not '\xHH' hex character constants.
|    These don't provoke an error unfortunately, instead are silently treated
|    as 'x'.  The following induces an error, until -std1 is added to get
|    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
|    array size at least.  It's necessary to write '\x00'==0 to get something
|    that's true only with -std1.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
|   ;
|   return 0;
| }
configure:2962: gcc -Xc -D__EXTENSIONS__ -c -g -O2  conftest.c >&5
gcc: unrecognized option '-Xc'
conftest.c:12:19: error: stdio.h: No such file or directory
conftest.c:13:23: error: sys/types.h: No such file or directory
conftest.c:14:22: error: sys/stat.h: No such file or directory
conftest.c:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
conftest.c:46: error: expected declaration specifiers or '...' before 'FILE'
configure:2968: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.2.6"
| #define PACKAGE_STRING "cairo 1.2.6"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE "cairo"
| #define VERSION "1.2.6"
| /* end confdefs.h.  */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
|      char **p;
|      int i;
| {
|   return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
|   char *s;
|   va_list v;
|   va_start (v,p);
|   s = g (p, va_arg (v,int));
|   va_end (v);
|   return s;
| }
| 
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
|    function prototypes and stuff, but not '\xHH' hex character constants.
|    These don't provoke an error unfortunately, instead are silently treated
|    as 'x'.  The following induces an error, until -std1 is added to get
|    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
|    array size at least.  It's necessary to write '\x00'==0 to get something
|    that's true only with -std1.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
|   ;
|   return 0;
| }
configure:2999: result: none needed
configure:3017: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:3023: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3167: checking for style of include used by make
configure:3195: result: GNU
configure:3223: checking dependency style of gcc
configure:3313: result: gcc3
configure:3335: checking how to run the C preprocessor
configure:3370: gcc -E  conftest.c
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from conftest.c:12:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
configure:3376: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.2.6"
| #define PACKAGE_STRING "cairo 1.2.6"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE "cairo"
| #define VERSION "1.2.6"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3370: gcc -E  conftest.c
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from conftest.c:12:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
configure:3376: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.2.6"
| #define PACKAGE_STRING "cairo 1.2.6"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE "cairo"
| #define VERSION "1.2.6"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3370: gcc -E -traditional-cpp  conftest.c
conftest.c:14: error: assert.h: No such file or directory
configure:3376: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.2.6"
| #define PACKAGE_STRING "cairo 1.2.6"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE "cairo"
| #define VERSION "1.2.6"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3370: gcc -E -traditional-cpp  conftest.c
conftest.c:14: error: assert.h: No such file or directory
configure:3376: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.2.6"
| #define PACKAGE_STRING "cairo 1.2.6"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE "cairo"
| #define VERSION "1.2.6"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3370: /lib/cpp  conftest.c
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from conftest.c:12:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
configure:3376: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.2.6"
| #define PACKAGE_STRING "cairo 1.2.6"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE "cairo"
| #define VERSION "1.2.6"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3370: /lib/cpp  conftest.c
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from conftest.c:12:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
configure:3376: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.2.6"
| #define PACKAGE_STRING "cairo 1.2.6"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE "cairo"
| #define VERSION "1.2.6"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3453: result: /lib/cpp
configure:3477: /lib/cpp  conftest.c
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from conftest.c:12:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
configure:3483: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.2.6"
| #define PACKAGE_STRING "cairo 1.2.6"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE "cairo"
| #define VERSION "1.2.6"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3477: /lib/cpp  conftest.c
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from conftest.c:12:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
configure:3483: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.2.6"
| #define PACKAGE_STRING "cairo 1.2.6"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE "cairo"
| #define VERSION "1.2.6"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3552: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

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

ac_cv_c_compiler_gnu=yes
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_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_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_GLITZ_AGL_CFLAGS_set=
ac_cv_env_GLITZ_AGL_CFLAGS_value=
ac_cv_env_GLITZ_AGL_LIBS_set=
ac_cv_env_GLITZ_AGL_LIBS_value=
ac_cv_env_GLITZ_EGL_CFLAGS_set=
ac_cv_env_GLITZ_EGL_CFLAGS_value=
ac_cv_env_GLITZ_EGL_LIBS_set=
ac_cv_env_GLITZ_EGL_LIBS_value=
ac_cv_env_GLITZ_GLX_CFLAGS_set=
ac_cv_env_GLITZ_GLX_CFLAGS_value=
ac_cv_env_GLITZ_GLX_LIBS_set=
ac_cv_env_GLITZ_GLX_LIBS_value=
ac_cv_env_GLITZ_WGL_CFLAGS_set=
ac_cv_env_GLITZ_WGL_CFLAGS_value=
ac_cv_env_GLITZ_WGL_LIBS_set=
ac_cv_env_GLITZ_WGL_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBRSVG_CFLAGS_set=
ac_cv_env_LIBRSVG_CFLAGS_value=
ac_cv_env_LIBRSVG_LIBS_set=
ac_cv_env_LIBRSVG_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_POPPLER_CFLAGS_set=
ac_cv_env_POPPLER_CFLAGS_value=
ac_cv_env_POPPLER_LIBS_set=
ac_cv_env_POPPLER_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_directfb_CFLAGS_set=
ac_cv_env_directfb_CFLAGS_value=
ac_cv_env_directfb_LIBS_set=
ac_cv_env_directfb_LIBS_value=
ac_cv_env_glitz_CFLAGS_set=
ac_cv_env_glitz_CFLAGS_value=
ac_cv_env_glitz_LIBS_set=
ac_cv_env_glitz_LIBS_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_png_CFLAGS_set=
ac_cv_env_png_CFLAGS_value=
ac_cv_env_png_LIBS_set=
ac_cv_env_png_LIBS_value=
ac_cv_env_png_REQUIRES_set=
ac_cv_env_png_REQUIRES_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_env_xcb_CFLAGS_set=
ac_cv_env_xcb_CFLAGS_value=
ac_cv_env_xcb_LIBS_set=
ac_cv_env_xcb_LIBS_value=
ac_cv_env_xlib_CFLAGS_set=
ac_cv_env_xlib_CFLAGS_value=
ac_cv_env_xlib_LIBS_set=
ac_cv_env_xlib_LIBS_value=
ac_cv_env_xlib_xrender_CFLAGS_set=
ac_cv_env_xlib_xrender_CFLAGS_value=
ac_cv_env_xlib_xrender_LIBS_set=
ac_cv_env_xlib_xrender_LIBS_value=
ac_cv_exeext=
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_CPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=no
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3

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

ACLOCAL='${SHELL} /home/maison/cairo-1.2.6/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/maison/cairo-1.2.6/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/maison/cairo-1.2.6/missing --run autoconf'
AUTOHEADER='${SHELL} /home/maison/cairo-1.2.6/missing --run autoheader'
AUTOMAKE='${SHELL} /home/maison/cairo-1.2.6/missing --run automake-1.9'
AWK='mawk'
CAIRO_CAN_TEST_GLITZ_AGL_SURFACE_FALSE=''
CAIRO_CAN_TEST_GLITZ_AGL_SURFACE_TRUE=''
CAIRO_CAN_TEST_GLITZ_EGL_SURFACE_FALSE=''
CAIRO_CAN_TEST_GLITZ_EGL_SURFACE_TRUE=''
CAIRO_CAN_TEST_GLITZ_GLX_SURFACE_FALSE=''
CAIRO_CAN_TEST_GLITZ_GLX_SURFACE_TRUE=''
CAIRO_CAN_TEST_GLITZ_WGL_SURFACE_FALSE=''
CAIRO_CAN_TEST_GLITZ_WGL_SURFACE_TRUE=''
CAIRO_CAN_TEST_PDF_SURFACE_FALSE=''
CAIRO_CAN_TEST_PDF_SURFACE_TRUE=''
CAIRO_CAN_TEST_SVG_SURFACE_FALSE=''
CAIRO_CAN_TEST_SVG_SURFACE_TRUE=''
CAIRO_CFLAGS=''
CAIRO_HAS_ATSUI_FONT_FALSE=''
CAIRO_HAS_ATSUI_FONT_TRUE=''
CAIRO_HAS_BEOS_SURFACE_FALSE=''
CAIRO_HAS_BEOS_SURFACE_TRUE=''
CAIRO_HAS_DIRECTFB_SURFACE_FALSE=''
CAIRO_HAS_DIRECTFB_SURFACE_TRUE=''
CAIRO_HAS_FT_FONT_FALSE=''
CAIRO_HAS_FT_FONT_TRUE=''
CAIRO_HAS_GLITZ_SURFACE_FALSE=''
CAIRO_HAS_GLITZ_SURFACE_TRUE=''
CAIRO_HAS_MULTI_PAGE_SURFACES_FALSE=''
CAIRO_HAS_MULTI_PAGE_SURFACES_TRUE=''
CAIRO_HAS_PDF_SURFACE_FALSE=''
CAIRO_HAS_PDF_SURFACE_TRUE=''
CAIRO_HAS_PNG_FUNCTIONS_FALSE=''
CAIRO_HAS_PNG_FUNCTIONS_TRUE=''
CAIRO_HAS_PS_SURFACE_FALSE=''
CAIRO_HAS_PS_SURFACE_TRUE=''
CAIRO_HAS_QUARTZ_SURFACE_FALSE=''
CAIRO_HAS_QUARTZ_SURFACE_TRUE=''
CAIRO_HAS_SVG_SURFACE_FALSE=''
CAIRO_HAS_SVG_SURFACE_TRUE=''
CAIRO_HAS_TEST_SURFACES_FALSE=''
CAIRO_HAS_TEST_SURFACES_TRUE=''
CAIRO_HAS_WIN32_FONT_FALSE=''
CAIRO_HAS_WIN32_FONT_TRUE=''
CAIRO_HAS_WIN32_SURFACE_FALSE=''
CAIRO_HAS_WIN32_SURFACE_TRUE=''
CAIRO_HAS_XCB_SURFACE_FALSE=''
CAIRO_HAS_XCB_SURFACE_TRUE=''
CAIRO_HAS_XLIB_SURFACE_FALSE=''
CAIRO_HAS_XLIB_SURFACE_TRUE=''
CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE=''
CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE=''
CAIRO_LIBS=''
CAIRO_NONPKGCONFIG_CFLAGS=''
CAIRO_NONPKGCONFIG_LIBS=''
CAIRO_REQUIRES=''
CAIRO_VERSION_MAJOR='1'
CAIRO_VERSION_MICRO='6'
CAIRO_VERSION_MINOR='2'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='/lib/cpp'
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_GTK_DOC_FALSE=''
ENABLE_GTK_DOC_TRUE=''
EXEEXT=''
F77=''
FFLAGS=''
FONTCONFIG_CFLAGS=''
FONTCONFIG_LIBS=''
FREETYPE_CFLAGS=''
FREETYPE_CONFIG=''
FREETYPE_LIBS=''
GLITZ_AGL_CFLAGS=''
GLITZ_AGL_LIBS=''
GLITZ_EGL_CFLAGS=''
GLITZ_EGL_LIBS=''
GLITZ_GLX_CFLAGS=''
GLITZ_GLX_LIBS=''
GLITZ_WGL_CFLAGS=''
GLITZ_WGL_LIBS=''
GTK_DOC_USE_LIBTOOL_FALSE=''
GTK_DOC_USE_LIBTOOL_TRUE=''
HAVE_PTHREAD_FALSE=''
HAVE_PTHREAD_TRUE=''
HTML_DIR=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBRSVG_CFLAGS=''
LIBRSVG_LIBS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
LTP=''
LTP_GENHTML=''
LT_CURRENT_MINUS_AGE='2'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/maison/cairo-1.2.6/missing --run makeinfo'
MMX_CFLAGS=''
OBJEXT='o'
PACKAGE='cairo'
PACKAGE_BUGREPORT='http://bugs.freedesktop.org/enter_bug.cgi?product=cairo'
PACKAGE_NAME='cairo'
PACKAGE_STRING='cairo 1.2.6'
PACKAGE_TARNAME='cairo'
PACKAGE_VERSION='1.2.6'
PATH_SEPARATOR=':'
PKGCONFIG_REQUIRES=''
PKG_CONFIG=''
POPPLER_CFLAGS=''
POPPLER_LIBS=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
USE_MMX_FALSE=''
USE_MMX_TRUE=''
VERSION='1.2.6'
VERSION_INFO='11:3:9'
WARN_CFLAGS=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
ac_pt_PKG_CONFIG=''
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=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
directfb_CFLAGS=''
directfb_LIBS=''
exec_prefix='NONE'
glitz_CFLAGS=''
glitz_LIBS=''
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/maison/cairo-1.2.6/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
png_CFLAGS=''
png_LIBS=''
png_REQUIRES=''
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
xcb_CFLAGS=''
xcb_LIBS=''
xlib_CFLAGS=''
xlib_LIBS=''
xlib_xrender_CFLAGS=''
xlib_xrender_LIBS=''

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

#define PACKAGE "cairo"
#define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
#define PACKAGE_NAME "cairo"
#define PACKAGE_STRING "cairo 1.2.6"
#define PACKAGE_TARNAME "cairo"
#define PACKAGE_VERSION "1.2.6"
#define VERSION "1.2.6"

configure: exit 1

Voilà, malgré tous les forums que j'ai parcourus, je sèche.
Est ce que ça pourrait être un problème de version du compilateur ?


- j'ai un problème avec mon ordinateur
- on va voir ça
- j'ai Windows
- oui je ne suis pas sourd, vous m'avez déjà dit que vous aviez un problème !

Hors ligne