* Package: dev-lang/perl-5.12.4-r1  * Repository: gentoo  * Maintainer: perl@gentoo.org  * USE: berkdb elibc_glibc gdbm hppa kernel_linux userland_GNU  * FEATURES: sandbox >>> Unpacking source... >>> Unpacking perl-5.12.4.tar.bz2 to /usr/hppa-unknown-linux-gnu/tmp/portage/dev-lang/perl-5.12.4-r1/work >>> Unpacking perl-5.12.4-1.tar.bz2 to /usr/hppa-unknown-linux-gnu/tmp/portage/dev-lang/perl-5.12.4-r1/work >>> Source unpacked in /usr/hppa-unknown-linux-gnu/tmp/portage/dev-lang/perl-5.12.4-r1/work >>> Preparing source in /usr/hppa-unknown-linux-gnu/tmp/portage/dev-lang/perl-5.12.4-r1/work/perl-5.12.4 ... * Applying various patches (bugfixes/updates) ... * 0001-gentoo_MakeMaker-RUNPATH.diff ...  [ ok ] * 0002-gentoo_config__over.diff ...  [ ok ] * 0003-gentoo_cpan__definstalldirs.diff ...  [ ok ] * 0004-gentoo_cpanplus__definstalldirs.diff ...  [ ok ] * 0005-gentoo_create-libperl-soname.diff ...  [ ok ] * 0006-gentoo_MakeMaker-delete__packlist.diff ...  [ ok ] * 0007-fixes_8d66b3f9__h2hp__fix.diff ...  [ ok ] * 0008-fixes_f178b03b__h2ph__using__deprecated__goto.diff ...  [ ok ] * 0009-gentoo_mod-paths.diff ...  [ ok ] * 0010-gentoo_enc2xs.diff ...  [ ok ] * 0011-gentoo_IO-Compress__AutoLoader__dropped__from__Compress-Zlib.diff ...  [ ok ] * 0012-gentoo_drop-fstack-protector.diff ...  [ ok ] * Done with patching >>> Source prepared. >>> Configuring source in /usr/hppa-unknown-linux-gnu/tmp/portage/dev-lang/perl-5.12.4-r1/work/perl-5.12.4 ... First let's make sure your kit is complete. Checking... Locating common programs... Checking compatibility between /bin/echo and builtin echo (if any)... Symbolic links are supported. Checking how to test for symbolic links... You can test for symbolic links with 'test -h'. Good, your tr supports [:lower:] and [:upper:] to convert case. Using [:upper:] and [:lower:] to convert case. 3b1 dos_djgpp irix_6 openbsd sunos_4_1 aix dragonfly irix_6_0 opus super-ux aix_3 dynix irix_6_1 os2 svr4 aix_4 dynixptx isc os390 svr5 altos486 epix isc_2 os400 ti1500 amigaos esix4 linux posix-bc titanos apollo fps lynxos powerux ultrix_4 atheos freebsd midnightbsd qnx umips aux_3 genix mips rhapsody unicos beos gnu mirbsd riscos unicosmk bsdos gnukfreebsd mpc sco unisysdynix catamount gnuknetbsd mpeix sco_2_3_0 utekv convexos greenhills ncr_tower sco_2_3_1 uts cxux haiku netbsd sco_2_3_2 uwin cygwin hpux newsos4 sco_2_3_3 vmesa darwin i386 next_3 sco_2_3_4 vos dcosx interix next_3_0 solaris_2 dec_osf irix_4 next_4 stellar dgux irix_5 nonstopux sunos_4_0 Which of these apply, if any? [linux] ./hints/linux.sh: line 194: ./a.out: cannot execute binary file You don't have an ELF gcc. I will use dld if possible. If you are using a version of DLD earlier than 3.2.6, or don't have it at all, you should probably upgrade. If you are forced to use 3.2.4, you should uncomment a couple of lines in hints/linux.sh and restart Configure so that shared libraries will be disallowed. Disabling ndbm. This will generate a Whoa There message in Configure. Read hints/linux.sh for further information. nm: /usr/lib/libdb.so: no symbols nm: /usr/lib64/libdb.so: no symbols Operating system name? [linux] Operating system version? [3.0.3-kraken] Installation prefix to use? (~name ok) [/usr] AFS does not seem to be running... What installation prefix should I use for installing files? (~name ok) [/usr] Build Perl for SOCKS? [n] Use the PerlIO abstraction layer? [y] Getting the current patchlevel... Build a threading Perl? [n] Build Perl for multiplicity? [n] Use which C compiler? [hppa-unknown-linux-gnu-gcc] Checking for GNU cc in disguise and/or its version number... Configure: line 4519: ./try: cannot execute binary file Now, how can we feed standard input to your C preprocessor... Directories to use for library searches? [/usr/local/lib /lib/../lib64 /usr/lib/../lib64 /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64] What is the file extension used for shared libraries? [sa] Try to use long doubles if available? [n] Checking for optional libraries... What libraries to use? [-lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat] What optimizer/debugger flag should be used? [-O2 -pipe -fomit-frame-pointer -I/usr/hppa-unknown-linux-gnu/usr/include/ -I/usr/hppa-unknown-linux-gnu/include/] Any additional cc flags? [-DOVR_DBL_DIG=14] Let me guess what the preprocessor flags are... Any additional ld flags (NOT including libraries)? [-L/usr/hppa-unknown-linux-gnu/lib -L/usr/hppa-unknown-linux-gnu/usr/lib -L/usr/local/lib] Checking your choice of C compiler and flags for coherency... I've tried to compile and run the following simple program: #include int main() { printf("Ok\n"); return(0); } I used the command: hppa-unknown-linux-gnu-gcc -o try -O2 -pipe -fomit-frame-pointer -I/usr/hppa-unknown-linux-gnu/usr/include/ -I/usr/hppa-unknown-linux-gnu/include/ -DOVR_DBL_DIG=14 -L/usr/hppa-unknown-linux-gnu/lib -L/usr/hppa-unknown-linux-gnu/usr/lib -L/usr/local/lib try.c -lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat ./try and I got the following output: /usr/libexec/gcc/hppa-unknown-linux-gnu/ld: cannot find -lndbm collect2: ld returned 1 exit status I can't compile the test program. You have a BIG problem. Shall I abort Configure [y] Ok. Stopping Configure. * ERROR: dev-lang/perl-5.12.4-r1 failed (configure phase): * Unable to configure * * Call stack: * ebuild.sh, line 91: Called src_configure * environment, line 2841: Called die * The specific snippet of code: * sh Configure -des -Duseshrplib -Darchname="${myarch}" -Dcc="$(tc-getCC)" -Doptimize="${CFLAGS}" -Dldflags="${LDFLAGS}" -Dprefix='/usr' -Dsiteprefix='/usr' -Dvendorprefix='/usr' -Dscriptdir='/usr/bin' -Dprivlib="${PRIV_LIB}" -Darchlib="${ARCH_LIB}" -Dsitelib="${SITE_LIB}" -Dsitearch="${SITE_ARCH}" -Dvendorlib="${VENDOR_LIB}" -Dvendorarch="${VENDOR_ARCH}" -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/share/man/man1 -Dsiteman3dir=/usr/share/man/man3 -Dvendorman1dir=/usr/share/man/man1 -Dvendorman3dir=/usr/share/man/man3 -Dman1ext='1' -Dman3ext='3pm' -Dlibperl="${LIBPERL}" -Dlocincpth=' ' -Duselargefiles -Dd_semctl_semun -Dcf_by='Gentoo' -Dmyhostname='localhost' -Dperladmin='root@localhost' -Dinstallusrbinperl='n' -Ud_csh -Uusenm "${myconf[@]}" || die "Unable to configure" * * If you need support, post the output of 'emerge --info =dev-lang/perl-5.12.4-r1', * the complete build log and the output of 'emerge -pqv =dev-lang/perl-5.12.4-r1'. * The complete build log is located at '/usr/hppa-unknown-linux-gnu/tmp/portage/dev-lang/perl-5.12.4-r1/temp/build.log'. * The ebuild environment file is located at '/usr/hppa-unknown-linux-gnu/tmp/portage/dev-lang/perl-5.12.4-r1/temp/environment'. * S: '/usr/hppa-unknown-linux-gnu/tmp/portage/dev-lang/perl-5.12.4-r1/work/perl-5.12.4'