Hi! When trying to emerge dev-perl/String-ShellQuote (either with minimal use flag set or unset), the process fails with the following message: >>> Unpacking String-ShellQuote-1.00.tar.gz to /var/tmp/portage/String-ShellQuote-1.00-r1/work >>> Source unpacked. * Using ExtUtils::MakeMaker Checking if your kit is complete... Looks good Writing Makefile for String::ShellQuote Can't locate AutoSplit.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i686-linux /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.7/i686-linux /usr/lib/perl5/5.8.7 /usr/local/lib/site_perl .) at /usr/lib/perl5/5.8.7/ExtUtils/Install.pm line 418. BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.7/ExtUtils/Install.pm line 418. Compilation failed in require. BEGIN failed--compilation aborted. make: *** [pm_to_blib] Error 2 Some information about my system (note that I have installed perl with the minimal use flag set): # emerge --info Portage 2.0.54-r2 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.4.32-xbox i686) ================================================================= System uname: 2.4.32-xbox i686 Celeron (Coppermine) Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 acl alsa apm bitmap-fonts bzip2 cdb cli crypt curl dri eds emboss encode expat foomaticdb fortran gdbm gif gstreamer isdnlog libg++ libwww mmx mp3 ncurses ogg pam pcre pdflib pppd python readline reflection samba session spell spl sse ssl tcpd tiff truetype-fonts type1-fonts vorbis xml2 xorg zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS Best regards Christian
The problem definitely has to do with the perl USE="minimal" install. I recompiled it with USE="-minimal" and String-ShellQuote compiled flawlessly.
What version of perl do you have installed? Could you please check if there is a /usr/lib/perl5/*/AutoSplit.pm file around on your system?
(In reply to comment #2) > What version of perl do you have installed? Could you please check if there is > a /usr/lib/perl5/*/AutoSplit.pm file around on your system? I have installed perl 5.8.7-r3. The file /usr/lib/perl5/5.8.7/AutoSplit.pm is present, if perl is installed without the "minimal" USE flag. However, it is not present when compiling with the "minimal" use flag. On a side note: Can
(In reply to comment #3) > I have installed perl 5.8.7-r3. The file /usr/lib/perl5/5.8.7/AutoSplit.pm is > present, if perl is installed without the "minimal" USE flag. However, it is > not present when compiling with the "minimal" use flag. This is one of the reasons minimal was taken out of perl as a use flag...what to chop out and what not to chop out wasn't even an art let alone a science. If you emerge perl without the minimal flag (which you can't do with more recent copies of the ebuild anyway) does your problem continue?
minimal was removed from 5.8.8 for this (and other similar reasons). i'll be posting a bug to get it marked stable soon.
(In reply to comment #4) > (In reply to comment #3) > > I have installed perl 5.8.7-r3. The file /usr/lib/perl5/5.8.7/AutoSplit.pm is > > present, if perl is installed without the "minimal" USE flag. However, it is > > not present when compiling with the "minimal" use flag. > > This is one of the reasons minimal was taken out of perl as a use flag...what > to chop out and what not to chop out wasn't even an art let alone a science. If > you emerge perl without the minimal flag (which you can't do with more recent > copies of the ebuild anyway) does your problem continue? No, it doesn't continue. For me the problem is solved, I just installed perl without the "minimum" USE flag.
dev-lang/perl-5.8.8-r2 no longer has the "minimal" USE flag, and is already stable, thus closing :-)