View previous topic :: View next topic |
Author |
Message |
deoren Apprentice
Joined: 23 Dec 2004 Posts: 227 Location: USA
|
Posted: Fri Jun 03, 2005 12:22 pm Post subject: Installing Gentoo with uclibc profile fails with ncurses |
|
|
I followed the handbook for 2005.0 up to the point where it mentioned grabbing the profile from a Gentoo mirror.
Here are the tarballs I grabbed:
72ed0f3f9785fed8cc6daaa7fa5c5dfa portage-20050527.tar.bz2
61ea6cdb46de1daa5557cb5d49bfa10d stage1-x86-uclibc-2005.0.tar.bz2
I extracted them like shown and then I emerge --sync'd when the handbook said to do so, and had issues. I followed the suggestion here:
https://forums.gentoo.org/viewtopic-t-33504...bc+profile.html
and got it past where it hung about complaining about not being able to generate executables.
I got past that , but now ncurses keeps failing to compile.
Unfortunately, in different places.
It first failed to compile when I had a REALLY long list of USE flags removing support for items I did not want to show up. These USE flags work fine on a glibc based system, but apparently not on a uclibc one.
Here is the latest build error after I slimed down my USE flags in /etc/make.conf
Quote: | /bin/sh: line 1: -I../c++: No such file or directory
make[1]: *** [../obj_s/cursesf.o] Error 127
make[1]: *** Waiting for unfinished jobs....
/bin/sh: line 1: -I../c++: No such file or directory
make[1]: *** [../obj_s/cursesm.o] Error 127
make[1]: Leaving directory '/var/tmp/portage/ncurses-5.4-r6/work/narrowc/c++'
make: *** Error 2
!!! ERROR: sys/libs/ncurses-5.4-r6 failed.
!!! Function do_compile, Line 86, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message. |
Contents of make.conf
Quote: | # These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
#CFLAGS="-Os -pipe"
CFLAGS="-Os -mcpu=pentium -fomit-frame-pointer -pipe"
CHOST="i386-gentoo-linux-uclibc"
#CXXFLAGS="-Os -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.ccccom.com/ http://gentoo.seren.com/gentoo http://gentoo.osuosl.org/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ [URL=http://gentoo.netnitco.net/"]http://gentoo.netnitco.net/"[/URL]
#USE="x86 -X -bash-completion -pdflib -motif -libg++ -foomaticdb -emboss -mikmod -mpeg -xv -sdl -cups -arts -avi -xmms -mad -alsa -opengl -qt -gtk -nls -gnome -ipv6 -debug -gpm -java -tcltk -mysql -ldap -kde -gtk2 -encode -mp3 -oss -oggvorbis -quicktime pcre ssl zlib sysvipc"
# My use flags now, after ncurses freaked out the first time. It still fails though.
USE="x86 pcre ssl zlib sysvipc"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp --timeout=20 -P \${DISTDIR} \${URI}" |
Code: | livecd / # emerge info |
Quote: | Portage 2.0.51.19 (uclibc/x86/2.4, gcc-3.3.5-20050130, uclibc-0.9.27-r0, 2.6.11-gentoo-r3 i586)
=================================================================
System uname: 2.6.11-gentoo-r3 i586
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 16 2005, 06:03:45)]
dev-lang/python: 2.3.4-r1
sys-apps/sandbox: [Not Present]
sys-devel/autoconf: [Not Present]
sys-devel/automake: [Not Present]
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: [Not Present]
virtual/os-headers: 2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -mcpu=pentium -fomit-frame-pointer -pipe"
CHOST="i386-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -mcpu=pentium -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks nodoc noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.ccccom.com/ http://gentoo.seren.com/gentoo http://gentoo.osuosl.org/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ [URL=http://gentoo.netnitco.net/"]http://gentoo.netnitco.net/"[/URL]
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://172.16.29.2/portage"
USE="berkdb ncurses pcre perl python readline ssl sysvipc uclibc x86 zlib userland_GNU kernel_linux elibc_uclibc"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY |
Any help would be appreciated.
Thanks! |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|