Code: Select all
emerge -e systemCode: Select all
scripts/bootstrap.shCode: Select all
>>> Emerging (21 of 131) dev-perl/Locale-gettext-1.05 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking gettext-1.05.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking gettext-1.05.tar.gz to /var/tmp/portage/Locale-gettext-1.05/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/Locale-gettext-1.05/work/gettext-1.05 ...
* Using ExtUtils::MakeMaker
checking for gettext... yes
checking for dgettext... yes
checking for ngettext... yes
checking for bind_textdomain_codeset... yes
Error: Unable to locate installed Perl libraries or Perl source code.
It is recommended that you install perl in a standard location before
building extensions. Some precompiled versions of perl do not contain
these header files, so you cannot build extensions. In such a case,
please build and install your perl from a fresh perl distribution. It
usually solves this kind of problem.
(You get this message, because MakeMaker could not find "/usr/lib/perl5/5.8.7/x86_64-linux/CORE/perl.h")
!!! ERROR: dev-perl/Locale-gettext-1.05 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
ebuild.sh, line 1248: Called perl-module_src_compile
perl-module.eclass, line 128: Called perl-module_src_prep
perl-module.eclass, line 117: Called die
!!! Unable to build! (are you using USE="build"?)
!!! If you need support, post the topmost build error, and the call stack if relevant.
here is my emerge --info:
Code: Select all
Portage 2.1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Gentoo Base System version 1.12.1
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.8.5-r3
sys-devel/binutils: 2.16.1-r2
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool: [Not Present]
virtual/os-headers: 2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acc acpi aim alsa audiofile avi bash-completion berkdb bitmap-fonts bootsplash browserplugin bzip2 canna cdparanoia cdr cjk cli crypt css cups dbus divx4linux dri dv dvb dvd dvdr dvdread eds emacs emboss emul-linux-x86 encode esd ethereal fam fame ffmpeg flac flash foomaticdb fortran freewnn gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog ithreads jabber jack java javascript jpeg ladcca lcms leim lirc logitech-mouse lzo lzw lzw-tiff mad matroska migemo mikmod ming mjpeg mng mozilla mp3 mpeg msn mysql mythtv nas ncurses nfs nls nocd nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl oscar pam pcre pdflib perl png portaudio pppd python qt quicktime readline reflection samba sdl session shortenslang smp sndfile sox speex spell spl ssl subp svg symlink szip tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd videos vorbis wmf xine xinerama xml xml2 xmms xorg xpm xv xvid yahoo zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux lirc_devices_hauppauge userland_GNU video_cards_nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
I tried emerging perl by itself, but it tries to install that package to the same end. I'm a bit lost i must say.
on a side note, why does the handbook no longer discuss stage1 and stage2 builds?
thanks,
-SF
EDIT: other useful information: it's a AMD X2 4400+ processor
SOLUTION:
Code: Select all
emerge --oneshot --nodeps perl

