Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo 2004.3: Stage 1 NPTL on a Stage 3 Tarball
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... , 16, 17, 18  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2966

PostPosted: Fri Mar 18, 2005 12:36 am    Post subject: Reply with quote

Bob P wrote:
Quote:
Note to self: gcc seems strangely broken in the 2005.0 x86 stage 3 tarball. emerging gcc dies if boundchecking is enabled.


:arrow: i have also seen problems with b0rken GCC behavior in 2005.3 x86 Stage 3. Stay away from it.

Erm... I just realised that the devil in me had made me link package.unmask to package.mask, causing the masked gcc-config 1.4.0 to be emerged and breaking the gcc emerge. :oops:
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Fri Mar 18, 2005 1:27 am    Post subject: Reply with quote

glad to hear that you found your error. unfortunately, i still cannot get 2005.0 to work on my testbeds.

if we're going to continue to talk about it, i think that we should move all 2005.0 discussions out of this thread.
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Fri Mar 18, 2005 1:57 am    Post subject: Reply with quote

:arrow: New Thread started for all 2005.0 related posts:

Please post all disucssion related to Stage 1/3 on 2005.0 to the new thread. Thanks!

https://forums.gentoo.org/viewtopic-p-2204186.html
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
sunldn
n00b
n00b


Joined: 20 Mar 2005
Posts: 3

PostPosted: Sun Mar 20, 2005 9:40 pm    Post subject: RSYNC_EXCLUDEFROM file not exist Reply with quote

hi all

i am learning to install Gentoo by following Stage 1 NPTL on Stage 3 Tarball. I follow the guide on the lastest PDF file step by step.
I run emerge --sync but I got RSYNC_EXCLUDEFROM defined but file not exist from the server.

anyone please help to solve this error please.

Thanks all.
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Mon Mar 21, 2005 5:09 am    Post subject: Re: Tip: Styles can be applied quickly to selected text. Reply with quote

kimchi_sg wrote:
I had to satisfy my curiousity so I tried this just to see if it was really GCJ that listened for the gtk USE flag. :P
Code:
livecd / # USE="gcj gtk" emerge -pv glibc binutils gcc portage

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.4.20050125-r1  -build -debug +erandom -hardened (-multilib) +nls +nomalloccheck +nptl +nptlonly +pic +userlocales 0 kB
[ebuild   R   ] sys-devel/binutils-2.15.92.0.2-r6  -debug -multislot -multitarget +nls -test (-uclibc) 0 kB
[ebuild  N    ] dev-util/pkgconfig-0.15.0  596 kB
[ebuild  N    ] media-libs/libart_lgpl-2.3.17  -debug 282 kB
[ebuild  N    ] media-libs/libpng-1.2.8  -debug 375 kB
[ebuild  N    ] media-libs/freetype-2.1.9-r1  -bindist -debug -doc +zlib 969 kB
[ebuild  N    ] x11-misc/ttmkfdir-3.0.9-r2  -debug 19 kB
[ebuild  N    ] x11-base/opengl-update-2.1.1-r1  37 kB
[ebuild  N    ] media-libs/fontconfig-2.2.3  732 kB
[ebuild  N    ] x11-base/xorg-x11-6.8.2-r1  +3dfx -3dnow +bitmap-fonts +cjk -debug -dlloader -dmx -doc -font-server -hardened -insecure-drivers -ipv6 -minimal +mmx +nls +opengl -pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 45,094 kB
[ebuild  N    ] app-arch/rpm2targz-9.0-r2  2 kB
[ebuild  N    ] sys-apps/utempter-0.5.5.5-r1  -debug 20 kB
[ebuild  N    ] x11-terms/xterm-200  -Xaw3d -debug -toolbar +truetype +unicode 681 kB
[ebuild  NS   ] dev-libs/glib-2.6.3  -debug -doc 2,246 kB
[ebuild  N    ] dev-libs/atk-1.9.1  -debug -doc -static 472 kB
[ebuild  N    ] media-libs/jpeg-6b-r4  -debug 598 kB
[ebuild  N    ] x11-libs/pango-1.8.1  -debug -doc -static 973 kB
[ebuild  N    ] dev-perl/XML-Parser-2.34  224 kB
[ebuild  N    ] dev-util/intltool-0.32.1  121 kB
[ebuild  N    ] dev-libs/libxml2-2.6.17  -debug -ipv6 -python +readline 2,995 kB
[ebuild  N    ] x11-misc/shared-mime-info-0.15  412 kB
[ebuild  N    ] x11-libs/gtk+-2.6.4  -debug -doc +jpeg -static -tiff 10,985 kB
[ebuild   R   ] sys-devel/gcc-3.4.3.20050110  -bootstrap -boundschecking -build -debug -fortran +gcj* +gtk* -hardened (-ip28) (-multilib) -multislot (-n32) (-n64) +nls -nocxx -objc -static (-uclibc) 0 kB
[ebuild     U ] sys-apps/portage-2.0.51.19 [2.0.51-r3] -build -debug (-selinux) 277 kB

