checking for -lncursesw in /usr/local/lib... no checking for -lncursesw in /usr/lib... no configure: error: Cannot link ncursesw library !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/dialog-1.0.20050206/work/dialog-1.0-20050206/config.log !!! ERROR: dev-util/dialog-1.0.20050206 failed. !!! Function econf, Line 495, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. 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.52.20030208. Invocation command line was $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-ncursesw --build=i686-pc-linux-gnu ## ---------- ## ## Platform. ## ## ---------- ## hostname = edgar uname -m = i686 uname -r = 2.6.15-gentoo-r5 uname -s = Linux uname -v = #1 SMP Mon Feb 13 20:23:47 UTC 2006 /usr/bin/uname -p = AMD Athlon(tm) XP 3000+ /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 = /sbin:/usr/sbin:/usr/lib/portage/bin:/bin:/usr/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.4:/opt/sun-jdk-1.4.2.10/bin:/opt/sun-jdk-1.4.2.10/jre/bin:/opt/sun-jdk-1.4.2.10/jre/javaws:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin ## ------------ ## ## Core tests. ## ## ------------ ## configure:976: PATH=".;."; conftest.sh ./configure: line 977: conftest.sh: command not found configure:979: $? = 127 configure:991: checking for package version configure:1012: result: 1.0 configure:1015: checking for package patch date configure:1032: result: 20050206 configure:1074: checking for i686-pc-linux-gnu-gcc configure:1089: found /usr/bin/i686-pc-linux-gnu-gcc configure:1097: result: i686-pc-linux-gnu-gcc configure:1360: checking for C compiler version configure:1363: i686-pc-linux-gnu-gcc --version </dev/null >&5 i686-pc-linux-gnu-gcc (GCC) 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) Copyright (C) 2004 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:1366: $? = 0 configure:1368: i686-pc-linux-gnu-gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs Configured with: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) configure:1371: $? = 0 configure:1373: i686-pc-linux-gnu-gcc -V </dev/null >&5 i686-pc-linux-gnu-gcc: `-V' option must have argument configure:1376: $? = 1 configure:1396: checking for C compiler default output configure:1399: i686-pc-linux-gnu-gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer conftest.c >&5 configure:1402: $? = 0 configure:1431: result: a.out configure:1436: checking whether the C compiler works configure:1442: ./a.out configure:1445: $? = 0 configure:1460: result: yes configure:1467: checking whether we are cross compiling configure:1469: result: no configure:1472: checking for executable suffix configure:1474: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer conftest.c >&5 configure:1477: $? = 0 configure:1499: result: configure:1505: checking for object suffix configure:1523: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer conftest.c >&5 configure:1526: $? = 0 configure:1545: result: o configure:1549: checking whether we are using the GNU C compiler configure:1570: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer conftest.c >&5 configure:1573: $? = 0 configure:1576: test -s conftest.o configure:1579: $? = 0 configure:1591: result: yes configure:1597: checking whether i686-pc-linux-gnu-gcc accepts -g configure:1615: i686-pc-linux-gnu-gcc -c -g conftest.c >&5 configure:1618: $? = 0 configure:1621: test -s conftest.o configure:1624: $? = 0 configure:1634: result: yes configure:1661: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer conftest.c >&5 conftest.c:2: error: parse error before "me" configure:1664: $? = 1 configure: failed program was: #ifndef __cplusplus choke me #endif configure:1767: checking how to run the C preprocessor configure:1793: i686-pc-linux-gnu-gcc -E conftest.c configure:1799: $? = 0 configure:1826: i686-pc-linux-gnu-gcc -E conftest.c configure:1823:28: ac_nonexistent.h: No such file or directory configure:1832: $? = 1 configure: failed program was: #line 1822 "configure" #include "confdefs.h" #include <ac_nonexistent.h> configure:1869: result: i686-pc-linux-gnu-gcc -E configure:1884: i686-pc-linux-gnu-gcc -E conftest.c configure:1890: $? = 0 configure:1917: i686-pc-linux-gnu-gcc -E conftest.c configure:1914:28: ac_nonexistent.h: No such file or directory configure:1923: $? = 1 configure: failed program was: #line 1913 "configure" #include "confdefs.h" #include <ac_nonexistent.h> configure:1963: checking whether i686-pc-linux-gnu-gcc needs -traditional configure:1998: result: no configure:2005: checking whether make sets ${MAKE} configure:2025: result: yes configure:2037: checking for i686-pc-linux-gnu-ranlib configure:2052: found /usr/bin/i686-pc-linux-gnu-ranlib configure:2060: result: i686-pc-linux-gnu-ranlib configure:2145: checking for a BSD compatible install configure:2194: result: /bin/install -c configure:2208: checking for i686-pc-linux-gnu-ar configure:2223: found /usr/bin/i686-pc-linux-gnu-ar configure:2231: result: i686-pc-linux-gnu-ar configure:2279: checking for POSIXized ISC configure:2298: result: no configure:2303: checking for i686-pc-linux-gnu-gcc option to accept ANSI C configure:2360: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer conftest.c >&5 configure:2363: $? = 0 configure:2366: test -s conftest.o configure:2369: $? = 0 configure:2386: result: none needed configure:2394: checking for an ANSI C-conforming const configure:2458: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer conftest.c >&5 configure:2461: $? = 0 configure:2464: test -s conftest.o configure:2467: $? = 0 configure:2477: result: yes configure:2487: checking for makeflags variable configure:2520: result: configure:2523: checking if filesystem supports mixed-case filenames configure:2550: result: yes configure:2558: checking for ctags configure:2582: result: no configure:2592: checking for etags configure:2616: result: no configure:2639: checking if you want to see long compiling messages configure:2673: result: yes configure:2682: checking build system type configure:2700: result: i686-pc-linux-gnu configure:2708: checking host system type configure:2722: result: i686-pc-linux-gnu configure:2747: result: Configuring for linux-gnu configure:2786: checking if this is really Intel compiler configure:2808: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -no-gcc conftest.c >&5 i686-pc-linux-gnu-gcc: unrecognized option `-no-gcc' configure: In function `main': configure:2799: error: `make' undeclared (first use in this function) configure:2799: error: (Each undeclared identifier is reported only once configure:2799: error: for each function it appears in.) configure:2799: error: parse error before "an" configure:2811: $? = 1 configure: failed program was: #line 2791 "configure" #include "confdefs.h" int main () { #ifdef __INTEL_COMPILER #else make an error #endif ; return 0; } configure:2828: result: no configure:2858: checking if we must define _GNU_SOURCE configure:2880: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer conftest.c >&5 configure: In function `main': configure:2872: error: `make' undeclared (first use in this function) configure:2872: error: (Each undeclared identifier is reported only once configure:2872: error: for each function it appears in.) configure:2872: error: parse error before "an" configure:2883: $? = 1 configure: failed program was: #line 2865 "configure" #include "confdefs.h" #include <sys/types.h> int main () { #ifndef _XOPEN_SOURCE make an error #endif ; return 0; } configure:2913: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure: In function `main': configure:2905: error: `make' undeclared (first use in this function) configure:2905: error: (Each undeclared identifier is reported only once configure:2905: error: for each function it appears in.) configure:2905: error: parse error before "an" configure:2916: $? = 1 configure: failed program was: #line 2898 "configure" #include "confdefs.h" #include <sys/types.h> int main () { #ifdef _XOPEN_SOURCE make an error #endif ; return 0; } configure:2937: result: yes configure:3191: checking version of i686-pc-linux-gnu-gcc configure:3195: result: 686 configure:3351: checking for ANSI C header files configure:3365: i686-pc-linux-gnu-gcc -E -D_GNU_SOURCE conftest.c configure:3371: $? = 0 configure:3458: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:3461: $? = 0 configure:3463: ./conftest configure:3466: $? = 0 configure:3479: result: yes configure:3489: checking for inline configure:3506: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:3509: $? = 0 configure:3512: test -s conftest.o configure:3515: $? = 0 configure:3526: result: inline configure:3547: checking for sys/types.h configure:3559: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:3562: $? = 0 configure:3565: test -s conftest.o configure:3568: $? = 0 configure:3578: result: yes configure:3547: checking for sys/stat.h configure:3559: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:3562: $? = 0 configure:3565: test -s conftest.o configure:3568: $? = 0 configure:3578: result: yes configure:3547: checking for stdlib.h configure:3559: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:3562: $? = 0 configure:3565: test -s conftest.o configure:3568: $? = 0 configure:3578: result: yes configure:3547: checking for string.h configure:3559: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:3562: $? = 0 configure:3565: test -s conftest.o configure:3568: $? = 0 configure:3578: result: yes configure:3547: checking for memory.h configure:3559: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:3562: $? = 0 configure:3565: test -s conftest.o configure:3568: $? = 0 configure:3578: result: yes configure:3547: checking for strings.h configure:3559: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:3562: $? = 0 configure:3565: test -s conftest.o configure:3568: $? = 0 configure:3578: result: yes configure:3547: checking for inttypes.h configure:3559: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:3562: $? = 0 configure:3565: test -s conftest.o configure:3568: $? = 0 configure:3578: result: yes configure:3547: checking for stdint.h configure:3559: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:3562: $? = 0 configure:3565: test -s conftest.o configure:3568: $? = 0 configure:3578: result: yes configure:3547: checking for unistd.h configure:3559: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:3562: $? = 0 configure:3565: test -s conftest.o configure:3568: $? = 0 configure:3578: result: yes configure:3588: checking for off_t configure:3609: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:3612: $? = 0 configure:3615: test -s conftest.o configure:3618: $? = 0 configure:3628: result: yes configure:3640: checking for size_t configure:3661: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:3664: $? = 0 configure:3667: test -s conftest.o configure:3670: $? = 0 configure:3680: result: yes configure:3694: checking for working alloca.h configure:3712: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:3715: $? = 0 configure:3718: test -s conftest configure:3721: $? = 0 configure:3731: result: yes configure:3741: checking for alloca configure:3779: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:3782: $? = 0 configure:3785: test -s conftest configure:3788: $? = 0 configure:3798: result: yes configure:3982: checking for stdlib.h configure:4017: result: yes configure:3982: checking for unistd.h configure:4017: result: yes configure:4030: checking for getpagesize configure:4067: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4070: $? = 0 configure:4073: test -s conftest configure:4076: $? = 0 configure:4086: result: yes configure:4096: checking for working mmap configure:4232: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4235: $? = 0 configure:4237: ./conftest configure:4240: $? = 0 configure:4252: result: yes configure:4263: checking whether we are using the GNU C Library 2.1 or newer configure:4289: result: yes configure:4318: checking for argz.h configure:4328: i686-pc-linux-gnu-gcc -E -D_GNU_SOURCE conftest.c configure:4334: $? = 0 configure:4353: result: yes configure:4318: checking for limits.h configure:4328: i686-pc-linux-gnu-gcc -E -D_GNU_SOURCE conftest.c configure:4334: $? = 0 configure:4353: result: yes configure:4318: checking for locale.h configure:4328: i686-pc-linux-gnu-gcc -E -D_GNU_SOURCE conftest.c configure:4334: $? = 0 configure:4353: result: yes configure:4318: checking for nl_types.h configure:4328: i686-pc-linux-gnu-gcc -E -D_GNU_SOURCE conftest.c configure:4334: $? = 0 configure:4353: result: yes configure:4318: checking for malloc.h configure:4328: i686-pc-linux-gnu-gcc -E -D_GNU_SOURCE conftest.c configure:4334: $? = 0 configure:4353: result: yes configure:4318: checking for stddef.h configure:4328: i686-pc-linux-gnu-gcc -E -D_GNU_SOURCE conftest.c configure:4334: $? = 0 configure:4353: result: yes configure:4318: checking for stdlib.h configure:4353: result: yes configure:4318: checking for string.h configure:4353: result: yes configure:4318: checking for unistd.h configure:4353: result: yes configure:4318: checking for sys/param.h configure:4328: i686-pc-linux-gnu-gcc -E -D_GNU_SOURCE conftest.c configure:4334: $? = 0 configure:4353: result: yes configure:4368: checking for feof_unlocked configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for fgets_unlocked configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for getcwd configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for getegid configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for geteuid configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for getgid configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for getuid configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for mempcpy configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4384: warning: conflicting types for built-in function 'mempcpy' configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for munmap configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for putenv configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for setenv configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for setlocale configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for stpcpy configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4384: warning: conflicting types for built-in function 'stpcpy' configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for strchr configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4384: warning: conflicting types for built-in function 'strchr' configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for strcasecmp configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for strdup configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4384: warning: conflicting types for built-in function 'strdup' configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for strtoul configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for tsearch configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for __argz_count configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for __argz_stringify configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4368: checking for __argz_next configure:4405: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4408: $? = 0 configure:4411: test -s conftest configure:4414: $? = 0 configure:4424: result: yes configure:4445: checking for iconv configure:4469: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4472: $? = 0 configure:4475: test -s conftest configure:4478: $? = 0 configure:4527: result: yes configure:4535: checking for iconv declaration configure:4566: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4569: $? = 0 configure:4572: test -s conftest.o configure:4575: $? = 0 configure:4588: result: extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); configure:4603: checking for nl_langinfo and CODESET configure:4621: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4624: $? = 0 configure:4627: test -s conftest configure:4630: $? = 0 configure:4641: result: yes configure:4652: checking for LC_MESSAGES configure:4670: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:4673: $? = 0 configure:4676: test -s conftest configure:4679: $? = 0 configure:4689: result: yes configure:4699: checking whether NLS is requested configure:4709: result: no configure:5490: checking if -lm needed for math functions configure:5512: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 /var/tmp/portage/dialog-1.0.20050206/temp/cc6R7xVd.o: In function `main': conftest.c:(.text+0x3e): undefined reference to `sqrt' collect2: ld returned 1 exit status configure:5515: $? = 1 configure: failed program was: #line 5497 "configure" #include "confdefs.h" #include <stdio.h> #include <math.h> int main () { double x = rand(); printf("result = %g\n", sqrt(x)) ; return 0; } configure:5531: result: yes configure:5540: checking if you want to link with dbmalloc for testing configure:5550: result: no configure:5654: checking if you want to link with dmalloc for testing configure:5664: result: no configure:5786: checking if you want to build libraries with libtool configure:5796: result: no configure:5936: checking for multibyte character support configure:5957: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c -lm >&5 configure:5960: $? = 0 configure:5963: test -s conftest configure:5966: $? = 0 configure:6010: result: yes configure:6065: checking for ncursesw header in include-path configure:6101: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:6079:29: ncursesw/curses.h: No such file or directory configure: In function `main': configure:6091: error: `make' undeclared (first use in this function) configure:6091: error: (Each undeclared identifier is reported only once configure:6091: error: for each function it appears in.) configure:6091: error: parse error before "an" configure:6104: $? = 1 configure: failed program was: #line 6077 "configure" #include "confdefs.h" #include <ncursesw/curses.h> int main () { #ifdef NCURSES_VERSION printf("%s\n", NCURSES_VERSION); #else #ifdef __NCURSES_H printf("old\n"); #else make an error #endif #endif ; return 0; } configure:6101: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:6079:30: ncursesw/ncurses.h: No such file or directory configure: In function `main': configure:6091: error: `make' undeclared (first use in this function) configure:6091: error: (Each undeclared identifier is reported only once configure:6091: error: for each function it appears in.) configure:6091: error: parse error before "an" configure:6104: $? = 1 configure: failed program was: #line 6077 "configure" #include "confdefs.h" #include <ncursesw/ncurses.h> int main () { #ifdef NCURSES_VERSION printf("%s\n", NCURSES_VERSION); #else #ifdef __NCURSES_H printf("old\n"); #else make an error #endif #endif ; return 0; } configure:6101: i686-pc-linux-gnu-gcc -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c >&5 configure:6104: $? = 0 configure:6107: test -s conftest.o configure:6110: $? = 0 configure:6125: result: curses.h configure:6427: checking for ncurses version configure:6491: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c -lm >&5 configure:6494: $? = 0 configure:6496: ./conftest configure:6499: $? = 0 configure:6513: result: 5.4.20040208 configure:6525: checking for Gpm_Open in -lgpm configure:6552: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c -lgpm -lm >&5 configure:6555: $? = 0 configure:6558: test -s conftest configure:6561: $? = 0 configure:6572: result: yes configure:6575: checking for initscr in -lgpm configure:6602: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c -lgpm -lm >&5 /var/tmp/portage/dialog-1.0.20050206/temp/ccOiRLfX.o: In function `main': conftest.c:(.text+0xd): undefined reference to `initscr' collect2: ld returned 1 exit status configure:6605: $? = 1 configure: failed program was: #line 6583 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char initscr (); int main () { initscr (); ; return 0; } configure:6622: result: no configure:6703: checking for initscr configure:6740: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c -lgpm -lm >&5 /var/tmp/portage/dialog-1.0.20050206/temp/ccJUpUD5.o: In function `main': conftest.c:(.text+0xe): undefined reference to `initscr' collect2: ld returned 1 exit status configure:6743: $? = 1 configure: failed program was: #line 6709 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char initscr (); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char initscr (); char (*f) (); int main () { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_initscr) || defined (__stub___initscr) choke me #else f = initscr; #endif ; return 0; } configure:6759: result: no configure:6766: checking for initscr in -lncursesw configure:6782: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c -lncursesw -lgpm -lm >&5 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lncursesw collect2: ld returned 1 exit status configure:6785: $? = 1 configure: failed program was: #line 6770 "configure" #include "confdefs.h" #include <curses.h> int main () { initscr() ; return 0; } configure:6800: result: no configure:6860: checking for -lncursesw in /usr/local/lib configure:6876: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c -L/usr/local/lib -lncursesw -lgpm -lm >&5 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lncursesw collect2: ld returned 1 exit status configure:6879: $? = 1 configure: failed program was: #line 6864 "configure" #include "confdefs.h" #include <curses.h> int main () { initscr() ; return 0; } configure:6894: result: no configure:6860: checking for -lncursesw in /usr/lib configure:6876: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE conftest.c -L/usr/lib -lncursesw -lgpm -lm >&5 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lncursesw collect2: ld returned 1 exit status configure:6879: $? = 1 configure: failed program was: #line 6864 "configure" #include "confdefs.h" #include <curses.h> int main () { initscr() ; return 0; } configure:6894: result: no configure:6909: error: Cannot link ncursesw library ## ----------------- ## ## Cache variables. ## ## ----------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_inline=inline ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-march=athlon-xp -O3 -pipe -fomit-frame-pointer' 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=set ac_cv_env_build_alias_value=i686-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i686-pc-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func___argz_count=yes ac_cv_func___argz_next=yes ac_cv_func___argz_stringify=yes ac_cv_func_alloca_works=yes ac_cv_func_feof_unlocked=yes ac_cv_func_fgets_unlocked=yes ac_cv_func_getcwd=yes ac_cv_func_getegid=yes ac_cv_func_geteuid=yes ac_cv_func_getgid=yes ac_cv_func_getpagesize=yes ac_cv_func_getuid=yes ac_cv_func_initscr=no ac_cv_func_mempcpy=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_munmap=yes ac_cv_func_putenv=yes ac_cv_func_setenv=yes ac_cv_func_setlocale=yes ac_cv_func_stpcpy=yes ac_cv_func_strcasecmp=yes ac_cv_func_strchr=yes ac_cv_func_strdup=yes ac_cv_func_strtoul=yes ac_cv_func_tsearch=yes ac_cv_gnu_library_2_1=yes ac_cv_header_argz_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_limits_h=yes ac_cv_header_locale_h=yes ac_cv_header_malloc_h=yes ac_cv_header_memory_h=yes ac_cv_header_nl_types_h=yes ac_cv_header_stdc=yes ac_cv_header_stddef_h=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_param_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_lib_gpm_Gpm_Open=yes ac_cv_lib_gpm_initscr=no ac_cv_objext=o ac_cv_path_install='/bin/install -c' ac_cv_prog_AR=i686-pc-linux-gnu-ar ac_cv_prog_CC=i686-pc-linux-gnu-gcc ac_cv_prog_CPP='i686-pc-linux-gnu-gcc -E' ac_cv_prog_MAKE_LOWER_TAGS=no ac_cv_prog_MAKE_UPPER_TAGS=no ac_cv_prog_RANLIB=i686-pc-linux-gnu-ranlib ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_gcc_traditional=no ac_cv_prog_make_make_set=yes ac_cv_type_off_t=yes ac_cv_type_size_t=yes ac_cv_working_alloca_h=yes am_cv_func_iconv=yes am_cv_langinfo_codeset=yes am_cv_lib_iconv=no am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);' am_cv_proto_iconv_arg1= am_cv_val_LC_MESSAGES=yes cf_cv_curses_dir=no cf_cv_gnu_source=yes cf_cv_have_lib_ncursesw=no cf_cv_makeflags= cf_cv_mixedcase=yes cf_cv_ncurses_h=curses.h cf_cv_ncurses_header=curses.h cf_cv_ncurses_version=5.4.20040208 cf_cv_need_libm=yes cf_cv_system_name=linux-gnu cf_cv_utf8_lib=yes nls_cv_header_intl= nls_cv_header_libgt= ## ------------ ## ## confdefs.h. ## ## ------------ ## #define PACKAGE "dialog" #define DIALOG_VERSION "1.0" #define DIALOG_PATCHDATE 20050206 #define MIXEDCASE_FILENAMES 1 #define SYSTEM_NAME "linux-gnu" #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_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_ALLOCA 1 #define HAVE_STDLIB_H 1 #define HAVE_UNISTD_H 1 #define HAVE_GETPAGESIZE 1 #define HAVE_MMAP 1 #define HAVE_ARGZ_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LOCALE_H 1 #define HAVE_NL_TYPES_H 1 #define HAVE_MALLOC_H 1 #define HAVE_STDDEF_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_FEOF_UNLOCKED 1 #define HAVE_FGETS_UNLOCKED 1 #define HAVE_GETCWD 1 #define HAVE_GETEGID 1 #define HAVE_GETEUID 1 #define HAVE_GETGID 1 #define HAVE_GETUID 1 #define HAVE_MEMPCPY 1 #define HAVE_MUNMAP 1 #define HAVE_PUTENV 1 #define HAVE_SETENV 1 #define HAVE_SETLOCALE 1 #define HAVE_STPCPY 1 #define HAVE_STRCHR 1 #define HAVE_STRCASECMP 1 #define HAVE_STRDUP 1 #define HAVE_STRTOUL 1 #define HAVE_TSEARCH 1 #define HAVE___ARGZ_COUNT 1 #define HAVE___ARGZ_STRINGIFY 1 #define HAVE___ARGZ_NEXT 1 #define HAVE_ICONV 1 #define ICONV_CONST #define HAVE_LANGINFO_CODESET 1 #define HAVE_LC_MESSAGES 1 #define NCURSES 1 #define NCURSES 1 configure: exit 1 edgar ~ # emerge --info Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 i686) ================================================================= System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib accessibility acpi aim alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bonobo bzip2 calendar cdb cdinstall cdparanoia cdr clamav cli crypt ctype cups curl curlwrappers dba dga dio doc dri dts dv dvd dvdr dvdread eds elibc_glibc emacs emacs-w3 emboss encode esd ethereal examples exif expat fam fastbuild ffmpeg flac flash foomaticdb force-cgi-redirect fortran ftp gb gcj gd gdbm gif glut gmp gnome gnustep gnutls gpm gstreamer gtk gtk2 gtkhtml guile hal icq idn ieee1394 imlib ipv6 jabber jack java javascript joystick jpeg jpeg2k kde kernel_linux lcms ldap leim lesstif libcaca libg++ libgda libwww lm_sensors mad mcal memlimit mikmod mime ming mmap mmx mmxext mng mono motif mozilla mp3 mpeg mpi msession msn mysql mysqli ncurses nls nocd nptl nsplugin odbc offensive ogg openal opengl oscar oss pam pcre pda pdf pdflib perl png posix ppds profile python qt quicktime readline ruby samba sasl sdl session sharedmem simplexml slang slp sndfile snmp soap sockets source speex spell spl ssl svg svga symlink sysvipc szip tcltk tcpd tetex threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd videos vorbis win32codecs wmf wxwindows x86 xface xine xml xml2 xmms xosd xpm xprint xsl xv xvid yahoo zlib" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY NOTE: Emerge says that my ncurses package is up to date, so why doesn't it include the include files? Is the current package lacking those files?
I'm getting a LOT of packages that fail due to this ncursesw error, not just the alsa utils. Clearly, there's a problem with the current ncurses package.
*** This bug has been marked as a duplicate of 67524 ***