Results 1 to 1 of 1
I saw a similar problem to mine, but I could not follow it. When I try an emerge --update --deep --with-deps=y --newuse world I get the following message when I
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-21-2012 #1Linux Newbie
- Join Date
- Aug 2009
- Posts
- 156
Inablity to emerge help2man prevents world update
I saw a similar problem to mine, but I could not follow it. When I try an emerge --update --deep --with-deps=y --newuse world I get the following message when I
cat /var/tmp/portage/sys-apps/help2man-1.40.5/work/help2man-1.40.5/config.log
I copied this from the above which makes me think I have the wrong perl version.Code: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.68. Invocation command line was $ ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-nls ## --------- ## ## Platform. ## ## --------- ## hostname = frank uname -m = i686 uname -r = 3.0.6-gentoo uname -s = Linux uname -v = #5 SMP Thu Dec 29 01:47:55 PST 2011 /usr/bin/uname -p = Intel(R) Pentium(R) 4 CPU 2.60GHz /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/lib/portage/bin/ebuild-helpers/4 PATH: /usr/lib/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/i686-pc-linux-gnu/gcc-bin/4.5.3 ## ----------- ## ## Core tests. ## ## ----------- ## configure:1771: checking for perl configure:1776: ...version 5.008 required configure:1785: trying perl found version 5.012 configure:1794: result: perl configure:1804: checking for module Locale::gettext Can't locate Locale/gettext.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.12.4/i686-linux-debug /usr/lib/perl5/site_perl/5.12.4 /usr/lib/perl5/vendor_perl/5.12.4/i686-linux-debug /usr/lib/perl5/vendor_perl/5.12.4 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.12.4/i686-linux-debug /usr/lib/perl5/5.12.4 /usr/local/lib/site_perl .). BEGIN failed--compilation aborted. configure:1816: result: no configure:1821: checking for msgfmt configure:1839: found /usr/bin/msgfmt configure:1851: result: /usr/bin/msgfmt configure:1868: checking for i686-pc-linux-gnu-gcc configure:1884: found /usr/bin/i686-pc-linux-gnu-gcc configure:1895: result: i686-pc-linux-gnu-gcc configure:2164: checking for C compiler version configure:2173: i686-pc-linux-gnu-gcc --version >&5 i686-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:2184: $? = 0 configure:2173: i686-pc-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/i686-pc-linux-gnu/gcc-bin/4.5.3/i686-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-linux-gnu/4.5.3/lto-wrapper Target: i686-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/i686-pc-linux-gnu/gcc-bin/4.5.3 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.5.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.5.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.5.3/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-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 --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/i686-pc-linux-gnu/4.5.3/python --enable-checking=release --disable-libgcj --with-arch=i686 --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --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:2184: $? = 0 configure:2173: i686-pc-linux-gnu-gcc -V >&5 i686-pc-linux-gnu-gcc: '-V' option must have argument configure:2184: $? = 1 configure:2173: i686-pc-linux-gnu-gcc -qversion >&5 i686-pc-linux-gnu-gcc: unrecognized option '-qversion' i686-pc-linux-gnu-gcc: no input files configure:2184: $? = 1 configure:2204: checking whether the C compiler works configure:2226: i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:2230: $? = 0 configure:2278: result: yes configure:2281: checking for C compiler default output file name configure:2283: result: a.out configure:2289: checking for suffix of executables configure:2296: i686-pc-linux-gnu-gcc -o conftest -O2 -march=i686 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:2300: $? = 0 configure:2322: result: configure:2344: checking whether we are cross compiling configure:2352: i686-pc-linux-gnu-gcc -o conftest -O2 -march=i686 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:2356: $? = 0 configure:2363: ./conftest configure:2367: $? = 0 configure:2382: result: no configure:2387: checking for suffix of object files configure:2409: i686-pc-linux-gnu-gcc -c -O2 -march=i686 -pipe conftest.c >&5 configure:2413: $? = 0 configure:2434: result: o configure:2438: checking whether we are using the GNU C compiler configure:2457: i686-pc-linux-gnu-gcc -c -O2 -march=i686 -pipe conftest.c >&5 configure:2457: $? = 0 configure:2466: result: yes configure:2475: checking whether i686-pc-linux-gnu-gcc accepts -g configure:2495: i686-pc-linux-gnu-gcc -c -g conftest.c >&5 configure:2495: $? = 0 configure:2536: result: yes configure:2553: checking for i686-pc-linux-gnu-gcc option to accept ISO C89 configure:2617: i686-pc-linux-gnu-gcc -c -O2 -march=i686 -pipe conftest.c >&5 configure:2617: $? = 0 configure:2630: result: none needed configure:2651: checking for library containing dlsym configure:2682: i686-pc-linux-gnu-gcc -o conftest -O2 -march=i686 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 /var/tmp/portage/sys-apps/help2man-1.40.5/temp/ccQ5XL29.o: In function `main': conftest.c:(.text+0x7): undefined reference to `dlsym' collect2: ld returned 1 exit status configure:2682: $? = 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:2682: i686-pc-linux-gnu-gcc -o conftest -O2 -march=i686 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl >&5 configure:2682: $? = 0 configure:2699: result: -ldl configure:2707: checking for library containing bindtextdomain configure:2738: i686-pc-linux-gnu-gcc -o conftest -O2 -march=i686 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl >&5 configure:2738: $? = 0 configure:2755: result: none required configure:2788: error: perl module Locale::gettext 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='-O2 -march=i686 -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=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_module_Locale__gettext=no ac_cv_objext=o ac_cv_path_MSGFMT=/usr/bin/msgfmt ac_cv_prog_CC=i686-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=-ldl ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='i686-pc-linux-gnu-gcc' CFLAGS='-O2 -march=i686 -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='-ldl ' 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='i686-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='i686-pc-linux-gnu' htmldir='${docdir}' includedir='${prefix}/include' infodir='/usr/share/info' libdir='${exec_prefix}/lib' 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
Am I on the right track?Code:configure:1771: checking for perl configure:1776: ...version 5.008 required configure:1785: trying perl found version 5.012 configure:1794: result: perl configure:1804: checking for module Locale::gettext
Solved. This link helped me solved the problem, though the different comments had me confused or reluctant to try any of the suggestions. Here is the link
I first reemergd gettext and than followed up with emerging help2man. Update is presently updating.Code:http://forums.gentoo.org/viewtopic-t-313901.html
Last edited by frank56; 01-22-2012 at 01:48 AM. Reason: Solved



