Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo - The Developers Method - Stage1 and NPTL
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6 ... 23, 24, 25  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Dunska
n00b
n00b


Joined: 27 Apr 2002
Posts: 15
Location: Brisbane, Australia

PostPosted: Tue Oct 26, 2004 3:07 am    Post subject: Reply with quote

Did you emerge the new gcc-config to go with gcc 3.4.2?

"gcc-config -l" should list the available versions with a number in brackets to the left of them:
Code:
livecd linux # gcc-config -l
[1] i386-pc-linux-gnu-3.3.3
[2] i686-pc-linux-gnu-3.4.2 *
[3] i686-pc-linux-gnu-3.4.2-hardened
[4] i686-pc-linux-gnu-3.4.2-hardenednossp

The one with the "*" is the current profile.
You can then use "gcc-config 2" (or whatever profile number you want) to set the profile. Also you can spell it out like:
Code:
gcc-config i686-pc-linux-gnu-3.4.2

On another note, I also compiled glibc with "nptl nptlonly" and have not had any issues (yet...)
Back to top
View user's profile Send private message
linux_on_the_brain
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 136

PostPosted: Tue Oct 26, 2004 4:59 am    Post subject: Reply with quote

Need some help here, when I emerge --oneshot --nodeps gcc gcc-config, from the one-liner, it always fails. Can somebody tell me what I'm missing?

Thanks

I get the followig mesage:

Code:

checking for X... no
*** xlib peers requested but no X library available
make: *** [configure-target-libjava] Error 1

!!!ERROR: sys-devel/gcc-3.4.2-r2 failed.
!!! Function gcc_do_make, Line 1029,Exitcode 2
!!! (no error message)
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3059
Location: Korea

PostPosted: Tue Oct 26, 2004 5:04 am    Post subject: Reply with quote

I did a successful install earlier today using the following guide:

https://forums.gentoo.org/viewtopic.php?t=206526