Total size of downloads: 68,119 kB

Note to self: gcc seems strangely broken in the 2005.0 x86 stage 3 tarball. emerging gcc dies if boundchecking is enabled. :?


That explains it. I had gcj in my USE flag.

edit:
So it seems it tries to install gtk only when BOTH gcj and gtk are in the USE flags. Weird.
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Mon Mar 21, 2005 3:59 pm    Post subject: Re: RSYNC_EXCLUDEFROM file not exist Reply with quote

sunldn wrote:
i am learning to install Gentoo by following Stage 1 NPTL on Stage 3 Tarball. I follow the guide on the lastest PDF file step by step.
I run emerge --sync but I got RSYNC_EXCLUDEFROM defined but file not exist from the server.

anyone please help to solve this error please.


1. PLEASE DO NOT CROSS-POST WITH THE SAME REQUEST IN MULTIPLE FORUMS.

2. THIS IS NOT A SUPPORT FORUM. SUPPORT QUESTIONS BELONG IN THE SUPPORT THREAD.

3. YOUR QUESTION HAS ALREADY BEEN ANSWERED IN THE SUPPORT THREAD.
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
Viha
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2003
Posts: 121
Location: Jon's World

PostPosted: Mon Mar 21, 2005 8:21 pm    Post subject: Reply with quote

First, excuse me if this has been mentioned, but I really don't have the time to read through the whole thread. I'm just now using this method to reinstall after major breakage and there was a little annoyance I registered, namely the stage3 was built with ipv6 support so it somehow defaulted to using ipv6 and thus every package download would first require a loooooooong timeout before wget tries the ipv4 version of the address. Maybe this is only a problem with mirrors that actually support ipv6 like the Finnish mirror that I use. Anyway, for such cases an additional tip would be to add -ipv6 to USE and rebuilding wget before trying to emerge anything else.
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2966

PostPosted: Tue Mar 22, 2005 1:17 am    Post subject: Reply with quote

Viha wrote:
I'm just now using this method to reinstall after major breakage and there was a little annoyance I registered, namely the stage3 was built with ipv6 support so it somehow defaulted to using ipv6 and thus every package download would first require a loooooooong timeout before wget tries the ipv4 version of the address. Maybe this is only a problem with mirrors that actually support ipv6 like the Finnish mirror that I use. Anyway, for such cases an additional tip would be to add -ipv6 to USE and rebuilding wget before trying to emerge anything else.

Then change your download mirror.

Any package that will remain on your system after the install has to be compiled with the new toolchain to get the stability and speed promised here. Ie, any extra package (in this case, wget) you want to re-merge has to come after the second
Code:
emerge glibc binutils gcc portage
as well as
Code:
emerge system


Overall, the emerge order has to be
Code:
emerge gcc-config glibc binutils gcc
[CHANGE make.conf SETTINGS HERE]
emerge glibc binutils gcc portage
emerge -e system
emerge [SYSTEM TOOLS AND ANY OTHER PROGRAMS]
Back to top
View user's profile Send private message
lghman
Guru
Guru


Joined: 29 Nov 2002
Posts: 548
Location: Florida

PostPosted: Tue Mar 22, 2005 6:02 am    Post subject: Reply with quote

I just wanted to say that Bob P you fscking rock! I just finished the install on my new 700m and it went off with out a hitch. I love being able to use the -march=pentium-m in the new GCC, dont know if it really makes a differece but it makes me feel better :) . I also used your first set of "agressive" CFLAGS, no probs. Excellent job!

--sonik
_________________
"What a distressing contrast there is between the radiant intelligence of a child and the feeble mentality of the average adult" --Freud
Back to top
View user's profile Send private message
Viha
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2003
Posts: 121
Location: Jon's World

PostPosted: Tue Mar 22, 2005 6:33 am    Post subject: Reply with quote

kimchi_sg wrote:
blah,blah..
emerge -e system will re emerge it, moron
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Tue Mar 22, 2005 5:30 pm    Post subject: Reply with quote

Viha wrote:
emerge -e system will re emerge it, moron

in keeping with the objectives of this thread and forum, i'd like to ask kimchi_sg reconsider his decision to offer personalized help in this thread. that's what the support thread is for.

