When performing an emerge on ExtUtils-MakeMaker, get an error when it starts to build it: make: *** No rule to make target `/usr/lib/perl5/5.8.6/i386-linux/CORE/config.h' , needed by `Makefile'. I am running Gentoo/x86 on a VMWare session. I have tried it on two other machines (Gentoo/AMD64 and Gentoo/x86) and it installs fine, so I'm assuming it is some dependency issue. Reproducible: Always Steps to Reproduce: 1. emerge ExtUtils-MakeMaker Actual Results: >>> Unpacking ExtUtils-MakeMaker-6.21.tar.gz to /var/tmp/portage/ExtUtils-MakeMa ker-6.21/work >>> Source unpacked. Checking if your kit is complete... Looks good Writing Makefile for ExtUtils::MakeMaker make: *** No rule to make target `/usr/lib/perl5/5.8.6/i386-linux/CORE/config.h' , needed by `Makefile'. Stop. !!! ERROR: perl-core/ExtUtils-MakeMaker-6.21 failed. !!! Function src_compile, Line 19, Exitcode 2 !!! self-test failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Emerged without error. root@delphi ~ # emerge --info Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.1 2-gentoo-r10 i686) ================================================================= System uname: 2.6.12-gentoo-r10 i686 AMD Opteron(tm) Processor 248 Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 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.6 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="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1 1/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://212.219.56.152/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm audiofile avi berkdb bitmap-fonts bzip2 crypt cups eds embos s encode expat foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 jav a jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline sdl spell ssl tcpd true type truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU kerne l_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
First question: Why are you building ExtUtils-MakeMaker? Ironically, I am in the process of completely removing it from the tree, it serves no purpose now that perl 5.6.X is out of the tree completely (it comes with perl, the ebuild was to bridge a gap between perl versions). Second: That it fails is a sign of a bad perl install. EU::MM relies on only one thing to be able to build - a functinioning perl.
*** Bug 113243 has been marked as a duplicate of this bug. ***
Was trying to build XML-Parser, which was failing due to not being able to find Ext-Utils:MakeMaker, hence the attempt to build this. I've emerged Perl again, and now XML-Parser installs correctly, so my need to build this package is no longer there (and I'm guessing whatever was broken in my Perl install has now been fixed). I'm now happy, so as far as I'm concerned it's closed. Thanks.