And I added in a few little things from this thread (the one you're viewing now).
Back to top
View user's profile Send private message
blue.sca
l33t
l33t


Joined: 28 Aug 2003
Posts: 680
Location: Mainz, Germany

PostPosted: Tue Oct 26, 2004 5:12 am    Post subject: Reply with quote

linux_on_the_brain wrote:
Need some help here, when I emerge --oneshot --nodeps gcc gcc-config, from the one-liner, it always fails. Can somebody tell me what I'm missing?

Thanks

I get the followig mesage:

Code:

checking for X... no
*** xlib peers requested but no X library available
make: *** [configure-target-libjava] Error 1

!!!ERROR: sys-devel/gcc-3.4.2-r2 failed.
!!! Function gcc_do_make, Line 1029,Exitcode 2
!!! (no error message)


probably X in your USE-Flags? or java?
_________________
geek by nature, linux by choice
i want my avatar back... thank you
:wq
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Tue Oct 26, 2004 6:03 am    Post subject: Reply with quote

You DO NOT need to emerge GCC before bootstrapping! There was earlier some problems with bootstrap-cascade.sh and GCC 3.4.2. Profiles didn't switched automatically.

It's all fixed, just do what tutorial says ;)

Quote:

I also just noticed that /etc/conf.d/rc has now changed. There is no longer the "RC_DEVFSD_STARTUP" setting. It looks like it has been replaced by "RC_DEVICES" which can be set to "auto", "devfs", "udev" or "static". I set it to "udev".

Yeah, new baselayout.
Back to top
View user's profile Send private message
Dunska
n00b
n00b


Joined: 27 Apr 2002
Posts: 15
Location: Brisbane, Australia

PostPosted: Tue Oct 26, 2004 6:18 am    Post subject: Reply with quote

I was still getting sanity check errors while bootstrapping this morning unless I emerged gcc first... that was with a full ~x86 system, so things change fairly rapidly :wink:
Back to top
View user's profile Send private message
cojo
n00b
n00b


Joined: 14 Oct 2004
Posts: 5

PostPosted: Tue Oct 26, 2004 9:47 am    Post subject: Reply with quote

linux_on_the_brain wrote:
Need some help here, when I emerge --oneshot --nodeps gcc gcc-config, from the one-liner, it always fails. Can somebody tell me what I'm missing?

Thanks

I get the followig mesage:

Code:

checking for X... no
*** xlib peers requested but no X library available
make: *** [configure-target-libjava] Error 1

!!!ERROR: sys-devel/gcc-3.4.2-r2 failed.
!!! Function gcc_do_make, Line 1029,Exitcode 2
!!! (no error message)


Try to do this --> USE="-* build bootstrap" emerge --oneshot --nodeps gcc gcc-config
Back to top
View user's profile Send private message
linux_on_the_brain
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 136

PostPosted: Tue Oct 26, 2004 4:36 pm    Post subject: Reply with quote

still no luck with the install. gcc compiled finally, thanks cojo, but now libart_lgpl fails with a sanity check. Is there a fix for this.
Back to top
View user's profile Send private message
linux_on_the_brain
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 136

PostPosted: Tue Oct 26, 2004 10:49 pm    Post subject: Reply with quote

I got farther this time around now it fails on ncurses. guess I will keep trying.
Back to top
View user's profile Send private message
Dunska
n00b
n00b


Joined: 27 Apr 2002
Posts: 15
Location: Brisbane, Australia

PostPosted: Tue Oct 26, 2004 11:10 pm    Post subject: Reply with quote

Do you have
Code:
ACCEPT_KEYWORDS="~x86"

in your make.conf?
Back to top
View user's profile Send private message
linux_on_the_brain
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 136

PostPosted: Tue Oct 26, 2004 11:18 pm    Post subject: Reply with quote

yes I do
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 612
Location: Winnipeg, Canada

PostPosted: Wed Oct 27, 2004 3:33 am    Post subject: Reply with quote

Just bootstrapping a 2.53 Pentium4.. I'll relay my results. I allready see there's some problems with the cascaded profile.
_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 612
Location: Winnipeg, Canada

PostPosted: Wed Oct 27, 2004 3:56 am    Post subject: Reply with quote

i'm of the opinion that there's a use flag in the profiles or a bad DEPEND in the tree someplace and it's bugging me...

the only way i could get past it was to use these use flags

Code:
USE="-* berkdb crypt erandom f77  gcj libwww ncurses nls nptl objc \
 pam pic png python readline slang ssl svga tcpd  x86 zlib"


with this p4 that my friend from halifax let me molest i'll be able to do a little testing..
specs are a 2.53 P4 with 1gb of ram
should make for some speedier testing
_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
linux_on_the_brain
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 136

PostPosted: Wed Oct 27, 2004 4:02 am    Post subject: Reply with quote

IS that your list of USE flags for bootstraping?

Code:

USE="-* berkdb crypt erandom f77  gcj libwww ncurses nls nptl objc \
 pam pic png python readline slang ssl svga tcpd  x86 zlib"
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 612
Location: Winnipeg, Canada

PostPosted: Wed Oct 27, 2004 4:07 am    Post subject: Reply with quote

linux_on_the_brain wrote:
IS that your list of USE flags for bootstraping?

Code:

USE="-* berkdb crypt erandom f77  gcj libwww ncurses nls nptl objc \
 pam pic png python readline slang ssl svga tcpd  x86 zlib"


okay i stand corrected... even just those use flags during bootstrap still makes media-libs/libart_lgpl added to bootstrap as a dep....
after bootstrap failed once i added -* to my use flags which is a portage variable that will mask all flags _but_ what are stated in the USE line after the -* mask
_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!


Last edited by ali3nx on Wed Oct 27, 2004 4:11 am; edited 1 time in total
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 612
Location: Winnipeg, Canada

PostPosted: Wed Oct 27, 2004 4:09 am    Post subject: Reply with quote

here's what i get from emerge info

Code:
livecd portage # emerge info
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11 i686)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.4.16
Autoconf:
Automake:
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools:
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
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="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="berkdb crypt erandom f77 gcj libwww ncurses nls nptl objc pam pic png python readline slang ssl svga tcpd x86 zlib"


One of these things shouldn't belong here... :wink:

I think most humans have heard that song
_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
linux_on_the_brain
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 136

PostPosted: Wed Oct 27, 2004 4:11 am    Post subject: Reply with quote

i searched bugzilla for libart_lgpl.

The "fix" was to modify the bootstrap.sh file. Hope this helps

Bugzilla Bug 66042

Code:

--- /usr/portage/scripts/bootstrap.sh   2004-08-18 05:14:41.000000000 +0200
+++ /tmp/bootstrap.sh   2004-10-01 18:43:29.472653592 +0200
@@ -203,7 +203,7 @@
    
 USE="-* build bootstrap" emerge ${STRAP_EMERGE_OPTS} ${myPORTAGE} || cleanup 1
 
-export USE="${ORIGUSE} bootstrap"
+export USE="${ORIGUSE} bootstrap build"
 emerge ${STRAP_EMERGE_OPTS} ${myTEXINFO} ${myGETTEXT} ${myBINUTILS} || cleanup 1
 
 # If say both gcc and binutils was build for i486, and we then merge
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 612
Location: Winnipeg, Canada

PostPosted: Wed Oct 27, 2004 4:20 am    Post subject: Reply with quote

linux_on_the_brain wrote:
i searched bugzilla for libart_lgpl.

The "fix" was to modify the bootstrap.sh file. Hope this helps

Bugzilla Bug 66042

Code:

--- /usr/portage/scripts/bootstrap.sh   2004-08-18 05:14:41.000000000 +0200
+++ /tmp/bootstrap.sh   2004-10-01 18:43:29.472653592 +0200
@@ -203,7 +203,7 @@
    
 USE="-* build bootstrap" emerge ${STRAP_EMERGE_OPTS} ${myPORTAGE} || cleanup 1
 
-export USE="${ORIGUSE} bootstrap"
+export USE="${ORIGUSE} bootstrap build"
 emerge ${STRAP_EMERGE_OPTS} ${myTEXINFO} ${myGETTEXT} ${myBINUTILS} || cleanup 1
 
 # If say both gcc and binutils was build for i486, and we then merge


a valiant effort but the hunk failed because the script was modified.. vapier? um help :)
_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
linux_on_the_brain
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 136

PostPosted: Wed Oct 27, 2004 4:25 am    Post subject: Reply with quote

i manually applied it, and I was able to get past libart_lgpl, the bootstrap did fail however when it reached ncurses something about a sanity check and c++
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 612
Location: Winnipeg, Canada

PostPosted: Wed Oct 27, 2004 4:27 am    Post subject: Reply with quote

well i asked lv and he informed me that it's related to the gcj use flag... I'll remove it until the open bug related to it is fixed. the DEPEND structure of libart_lgpl depends on gcj for desktop related issues... and well it's got issues :lol:
_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 612
Location: Winnipeg, Canada

PostPosted: Wed Oct 27, 2004 4:29 am    Post subject: Reply with quote

i'm going to test another strap with this system profile and use flags...

Code:
livecd portage # emerge info
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11 i686)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.4.16
Autoconf:
Automake:
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools:
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
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="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb bitmap-fonts crypt cups encode erandom f77 foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kdelibg++ libwww mad mikmod motif mpeg ncurses nls nptl objc oggvorbis opengl oss pam pdflib pic png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib"

_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 612
Location: Winnipeg, Canada

PostPosted: Wed Oct 27, 2004 8:49 am    Post subject: Reply with quote

well i got to bootstrapping this p4 and a debian fanatic chalenged me to an nbench test. I thought i might post my test results here for my 1ghz tbird and let everyone check em out :)

emerge nbench folks and lets see what we all get :wink:
_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Wed Oct 27, 2004 12:54 pm    Post subject: Reply with quote

GCC 3.4.2-r3 out! Hopefully it won't b0rk anything ;) After emerging that I could run nbench...

I also found that f77 is default flag of new cascading profile, I added it to my USE-flags (using USE="-*" as a base ;))
Back to top
View user's profile Send private message
linux_on_the_brain
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 136

PostPosted: Wed Oct 27, 2004 2:32 pm    Post subject: Reply with quote

bootstrap failed again last night at ncurses.

ncurses-5.4-r5

/bin/sh line1: -I../c++: No such file or directory
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Wed Oct 27, 2004 5:28 pm    Post subject: Reply with quote

linux_on_the_brain your emerge info shows that your still useing gcc-3.3.3. See the above post about switching to gcc-3.4.

EDIT fixed my normal, 10 words 50 typeing and misspeling. sigh.
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6 ... 23, 24, 25  Next
Page 5 of 25

 
Jump to:  
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