I am reinstalling gentoo on a Dell inspiron 6400 laptop
I am (again) using lvm2.

I just built the kernel and then (following the lvm2 guide) tried

emerge lvm2

This required a build of help2man, which failed with

>>> Configuring source in 
>>> /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu 
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info 
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib 
--libdir=/usr/lib64 --enable-nls
checking for perl... perl
checking for module Locale::gettext... yes
checking for msgfmt... /usr/bin/msgfmt
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for library containing dlsym... no
checking for library containing bindtextdomain... none required
configure: error: dlsym() required

!!! Please attach the following file when seeking support:
!!! 
/mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2/config.log


config.log is below.

Any help would be appreciated.
thanks,
allan

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.65.  Invocation command line was

  $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu 
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info 
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib 
--libdir=/usr/lib64 --enable-nls

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

hostname = livecd
uname -m = x86_64
uname -r = 3.0.6-gentoo
uname -s = Linux
uname -v = #1 SMP Thu Nov 3 12:50:42 UTC 2011

/usr/bin/uname -p = Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/lib64/portage/bin/ebuild-helpers
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3


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

configure:1761: checking for perl
configure:1766: ...version 5.008 required
configure:1775: trying perl
found version 5.012
configure:1784: result: perl
configure:1794: checking for module Locale::gettext
configure:1806: result: yes
configure:1811: checking for msgfmt
configure:1829: found /usr/bin/msgfmt
configure:1841: result: /usr/bin/msgfmt
configure:1858: checking for x86_64-pc-linux-gnu-gcc
configure:1874: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:1885: result: x86_64-pc-linux-gnu-gcc
configure:2154: checking for C compiler version
configure:2163: x86_64-pc-linux-gnu-gcc --version >&5
x86_64-pc-linux-gnu-gcc (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) 4.5.3
Copyright (C) 2010 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:2174: $? = 0
configure:2163: x86_64-pc-linux-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/mnt/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3/../../../libexec/gcc/x86_64-pc-linux-gnu/4.5.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: 
/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/configure --prefix=/usr 
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3 
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include 
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3 
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man 
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info 
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4 
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec 
--disable-fixed-point --without-ppl --without-cloog --disable-lto --enable-nls 
--without-included-gettext --with-system-zlib --disable-werror 
--enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp 
--enable-libgomp 
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/python 
--enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran 
--enable-shared --enable-threads=posix --enable-__cxa_atexit 
--enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ 
--with-pkgversion='Gentoo 4.5.3-r1 p1.0, pie-0.4.5'
Thread model: posix
gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) 
configure:2174: $? = 0
configure:2163: x86_64-pc-linux-gnu-gcc -V >&5
x86_64-pc-linux-gnu-gcc: '-V' option must have argument
configure:2174: $? = 1
configure:2163: x86_64-pc-linux-gnu-gcc -qversion >&5
x86_64-pc-linux-gnu-gcc: unrecognized option '-qversion'
x86_64-pc-linux-gnu-gcc: no input files
configure:2174: $? = 1
configure:2194: checking whether the C compiler works
configure:2216: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe  -Wl,-O1 
-Wl,--as-needed conftest.c  >&5
configure:2220: $? = 0
configure:2269: result: yes
configure:2272: checking for C compiler default output file name
configure:2274: result: a.out
configure:2280: checking for suffix of executables
configure:2287: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe  
-Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:2291: $? = 0
configure:2313: result: 
configure:2335: checking whether we are cross compiling
configure:2343: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe  
-Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:2347: $? = 0
configure:2354: ./conftest
configure:2358: $? = 0
configure:2373: result: no
configure:2378: checking for suffix of object files
configure:2400: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe  conftest.c 
>&5
configure:2404: $? = 0
configure:2425: result: o
configure:2429: checking whether we are using the GNU C compiler
configure:2448: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe  conftest.c 
>&5
configure:2448: $? = 0
configure:2457: result: yes
configure:2466: checking whether x86_64-pc-linux-gnu-gcc accepts -g
configure:2486: x86_64-pc-linux-gnu-gcc -c -g  conftest.c >&5
configure:2486: $? = 0
configure:2527: result: yes
configure:2544: checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89
configure:2608: x86_64-pc-linux-gnu-gcc  -c -march=native -O2 -pipe  conftest.c 
>&5
configure:2608: $? = 0
configure:2621: result: none needed
configure:2642: checking for library containing dlsym
configure:2673: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe  
-Wl,-O1 -Wl,--as-needed conftest.c  >&5
/mnt/var/tmp/portage/sys-apps/help2man-1.38.2/temp/cckdwBGs.o: In function 
`main':
conftest.c:(.text+0x7): undefined reference to `dlsym'
collect2: ld returned 1 exit status
configure:2673: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlsym ();
| int
| main ()
| {
| return dlsym ();
|   ;
|   return 0;
| }
configure:2673: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe  
-Wl,-O1 -Wl,--as-needed conftest.c -ldl   >&5
/mnt/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3/../../../lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libdl.a(dlsym.o):
 In function `dlsym':
(.text+0x5): undefined reference to `__dlsym'
collect2: ld returned 1 exit status
configure:2673: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlsym ();
| int
| main ()
| {
| return dlsym ();
|   ;
|   return 0;
| }
configure:2690: result: no
configure:2698: checking for library containing bindtextdomain
configure:2729: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe  
-Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:2729: $? = 0
configure:2746: result: none required
configure:2784: error: dlsym() required

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

ac_cv_c_compiler_gnu=yes
ac_cv_enable_nls=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=native -O2 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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_module_Locale__gettext=yes
ac_cv_objext=o
ac_cv_path_MSGFMT=/usr/bin/msgfmt
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_prog_PERL=perl
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_search_bindtextdomain='none required'
ac_cv_search_dlsym=no

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

CC='x86_64-pc-linux-gnu-gcc'
CFLAGS='-march=native -O2 -pipe'
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
INSTALL_DATA=''
INSTALL_INFO=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS='-Wl,-O1 -Wl,--as-needed'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO=''
MSGFMT='/usr/bin/msgfmt'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PERL='perl'
SHELL='/bin/sh'
ac_ct_CC=''
bindir='${exec_prefix}/bin'
build_alias='x86_64-pc-linux-gnu'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
extra_extract_args=''
extra_make_all=''
extra_make_install=''
host_alias='x86_64-pc-linux-gnu'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

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

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""

configure: exit 1

Reply via email to