i'd also like to ask you resist the temptation to engage in name-calling when you don't like the answer provided by somebody that is trying to help you. posts like that don't help anyone learn how to install gentoo, and that's what we're trying to accomplish here.

i hope that we won't waste any more time on this, and that post deletion won't become necessary.
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Tue Mar 22, 2005 7:51 pm    Post subject: Reply with quote

Viha wrote:
kimchi_sg wrote:
blah,blah..
emerge -e system will re emerge it, moron

Calling people names is considered a personal attack and results in a ban.
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2966

PostPosted: Wed Mar 23, 2005 3:01 am    Post subject: Reply with quote

Bob P wrote:
in keeping with the objectives of this thread and forum, i'd like to ask kimchi_sg reconsider his decision to offer personalized help in this thread.

No, I did not regard it as a support request, I saw it as a request for amendment to the tutorial proper, judging from the wording of his last sentence in that post:
Viha wrote:
Anyway, for such cases an additional tip would be to add -ipv6 to USE and rebuilding wget before trying to emerge anything else.


If it was a real support request along the lines of "Help! emerge complains that RSYNC_EXCLUDES does not exist!" which we did see a couple of posts ago, I'd not have answered it here. ;)
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Wed Mar 23, 2005 4:41 am    Post subject: Reply with quote

i was just trying to be diplomatic by collaring both of you guys. :idea:
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2966

PostPosted: Wed Mar 23, 2005 4:58 am    Post subject: Reply with quote

Bob P wrote:
i was just trying to be diplomatic by collaring both of you guys. :idea:

Hmm, thanks. But it was too late to prevent amne from stepping in, and something big happened as a result. ;)
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Wed Mar 23, 2005 8:42 am    Post subject: Reply with quote

:arrow: PDF UPDATE :arrow:
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
count0nz
n00b
n00b


Joined: 19 Mar 2004
Posts: 7
Location: Auckland, NZ

PostPosted: Thu Mar 24, 2005 8:13 am    Post subject: Reply with quote

Great Guide Bob keep it up :)

Another Happy Gentoo boxen useing 1 on 3
CPU0: Intel Pentium II (Klamath) stepping 04 192 meg ram
:) 266 But runs sweet :)

Next Gentoo 1 on 3 on a P3 733 with 512Meg Ram

Then :) 1 on 3 on a Duron Applebred 1600 oc'ed to 1800 2ghz
Also 512meg ram
_________________
This space blank.
Back to top
View user's profile Send private message
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 792
Location: under a car or on top of a keyboard

PostPosted: Thu Mar 24, 2005 7:08 pm    Post subject: Reply with quote

I made a script to do Bob's install unattended which can be easily built into a bootable CD to require no intervention by setting init=script and adding fdisk and mkfs commands to the head. It requires the stage tarball in ~. Hope someone finds this useful.

Code:

#!/bin/bash
##Do\ Bob\'s\ Install
echo -n  "Install on which disk: "
read instdisk
fdisk /dev/$instdisk
echo "Reboot here if you need to"
echo "Filesystem for root partition
read fstype
echo "Number of root partition
read fsnum
mkfs.${fstype} /dev/${fsnum}
mount /dev/$fsnum -t $fstype /mnt/gentoo

cd /mnt/gentoo
tar xvjpf ~/gentoo-stage3-x86-2004.3.tar.bz2
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
cp /etc/resolv.conf etc/resolv.conf
touch etc/portage/package.{use,keywords,mask,unmask}
mkdir usr/portage;chown portage:portage usr/portage

cat <<- EOF >> etc/portage/package.use
sys-libs/glibc userlocales
sys-kernel/ck-sources symlink
sys-apps/shadow pam
EOF

cat <<- EOF >> etc/portage/package.keywords
sys-devel/gcc ~x86
sys-devel/gcc-config ~x86
sys-libs/libstdc++-v3 ~x86
sys-libs/glibc ~x86
EOF

cat <<- EOF >> etc/portage/package.mask
>sys-devel/gcc-3.4.3-r1
>sys-devel/gcc-config-1.3.9
>sys-libs/libstdc++-v3-3.3.4
>sys-libs/glibc-2.3.4.20050125
EOF

rm etc/make.conf;touch etc/make.conf
cat <<- EOF >> etc/make.conf
USE="nptl gtk -pam -ipv6 mmx sse 3dnow 3dnowex -nls ssl"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -mcpu=athlon-xp -O2 -s -w -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
PKGDIR=${PORTDIR}/packages
PORT_LOGDIR=/var/log/portage
FEATURES="autoclean userpriv usersandbox sandbox"
EOF

