Hi list! I was trying to backport libcups2-dev from lenny to etch when I met with the following error (from config.log)
g++ (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) 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:3054: $? = 0 configure:3061: g++ -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 --enabl e-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 --with-tune=i686 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) configure:3064: $? = 0 configure:3071: g++ -V >&5 g++: '-V' option must have argument configure:3074: $? = 1 configure:3077: checking whether we are using the GNU C++ compiler configure:3106: g++ -c -g -Wall -O2 conftest.cpp >&5 configure:3112: $? = 0 configure:3129: result: yes configure:3134: checking whether g++ accepts -g configure:3164: g++ -c -g conftest.cpp >&5 configure:3170: $? = 0 configure:3269: result: yes configure:3297: checking how to run the C preprocessor configure:3337: cc -E conftest.c In file included from /usr/include/bits/posix1_lim.h:153, from /usr/include/limits.h:144, from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122, 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:11: /usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory configure:3343: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define CUPS_SVERSION "CUPS v1.3.8" | #define CUPS_MINIMAL "CUPS/1.3.8" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error How do I get around this? I did try to build cups again after having installed linux-headers-2.6.18-6-486, since linux/limit.h exist in that package, but that didn't help :-( -- Hans Ekbrand (http://sociologi.cjb.net) <[EMAIL PROTECTED]> A. Because it breaks the logical sequence of discussion Q. Why is top posting bad?
signature.asc
Description: Digital signature