| View previous topic :: View next topic |
| Author |
Message |
pzasso Tux's lil' helper

Joined: 29 Dec 2003 Posts: 91 Location: California
|
Posted: Wed Jul 23, 2008 12:03 am Post subject: dev-libs/apr-1.2.11 fails to emerge [Solved] |
|
|
I am building a new Gentoo box, and have hit a snag after getting through the inital install process. I was able to get some applications built, like mysql etc. but when I try to build Apache it calls for APR to be installed, which fails with the error listed below. I can't seem to find anything closely related to this on the forums.
i686-pc-linux-gnu-gcc -E -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOU
RCE -I./include -I/var/tmp/portage/dev-libs/apr-1.2.11/work/apr-1.2.11/include/arch/unix -I./i
nclude/arch/unix -I/var/tmp/portage/dev-libs/apr-1.2.11/work/apr-1.2.11/include export_vars.c |
sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> apr.exp
g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/../../../crti.o: No such file or directory
g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtbeginS.o: No such file or directory
g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtendS.o: No such file or directory
g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/../../../crtn.o: No such file or directory
make[1]: *** [libapr-1.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/apr-1.2.11/work/apr-1.2.11'
make: *** [all-recursive] Error 1
*
* ERROR: dev-libs/apr-1.2.11 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2507: Called die
* The specific snippet of code:
* emake || die "Make failed";
* The die message:
* Make failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-libs/apr-1.2.11/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/apr-1.2.11/temp/environm
ent'.
*
* Messages for package dev-libs/apr-1.2.11:
*
* ERROR: dev-libs/apr-1.2.11 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2507: Called die
* The specific snippet of code:
* emake || die "Make failed";
* The die message:
* Make failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-libs/apr-1.2.11/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/apr-1.2.11/temp/environm
ent'.
Any help would be appreciated.
Thank you,
--Paul
Last edited by pzasso on Wed Jul 23, 2008 10:56 pm; edited 2 times in total |
|
| Back to top |
|
 |
cassiol Guru


Joined: 16 Oct 2006 Posts: 304 Location: /BR/SC/FLORIPA
|
Posted: Wed Jul 23, 2008 12:14 am Post subject: |
|
|
helooo
you have changed your chost???? if yes please rebuild binutils gcc glibc.. |
|
| Back to top |
|
 |
pzasso Tux's lil' helper

Joined: 29 Dec 2003 Posts: 91 Location: California
|
Posted: Wed Jul 23, 2008 8:11 am Post subject: |
|
|
| I didn't change my chost, but I went ahead and rebuilt the packages you suggested. I am still getting the same error. |
|
| Back to top |
|
 |
cassiol Guru


Joined: 16 Oct 2006 Posts: 304 Location: /BR/SC/FLORIPA
|
Posted: Wed Jul 23, 2008 1:27 pm Post subject: |
|
|
helloo
please post your emerge --info |
|
| Back to top |
|
 |
pzasso Tux's lil' helper

Joined: 29 Dec 2003 Posts: 91 Location: California
|
Posted: Wed Jul 23, 2008 4:55 pm Post subject: |
|
|
# emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+
Timestamp of tree: Tue, 22 Jul 2008 20:06:01 +0000
app-shells/bash: 3.2_p33
dev-lang/python: 2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.61-r2
sys-devel/automake: 1.10.1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon -pipe -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon -pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/
gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-
file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl apache2 berkdb cli courier cracklib crypt ctype cups dba dri fortran gd gdbm gpm icon
v imap isdnlog libwww maildir midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl
png postfix pppd python readline reflection sasl server session snmp spl ssl tcpd unicode virus-
scan x86 xml xorg xorg-x11 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cm
ipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3
trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dsha
re dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plu
g rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon
authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_own
er authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation re
write setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVIC
ES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm00
1 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint
i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconm
otion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PO
RTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
|
| Back to top |
|
 |
pzasso Tux's lil' helper

Joined: 29 Dec 2003 Posts: 91 Location: California
|
Posted: Wed Jul 23, 2008 4:57 pm Post subject: |
|
|
| One thing I did fail to mention is that I am building this LPAR under VMWare, which is also running on Gentoo. |
|
| Back to top |
|
 |
cassiol Guru


Joined: 16 Oct 2006 Posts: 304 Location: /BR/SC/FLORIPA
|
Posted: Wed Jul 23, 2008 5:16 pm Post subject: |
|
|
helloo
let'go....
first try fix_libtool_files.sh 4.1.1
if that failed try that
emerge --oneshot libtool
good luck |
|
| Back to top |
|
 |
pzasso Tux's lil' helper

Joined: 29 Dec 2003 Posts: 91 Location: California
|
Posted: Wed Jul 23, 2008 10:55 pm Post subject: |
|
|
fix_libtool_files.sh 4.1.1 didn't seem to help, but emerge --oneshot libtool did the trick.
Thank you!
--Paul |
|
| Back to top |
|
 |
Norgs n00b

Joined: 06 Nov 2003 Posts: 8
|
Posted: Mon Aug 18, 2008 8:26 am Post subject: |
|
|
Hey Guys,
emerge --oneshot libtool worked a treat for me too.
I was trying to update a very newly installed system.
Thanks |
|
| Back to top |
|
 |
BoBoeBoe n00b

Joined: 17 Feb 2004 Posts: 69
|
Posted: Fri Aug 22, 2008 5:42 am Post subject: |
|
|
It worked for me as well
Thnx |
|
| Back to top |
|
 |
|