mkdir usr/local/portage;chown portage:portage use/local/portage
mkdir var/log/portage;chown portage:portage var/log/portage

cat <<- EOF >> etc/locales.build
en_US/ISO-8859-1
en_US.UTF-8/UTF-8
EOF

touch nptl-update;chmod +x nptl-update
cat <<- EOF >> nptl-update
#!/bin/bash
env-update && source /etc/profile
ln -sf /usr/share/zoneinfo/Canada/Central etc/localtime
emerge sync
emerge -C linux-headers && emerge linux26-headers
emerge gcc-config glibc binutils gcc --oneshot && gcc-config i686-pc-linux-gnu-3.4.3 && source /etc/profile

rm /etc/make.conf && touch /etc/make.conf
cat <<- EOTF >> etc/make.conf
USE="nptl pthreads ithreads gtk python X -pam xml xml2 zlib -ipv6 mmx ssl 3dnow 3dnowex -nls chroot sftplogging"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -s -w -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -ftracer -mtune=athlon-xp"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1"
PKGDIR=${PORTDIR}/packages
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/local/portage
PORTAGE_NICENESS=3
FEATURES="autoclean userpriv usersandbox sandbox distlocks ccache"
CCACHE_SIZE="2G"
EOTF
emerge --nodeps ccache
emerge glibc gcc binutils portage glib --oneshot && emerge -e world;env-update;source /etc/profile
EOF

chroot . /nptl-update
echo "Install a bootloader, logger, cron, kernel and reboot"
echo "The author suggests grub, syslog-ng, vixie-cron and ck-sources-2.6.10-ck6"
/bin/bash


EDIT: Added --oneshot to both of the emerge statements


Last edited by thebigslide on Thu Mar 24, 2005 9:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Thu Mar 24, 2005 8:07 pm    Post subject: Reply with quote

thebigslide,

Why does your script create make.conf and then later remove it and make a different copy?
Back to top
View user's profile Send private message
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 792
Location: under a car or on top of a keyboard

PostPosted: Thu Mar 24, 2005 8:26 pm    Post subject: Reply with quote

To modify it after upgrading the gcc-3.4.3-r1
I realize I could have modified it with sed instead, but it was easier to cut and paste :)
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Thu Mar 24, 2005 9:43 pm    Post subject: Reply with quote

nice. :cool: i prefer the cut and paste method too.

i've been using partially automated installs for quite some time, but i've been too burned out to write it up for presentation. your idea to share your script is very cool. i thought that kimchi_sg would have been the first guy to come up with a script -- its nice to see that you beat him to the punch!

btw -- i don't think that its absolutely necessary to use "--oneshot" when emerging the toolkit components. the stage 3 tarball already has GCC and the toolkit components in the world file. i guess that one could argue that the newer versions of gcc are slotted, so the --oneshot is necessary, but if you use hiel and minderaser's tcupdate script, toolkit components are filtered automatically, which renders the use of --oneshot somewhat moot.

what a nice script! :cool: next time i update the guide, i think i'll insert a hyperlink to your post. :wink:
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 792
Location: under a car or on top of a keyboard

PostPosted: Thu Mar 24, 2005 10:44 pm    Post subject: Reply with quote

Thanks Bob! I added the --oneshot 'just in case'. I've gotten a lot out of this post and wanted to contribute something back.
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Thu Mar 24, 2005 11:45 pm    Post subject: Reply with quote

thebigslide wrote:
To modify it after upgrading the gcc-3.4.3-r1
I realize I could have modified it with sed instead, but it was easier to cut and paste :)


Oh I didn't see that the second time through was part of the "ntpl-update" command you created.
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Fri Mar 25, 2005 11:18 pm    Post subject: Reply with quote

thebigslide,
If you want it to be a truly unattended install, you could change it so that the filesystem type and device location are set as variables from the beginning (and not read from the console). That way the only actual "interaction" you'd have to do is setting up those partitions with fdisk.

And hell, if you wanted it to be REALLY automated you could use sfdisk along with a saved file containing your partition information.
Back to top
View user's profile Send private message
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 792
Location: under a car or on top of a keyboard

PostPosted: Sat Mar 26, 2005 6:45 pm    Post subject: Reply with quote

I have been plugging away on a GTK for some time now to derive all the info needed to install, run debian's modconf to setup the kernel and automatically generate a kernel .config from the livecd's /proc/config.gz. I like the idea of using sfdisk to setup the partition table.
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 ... , 16, 17, 18  Next
Page 17 of 18

 
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