Gentoo Archives: gentoo-user

From: Allan Gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: [gentoo-user] trouble installing help2man on new gentoo box
Date: Wed, 16 Nov 2011 20:16:56
Message-Id: yu97h2z7rj0.fsf@nyu.edu
1 I am reinstalling gentoo on a Dell inspiron 6400 laptop
2 I am (again) using lvm2.
3
4 I just built the kernel and then (following the lvm2 guide) tried
5
6 emerge lvm2
7
8 This required a build of help2man, which failed with
9
10 >>> Configuring source in /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2 ...
11 ./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
12 checking for perl... perl
13 checking for module Locale::gettext... yes
14 checking for msgfmt... /usr/bin/msgfmt
15 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
16 checking whether the C compiler works... yes
17 checking for C compiler default output file name... a.out
18 checking for suffix of executables...
19 checking whether we are cross compiling... no
20 checking for suffix of object files... o
21 checking whether we are using the GNU C compiler... yes
22 checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
23 checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
24 checking for library containing dlsym... no
25 checking for library containing bindtextdomain... none required
26 configure: error: dlsym() required
27
28 !!! Please attach the following file when seeking support:
29 !!! /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2/config.log
30
31
32 config.log is below.
33
34 Any help would be appreciated.
35 thanks,
36 allan
37
38 This file contains any messages produced by compilers while
39 running configure, to aid debugging if configure makes a mistake.
40
41 It was created by configure, which was
42 generated by GNU Autoconf 2.65. Invocation command line was
43
44 $ ./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
45
46 ## --------- ##
47 ## Platform. ##
48 ## --------- ##
49
50 hostname = livecd
51 uname -m = x86_64
52 uname -r = 3.0.6-gentoo
53 uname -s = Linux
54 uname -v = #1 SMP Thu Nov 3 12:50:42 UTC 2011
55
56 /usr/bin/uname -p = Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
57 /bin/uname -X = unknown
58
59 /bin/arch = unknown
60 /usr/bin/arch -k = unknown
61 /usr/convex/getsysinfo = unknown
62 /usr/bin/hostinfo = unknown
63 /bin/machine = unknown
64 /usr/bin/oslevel = unknown
65 /bin/universe = unknown
66
67 PATH: /usr/lib64/portage/bin/ebuild-helpers
68 PATH: /usr/local/sbin
69 PATH: /usr/local/bin
70 PATH: /usr/sbin
71 PATH: /usr/bin
72 PATH: /sbin
73 PATH: /bin
74 PATH: /opt/bin
75 PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3
76
77
78 ## ----------- ##
79 ## Core tests. ##
80 ## ----------- ##
81
82 configure:1761: checking for perl
83 configure:1766: ...version 5.008 required
84 configure:1775: trying perl
85 found version 5.012
86 configure:1784: result: perl
87 configure:1794: checking for module Locale::gettext
88 configure:1806: result: yes
89 configure:1811: checking for msgfmt
90 configure:1829: found /usr/bin/msgfmt
91 configure:1841: result: /usr/bin/msgfmt
92 configure:1858: checking for x86_64-pc-linux-gnu-gcc
93 configure:1874: found /usr/bin/x86_64-pc-linux-gnu-gcc
94 configure:1885: result: x86_64-pc-linux-gnu-gcc
95 configure:2154: checking for C compiler version
96 configure:2163: x86_64-pc-linux-gnu-gcc --version >&5
97 x86_64-pc-linux-gnu-gcc (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) 4.5.3
98 Copyright (C) 2010 Free Software Foundation, Inc.
99 This is free software; see the source for copying conditions. There is NO
100 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
101
102 configure:2174: $? = 0
103 configure:2163: x86_64-pc-linux-gnu-gcc -v >&5
104 Using built-in specs.
105 COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3/x86_64-pc-linux-gnu-gcc
106 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
107 Target: x86_64-pc-linux-gnu
108 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'
109 Thread model: posix
110 gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5)
111 configure:2174: $? = 0
112 configure:2163: x86_64-pc-linux-gnu-gcc -V >&5
113 x86_64-pc-linux-gnu-gcc: '-V' option must have argument
114 configure:2174: $? = 1
115 configure:2163: x86_64-pc-linux-gnu-gcc -qversion >&5
116 x86_64-pc-linux-gnu-gcc: unrecognized option '-qversion'
117 x86_64-pc-linux-gnu-gcc: no input files
118 configure:2174: $? = 1
119 configure:2194: checking whether the C compiler works
120 configure:2216: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5
121 configure:2220: $? = 0
122 configure:2269: result: yes
123 configure:2272: checking for C compiler default output file name
124 configure:2274: result: a.out
125 configure:2280: checking for suffix of executables
126 configure:2287: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5
127 configure:2291: $? = 0
128 configure:2313: result:
129 configure:2335: checking whether we are cross compiling
130 configure:2343: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5
131 configure:2347: $? = 0
132 configure:2354: ./conftest
133 configure:2358: $? = 0
134 configure:2373: result: no
135 configure:2378: checking for suffix of object files
136 configure:2400: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5
137 configure:2404: $? = 0
138 configure:2425: result: o
139 configure:2429: checking whether we are using the GNU C compiler
140 configure:2448: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5
141 configure:2448: $? = 0
142 configure:2457: result: yes
143 configure:2466: checking whether x86_64-pc-linux-gnu-gcc accepts -g
144 configure:2486: x86_64-pc-linux-gnu-gcc -c -g conftest.c >&5
145 configure:2486: $? = 0
146 configure:2527: result: yes
147 configure:2544: checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89
148 configure:2608: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5
149 configure:2608: $? = 0
150 configure:2621: result: none needed
151 configure:2642: checking for library containing dlsym
152 configure:2673: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5
153 /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/temp/cckdwBGs.o: In function `main':
154 conftest.c:(.text+0x7): undefined reference to `dlsym'
155 collect2: ld returned 1 exit status
156 configure:2673: $? = 1
157 configure: failed program was:
158 | /* confdefs.h */
159 | #define PACKAGE_NAME ""
160 | #define PACKAGE_TARNAME ""
161 | #define PACKAGE_VERSION ""
162 | #define PACKAGE_STRING ""
163 | #define PACKAGE_BUGREPORT ""
164 | #define PACKAGE_URL ""
165 | /* end confdefs.h. */
166 |
167 | /* Override any GCC internal prototype to avoid an error.
168 | Use char because int might match the return type of a GCC
169 | builtin and then its argument prototype would still apply. */
170 | #ifdef __cplusplus
171 | extern "C"
172 | #endif
173 | char dlsym ();
174 | int
175 | main ()
176 | {
177 | return dlsym ();
178 | ;
179 | return 0;
180 | }
181 configure:2673: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl >&5
182 /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':
183 (.text+0x5): undefined reference to `__dlsym'
184 collect2: ld returned 1 exit status
185 configure:2673: $? = 1
186 configure: failed program was:
187 | /* confdefs.h */
188 | #define PACKAGE_NAME ""
189 | #define PACKAGE_TARNAME ""
190 | #define PACKAGE_VERSION ""
191 | #define PACKAGE_STRING ""
192 | #define PACKAGE_BUGREPORT ""
193 | #define PACKAGE_URL ""
194 | /* end confdefs.h. */
195 |
196 | /* Override any GCC internal prototype to avoid an error.
197 | Use char because int might match the return type of a GCC
198 | builtin and then its argument prototype would still apply. */
199 | #ifdef __cplusplus
200 | extern "C"
201 | #endif
202 | char dlsym ();
203 | int
204 | main ()
205 | {
206 | return dlsym ();
207 | ;
208 | return 0;
209 | }
210 configure:2690: result: no
211 configure:2698: checking for library containing bindtextdomain
212 configure:2729: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5
213 configure:2729: $? = 0
214 configure:2746: result: none required
215 configure:2784: error: dlsym() required
216
217 ## ---------------- ##
218 ## Cache variables. ##
219 ## ---------------- ##
220
221 ac_cv_c_compiler_gnu=yes
222 ac_cv_enable_nls=yes
223 ac_cv_env_CC_set=
224 ac_cv_env_CC_value=
225 ac_cv_env_CFLAGS_set=set
226 ac_cv_env_CFLAGS_value='-march=native -O2 -pipe'
227 ac_cv_env_CPPFLAGS_set=
228 ac_cv_env_CPPFLAGS_value=
229 ac_cv_env_LDFLAGS_set=set
230 ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed'
231 ac_cv_env_LIBS_set=
232 ac_cv_env_LIBS_value=
233 ac_cv_env_build_alias_set=set
234 ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
235 ac_cv_env_host_alias_set=set
236 ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
237 ac_cv_env_target_alias_set=
238 ac_cv_env_target_alias_value=
239 ac_cv_module_Locale__gettext=yes
240 ac_cv_objext=o
241 ac_cv_path_MSGFMT=/usr/bin/msgfmt
242 ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
243 ac_cv_prog_PERL=perl
244 ac_cv_prog_cc_c89=
245 ac_cv_prog_cc_g=yes
246 ac_cv_search_bindtextdomain='none required'
247 ac_cv_search_dlsym=no
248
249 ## ----------------- ##
250 ## Output variables. ##
251 ## ----------------- ##
252
253 CC='x86_64-pc-linux-gnu-gcc'
254 CFLAGS='-march=native -O2 -pipe'
255 CPPFLAGS=''
256 DEFS=''
257 ECHO_C=''
258 ECHO_N='-n'
259 ECHO_T=''
260 EXEEXT=''
261 INSTALL_DATA=''
262 INSTALL_INFO=''
263 INSTALL_PROGRAM=''
264 INSTALL_SCRIPT=''
265 LDFLAGS='-Wl,-O1 -Wl,--as-needed'
266 LIBOBJS=''
267 LIBS=''
268 LTLIBOBJS=''
269 MAKEINFO=''
270 MSGFMT='/usr/bin/msgfmt'
271 OBJEXT='o'
272 PACKAGE_BUGREPORT=''
273 PACKAGE_NAME=''
274 PACKAGE_STRING=''
275 PACKAGE_TARNAME=''
276 PACKAGE_URL=''
277 PACKAGE_VERSION=''
278 PATH_SEPARATOR=':'
279 PERL='perl'
280 SHELL='/bin/sh'
281 ac_ct_CC=''
282 bindir='${exec_prefix}/bin'
283 build_alias='x86_64-pc-linux-gnu'
284 datadir='/usr/share'
285 datarootdir='${prefix}/share'
286 docdir='${datarootdir}/doc/${PACKAGE}'
287 dvidir='${docdir}'
288 exec_prefix='NONE'
289 extra_extract_args=''
290 extra_make_all=''
291 extra_make_install=''
292 host_alias='x86_64-pc-linux-gnu'
293 htmldir='${docdir}'
294 includedir='${prefix}/include'
295 infodir='/usr/share/info'
296 libdir='/usr/lib64'
297 libexecdir='${exec_prefix}/libexec'
298 localedir='${datarootdir}/locale'
299 localstatedir='/var/lib'
300 mandir='/usr/share/man'
301 oldincludedir='/usr/include'
302 pdfdir='${docdir}'
303 prefix='/usr'
304 program_transform_name='s,x,x,'
305 psdir='${docdir}'
306 sbindir='${exec_prefix}/sbin'
307 sharedstatedir='${prefix}/com'
308 sysconfdir='/etc'
309 target_alias=''
310
311 ## ----------- ##
312 ## confdefs.h. ##
313 ## ----------- ##
314
315 /* confdefs.h */
316 #define PACKAGE_NAME ""
317 #define PACKAGE_TARNAME ""
318 #define PACKAGE_VERSION ""
319 #define PACKAGE_STRING ""
320 #define PACKAGE_BUGREPORT ""
321 #define PACKAGE_URL ""
322
323 configure: exit 1

Replies