Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100535 - dialog-1.0-20050206 configure script can't find libncursesw on AMD64
Summary: dialog-1.0-20050206 configure script can't find libncursesw on AMD64
Status: RESOLVED DUPLICATE of bug 67524
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-27 17:40 UTC by Scott
Modified: 2005-07-27 18:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott 2005-07-27 17:40:16 UTC
Dialog configure can't find libncursesw.so on AMD64 systems.  It appears to be
looking in /usr/local/lib, /lib, and /opt/lib before failing.  On AMD64
libncursesw is part of emul-linux-x86-baselibs and is located in
/emul/linux/x86/lib.



Reproducible: Always
Steps to Reproduce:
1. emerge dialog

Here's the config.log file:
============================
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=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/usr/lib --build=x86_64-pc-linux-gnu
--with-ncursesw

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

hostname = guardian
uname -m = x86_64
uname -r = 2.6.9-gentoo-r6
uname -s = Linux
uname -v = #1 Sat Apr 16 20:54:27 CDT 2005

/usr/bin/uname -p = AMD Athlon(tm) 64 Processor 3500+
/bin/uname -X     = unknown

/bin/arch              = x86_64
/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/athena/sbin:/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3:/opt/blackdown-jdk-1.4.2.02/bin:/opt/blackdown-jdk-1.4.2.02/jre/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin:/usr/kde/3.3/sbin:/usr/kde/3.3/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 x86_64-pc-linux-gnu-gcc
configure:1089: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:1097: result: x86_64-pc-linux-gnu-gcc
configure:1360: checking for C compiler version
configure:1363: x86_64-pc-linux-gnu-gcc --version </dev/null >&5
x86_64-pc-linux-gnu-gcc (GCC) 3.4.3 20041125 (Gentoo Linux 3.4.3-r1,
ssp-3.4.3-0, pie-8.7.7)
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: x86_64-pc-linux-gnu-gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/specs
Configured with: /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/configure
--enable-version-specific-runtime-libs --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3
--host=x86_64-pc-linux-gnu --disable-altivec --enable-nls
--without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu
--with-system-zlib --disable-checking --disable-werror
--disable-libunwind-exceptions --enable-shared --enable-threads=posix
--enable-multilib --disable-libgcj --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)
configure:1371: $? = 0
configure:1373: x86_64-pc-linux-gnu-gcc -V </dev/null >&5
x86_64-pc-linux-gnu-gcc: `-V' option must have argument
configure:1376: $? = 1
configure:1396: checking for C compiler default output
configure:1399: x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe   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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe  
conftest.c  >&5
configure:1477: $? = 0
configure:1499: result: 
configure:1505: checking for object suffix
configure:1523: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe  conftest.c >&5
configure:1526: $? = 0
configure:1545: result: o
configure:1549: checking whether we are using the GNU C compiler
configure:1570: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe  conftest.c >&5
configure:1573: $? = 0
configure:1576: test -s conftest.o
configure:1579: $? = 0
configure:1591: result: yes
configure:1597: checking whether x86_64-pc-linux-gnu-gcc accepts -g
configure:1615: x86_64-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe  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: x86_64-pc-linux-gnu-gcc -E  conftest.c
configure:1799: $? = 0
configure:1826: x86_64-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: x86_64-pc-linux-gnu-gcc -E
configure:1884: x86_64-pc-linux-gnu-gcc -E  conftest.c
configure:1890: $? = 0
configure:1917: x86_64-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 x86_64-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 x86_64-pc-linux-gnu-ranlib
configure:2052: found /usr/bin/x86_64-pc-linux-gnu-ranlib
configure:2060: result: x86_64-pc-linux-gnu-ranlib
configure:2145: checking for a BSD compatible install
configure:2194: result: /bin/install -c
configure:2208: checking for x86_64-pc-linux-gnu-ar
configure:2223: found /usr/bin/x86_64-pc-linux-gnu-ar
configure:2231: result: x86_64-pc-linux-gnu-ar
configure:2279: checking for POSIXized ISC
configure:2298: result: no
configure:2303: checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C
configure:2360: x86_64-pc-linux-gnu-gcc  -c -march=athlon64 -O2 -pipe 
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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe  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:2573: found /usr/bin/ctags
configure:2582: result: yes
configure:2592: checking for etags
configure:2607: found /usr/bin/etags
configure:2616: result: yes
configure:2639: checking if you want to see long compiling messages
configure:2673: result: yes
configure:2682: checking build system type
configure:2700: result: x86_64-pc-linux-gnu
configure:2708: checking host system type
configure:2722: result: x86_64-pc-linux-gnu
configure:2747: result: Configuring for linux-gnu
configure:2786: checking if this is really Intel compiler
configure:2808: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe -no-gcc 
conftest.c >&5
x86_64-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe  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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe 
-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 x86_64-pc-linux-gnu-gcc
configure:3195: result: 86
configure:3351: checking for ANSI C header files
configure:3365: x86_64-pc-linux-gnu-gcc -E  -D_GNU_SOURCE conftest.c
configure:3371: $? = 0
configure:3458: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-D_GNU_SOURCE  conftest.c  >&5
configure: In function `main':
configure:4238: warning: cast from pointer to integer of different size
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: x86_64-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: x86_64-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: x86_64-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: x86_64-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: x86_64-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: x86_64-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: x86_64-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-D_GNU_SOURCE  conftest.c  >&5
/var/tmp/portage/dialog-1.0.20050206/temp/ccd7vQgp.o(.text+0x36): In function
`main':
: 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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -c -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-D_GNU_SOURCE  conftest.c -lgpm   -lm >&5
/var/tmp/portage/dialog-1.0.20050206/temp/cco6CrtU.o(.text+0x7): In function `main':
: 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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-D_GNU_SOURCE  conftest.c -lgpm  -lm >&5
/var/tmp/portage/dialog-1.0.20050206/temp/cc9L3oIY.o(.text+0x9): In function `main':
: 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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-D_GNU_SOURCE  conftest.c -lncursesw -lgpm  -lm >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-D_GNU_SOURCE  conftest.c -L/usr/local/lib -lncursesw -lgpm  -lm >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-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: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-D_GNU_SOURCE  conftest.c -L/usr/lib -lncursesw -lgpm  -lm >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-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 /opt/lib
configure:6876: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe 
-D_GNU_SOURCE  conftest.c -L/opt/lib -lncursesw -lgpm  -lm >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-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=x86_64-pc-linux-gnu
ac_cv_build_alias=x86_64-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=athlon64 -O2 -pipe'
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=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-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=x86_64-pc-linux-gnu
ac_cv_host_alias=x86_64-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=x86_64-pc-linux-gnu-ar
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_prog_CPP='x86_64-pc-linux-gnu-gcc -E'
ac_cv_prog_MAKE_LOWER_TAGS=yes
ac_cv_prog_MAKE_UPPER_TAGS=yes
ac_cv_prog_RANLIB=x86_64-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


Actual Results:  
Error line 485 exit code 0

Expected Results:  
Emerged dialog linking with libncursesw

Gentoo Base System version 1.6.12
Portage 2.0.51.22-r2 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.5-r0,
2.6.9-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3500+
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.9
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.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
http://gentoo.chem.wisc.edu/gentoo/ http://mirrors.tds.net/gentoo
http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.mirrored.ca
http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acl aim alsa apache2 apm arts avi berkdb bitmap-fonts bonobo
bzip2 cdr crypt cups curl curlwrappers doc dvb dvd dvdr eds encode esd ethereal
evo fam fbcon flac foomaticdb fortran ftp gd gdbm gif gnome gphoto2 gpm gps
gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib ipv6 jabber java joystick
jpeg junit kde kerberos krb4 libgda libwww lzw lzw-tiff mad maildir mbox
memlimit mikmod mime mng motif mozilla mp3 mpeg msql mysql mysqli ncurses nls
odbc offensive ogg oggvorbis openal opengl pam pcre pda pdflib perl plotutils
png ppds prelude python qt quicktime readline samba sdl sharedmem slang soap
sockets socks5 sox speex spell spl ssl tcltk tcpd tetex tiff truetype
truetype-fonts type1-fonts unicode usb userlocales videos vorbis xine xinerama
xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-27 18:03:29 UTC

*** This bug has been marked as a duplicate of 67524 ***