| View previous topic :: View next topic |
| Author |
Message |
cheater1034 Veteran


Joined: 09 Sep 2004 Posts: 1551
|
Posted: Thu Dec 22, 2005 4:07 am Post subject: CONRAD Installation Guide - 1.0.2 "Whooosh!" 4.0.2 |
|
|
Conrad Gentoo Projects Presents...
CONRAD Install Guide 1.0.2 (3-in-1) - Named: "Wooosh!"
THIS IS THE 4.0.2/4.1.0 VERSION!
The 4.0.3/4.2.0 version (1.5.0) using my own overlays, is coming soon!
-----
Stability Tests
-----
Lsane Tests
Architecture: athlon-xp
Kernel: Gentoo-2.6.14-r6 (+ reiser4 patch)
FS: Reiser4 1.0.5
Emerged Successfully: KDE, GNOME, XFCE4 (portage+svn),firefox-1.5,thunderbird-1.0.7,openbox,subversion,openoffice-2.0.1,samba3,k3b.nvidia-kernel+glx,xorg-7.0,gaim,xchat, and a lot more odds and ends compiled successfully.
Failed Packages: Qemu (Qemu does not support gcc 4 yet)
Screenshot (terminals and pretend emerges+cat of make.conf: http://bfgraphics.net/lsane.png
-----
Forewarning
This IS an advanced install guide for gentoo linux, it is assuming you have knowledge of gentoo and gnu/linux in general!
-----
The most hardcore and up-to-date of its kind!
The RIGHT way to get a GCC 4.0 OR 4.1_beta* based system!
Includes *3* Options for getting GCC 4.0 OR 4.1_beta* Installed
Easier than you make think!
------
Not interested in the Conrad method? Why install gentoo manually?
Try the LUCKY Automated Installation Scripts, they support stable and unstable gentoo installations, and compiler upgrade options, (3.4.4 - stable, 3.4.5 - unstable)
Lucky-1.1.0 'Good Times'
------
CONRAD IRC CHANNEL
Join - #conrad on FreeNode (no longer #conrad-gentoo)
FOR REISER4 AS MENTIONED IN GUIDE...
You need the Conrad Install LiveCD
http://forums.gentoo.org/viewtopic-t-414544.html
-----
NOTICE:
The Conrad method is not supported in any way by the Gentoo Linux Foundation.
Well, I love the gentoo foundation, but it is the truth and the right thing to say
-----
12/31/05 - Upgraded to 1.0.2 - "Whooosh!" - CHANGES
-----
(1) - Removed mounting proc and dev twice, it may have caused confusion
(2) - Changed some procedures, and "LSANE" now uses binutils 2.16.1
(3) - Changed the package.keywords/unmask/use* in all 3 options
(4) - Added setting the timezone
(5) - Added additional commentary and warnings
(6) - Removed ccache from features in ALL make.conf's
PIC Removed from package.use: the PIC use flag was accidently dropped in there, it is no longer used, it will cause things to decrease in speed and performance, but it is required for prelinking.
-----
The only guide with GCC 4.0.x/4.1_beta* latest support!
The only guide with 100% Reiser4/Without copying the filesystem!
-----
1.0.0 - "Time For Supper"
* Added *3* Install Options "Psane" "Lsane", and "SFLBSALAS"
* Fixed other things
* Made gentoo-sources default kernel, with reiser4 patch
-----
Conrad Development Team
!WooHoo!
(/Builder/Tester/Scripter/Graphic\Web Designer) - Cheater1034
(Scripter-Lucky/Tester/IRC) - Brainiac Ghost
(Scripter-Lucky/Tester) - mdshort
-----
This is a hardcore gentoo installation guide - When you reboot and complete your installation process, you may fly into the wall behind you and break something on count of the incredible speed that will be harnessed after installing gentoo through The Official Conrad Gentoo Install
-----
As always, this is not supported by gentoo - This is experimental - For advanced users only - So on and so forth
-----
Version: 1.0.2 "Whooosh!"
-----
IMPORTANT
* DO NOT POST BUGS REGARDING UNSUPPORTED SOFTWARE (gcc 4.0.2/4.1. glibc-2.3.6, overlays, etc) TO GENTOO!
-----
Get Ready...
-----
Getting Started
USE AT YOUR OWN RISK...
------
Continue until you get to the 3 options
------
1 - The LiveCD
1.1 - First of all, we are going to download the LATEST Conrad Gentoo Installation LiveCD - This is required for reiser4 installation
REISER4 IS NOT REQUIRED! If you do not want to use reiser4, you can use this livecd, or the Gentoo liveCD
| Code: | | http://forums.gentoo.org/viewtopic-t-414544.html |
1.2 - Burn it to a CD and boot it - Then choose the boot option for your needs
2 -Preparing the Network
2 - Make sure the network is working properly - Accomplish this my doing "ping google.com" or "ifconfig" in order to test the internet connection, if it is not working by default, try...
Or if you simply run by dhcp
3 - Hard disk configuration
3.1 - View the hard disk configuration
| Code: |
# hdparm -i /dev/hda
|
3.2 - Test the Hard Disk's speed
| Code: | | hdparm -tT /dev/hda |
3.3 - Get the maximum from your hard disk - OPTIONAL
I ONLY Reccomend this option for ATA133 hard drives, not anything lower.
DO NOT RUN THIS ON A SATA DRIVE
| Code: |
hdparm -d1 -c1 -X69 /dev/hda |
4 - Partitioning the Drive
4.1 Using Fdisk
| Code: | # fdisk /dev/hda
Command (m for help): p
Disk /dev/hda: 240 heads, 63 sectors, 2184 cylinders
Units = cylinders of 15120 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 14 158760 83 Linux # boot
/dev/hda2 15 49 264600 82 Linux swap # swap
/dev/hda3 50 70 remainder 83 Linux # root
|
4.2 - Setup your partition scheme
| Code: | Something like this
Partition File System ID Size Description
/dev/hda1 ext2 83 100 MB Boot partition
/dev/hda2 (swap) 82 512 MB Swap partition
/dev/hda3 Reiser4 83 Remainder Root Partition |
When done, hit "w" in fdisk to write the changes
4.3 - Creating your partitons - Reiser4/reiserfs/ext3 for root, ext2/ext3 for boot, swap for swap
| Code: | # mkfs.reiser4 /dev/hda3
# mkfs.ext2 /dev/hda1
# mkswap /dev/hda2
# swapon /dev/hda2
|
4.4 - Mounting your hard drives
| Code: | # mount /dev/hda3 /mnt/gentoo
# mkdir /mnt/gentoo/proc && mkdir /mnt/gentoo/boot
# mount -t proc none /mnt/gentoo/proc
# mount /dev/hda1 /mnt/gentoo/boot |
5 - Setting up for a chroot
5.1 - Downloading and extracting a stage3 tarball
Since 1.x it is RECCOMENDED that only 686-class cpus install, this guide HAS NOT been tested for anything lower...
| Code: | # cd /mnt/gentoo
Choose and download your architecture here... (NPTL Requires i586 or higher)
http://gentoo.osuosl.org/releases/x86/2005.1-r1/stages/ |
# tar -jxvpf stage3-ARCH-2005.1-r1.tar.bz2
5.2 - Downloading and extracting a portage snapshot
| Code: | # http://distfiles.gentoo.org/snapshots/portage-latest.tar.bz2
# tar jxvpf portage-latest.tar.bz2 -C /mnt/gentoo/usr |
5.3 - Copying resolv.conf
| Code: | | #cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf |
6 - Chrooting into an environment
6.1 - Chrooting and Running env-update;source /etc/profile
| Code: | # chroot /mnt/gentoo /bin/bash
# env-update; source /etc/profile |
6.2 - Emerging Sync
6.3 - Setting the timezone
(Change according to your zone)
| Code: | # rm -rf /etc/localtime
# ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime |
YOU HAVE 3 OPTIONS!!!
WARNING: If you choose GCC-4.1 on ANY option, there may be several compile errors!
Option 1 "Psane" (Pure Insane) - Reccomended For Developers ONLY This explains the MOST possible intense installation, it uses gcc 4.0.2 OR 4.1_beta*, binutils-2.16.1, glibc-2.3.90*, LDFLAGS+Bdirect
Option 2 "Lsane" RECCOMENDED (Light Insane) - This explains the SECOND most possible intense installation, GCC 4.0.2 OR 4.1_beta*, binutils-2.16.1, glibc-2.3.6-r1, LDFLAGS
Option 3 "SFLBSALAS" (Settle for less but still a lot and stable) - This explains the MOST stable way to install through the guide, GCC 4.0.2 OR 4.1_beta*, binutils 2.16.1, glibc-2.3.6-r1
-----
OPTION 1 "Psane"
7 - Creating a new make.conf
7.1 - Creating a new make.conf
We will create a new make.conf here, here's what We'll do.
| Code: | | # rm /etc/make.conf |
NOW- You need to copy-paste this, or edit it manually, or type the lines, here is the make.conf we'll use For Now
| Code: | CFLAGS="-O2 -march=YOURARCH -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~x86"
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/local/portage
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
PORTAGE_NICENESS=10
AUTOCLEAN="yes"
FEATURES="distlocks userpriv"
USE="nptl nptlonly"
# The following for GCC-4.1 ONLY
I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1
|
7.3 - Making appropriate portage LOG and OVERLAY directories
| Code: | #mkdir -p /var/log/portage
#mkdir -p /usr/local/portage |
8 - Building/rebuilding/system-rebuilding with gcc 4.0 OR 4.1_beta*
8.1 - Adding Necessary entries to package.keywords/package.unmask
Here are the files you need to create...
/etc/portage/package.use
| Code: | sys-libs/glibc nptl nptlonly userlocales
sys-devel/libperl ithreads
dev-lang/perl ithreads
sys-devel/binutils multislot
sys-devel/gcc multislot |
/etc/portage/package.keywords
| Code: |
=sys-libs/glibc-2.3.6-r1 -*
# Default is GCC-4.0
=sys-devel/gcc-4.0* -*
# For GCC 4.1_beta* comment the above line and uncomment the following line
#=sys-devel/gcc-4.1* -*
|
/etc/portage/package.unmask
| Code: | =sys-libs/glibc-2.3.6
# Default is GCC-4.0
=sys-devel/gcc-4.0*
# For GCC 4.1_beta* comment the above line and uncomment the following line
#=sys-devel/gcc-4.1*
|
8.2 - (OPTIONAL) Setting locales.build
You have to set this according to your region/area/language
This is completely optional, it just saves build time
| Code: | | # nano /etc/locales.build |
8.3 - Building the toolkit
| Code: |
# emerge gcc-config mpfr glibc binutils libstdc++-v3 gcc |
8.4 - Running gcc-config and binutils-config
| Code: | # gcc-config -l
(view options)
1 ) i686-pc-linux-gnu-3.3.5_2005* (should be similar to this...)
2 - 5 ) (other hardned, etc compilers of 3.3.5)
6 ) i686-pc-linux-gnu-4.0.2* (should be similar to this...)
# gcc-config 6
# binutils-config -l
1 ) i686-pc-linux-gnu-2.6.15 *
2 ) i686-pc-linux-gnu-2.16.1
(should be similar to this)
# binutils-config 2
# emerge -aP binutils
# env-update; source /etc/profile |
8.5 - Installing Glibc-2.3.90* | from nxsty's Glibc-2.3.90* ebuild
| Code: | # wget http://snigel.no-ip.com/~nxsty/linux/glibc-overlay.tar.bz2
# mkdir -p /usr/local/portage/sys-libs
# tar jxvf glibc-overlay.tar.bz2 -C /usr/local/portage/sys-libs
# rm glibc-overlay*
# echo =sys-libs/glibc-2.3.9* -* >> /etc/portage/package.keywords
# emerge glibc |
8.6 - Changing the make.conf
Edit the make.conf to look like the following... (change CFLAGS, CXXFLAGS, LDFLAGS, and USE FLAGS)
NOTE: IN THE LDFLAGS, -Wl is a "L" as in "Lucky" not a "1" or an "I"
| Code: | CFLAGS="-O2 -march=$YOURARCH -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s,-Wl, -Bdirect"
ACCEPT_KEYWORDS="x86 ~x86"
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/local/portage
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
PORTAGE_NICENESS=10
AUTOCLEAN="yes"
FEATURES="distlocks userpriv"
USE="nptl nptlonly glibc-omitfp"
# The following for GCC-4.1 ONLY
I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1 |
8.7 - Rebuilding the toolkit
| Code: | | # emerge glibc binutils libstdc++-v3 gcc |
8.8 - Pruning the old Compiler and Binutils
| Code: | | # emerge -aP gcc (make sure it wants to prune the old version) |
8.9 - Rebuilding the System
| Code: | | # emerge --emptytree system |
FUTURE Special Instructions
In the future, you will need to upgrade glibc probally, since this is an unsupported overlay that is not in portage, upgrades need to be done manually!
To upgrade GLIBC, you need the special nxsty ebuild with Bdirect.
Upgrade Instructions for GLIBC
| Code: | # rm -rf /usr/local/portage/sys-libs
# wget http://snigel.no-ip.com/~nxsty/linux/glibc-overlay.tar.bz2
# mkdir -p /usr/local/portage/sys-libs
# tar jxvf glibc-overlay.tar.bz2 -C /usr/local/portage/sys-libs
# rm glibc-overlay*
# emerge glibc |
//END "PSANE" OPTION
OPTION 2 "Lsane" - RECCOMENDED
7 - Creating a new make.conf
7.1 - Creating a new make.conf
We will create a new make.conf here, here's what We'll do.
| Code: | | # rm /etc/make.conf |
NOW- You need to copy-paste this, or edit it manually, or type the lines, here is the make.conf we'll use For Now
| Code: | CFLAGS="-O2 -march=YOURARCH -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~x86"
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/local/portage
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
PORTAGE_NICENESS=10
AUTOCLEAN="yes"
FEATURES="distlocks userpriv"
USE="nptl nptlonly"
# The following for GCC-4.1 ONLY
I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1
|
7.3 - Making appropriate portage LOG and OVERLAY directories
| Code: | #mkdir -p /var/log/portage
#mkdir -p /usr/local/portage |
8 - Building/rebuilding/system-rebuilding with gcc 4.0 OR 4.1_beta*
8.1 - Adding Necessary entries to package.keywords/package.unmask
Here are the files you need to create...
/etc/portage/package.use
| Code: | sys-libs/glibc nptl nptlonly userlocales
sys-devel/libperl ithreads
dev-lang/perl ithreads
sys-devel/binutils multislot
sys-devel/gcc multislot |
/etc/portage/package.keywords
| Code: |
=sys-libs/glibc-2.3.6-r1 -*
# GCC-4.0 is default
=sys-devel/gcc-4.0* -*
# For GCC-4.1 comment the above line and uncomment the following line
#=sys-devel/gcc-4.1* -* |
/etc/portage/package.unmask
| Code: | =sys-libs/glibc-2.3.6
# GCC-4.0 is default
=sys-devel/gcc-4.0*
# For GCC-4.1 comment the above line and uncomment the following line
#=sys-devel/gcc-4.1*
|
8.2 - (OPTIONAL) Setting locales.build
You have to set this according to your region/area/language
This is completely optional, it just saves build time
| Code: | | # nano /etc/locales.build |
8.3 - Building the toolkit
| Code: |
# emerge gcc-config mpfr glibc binutils libstdc++-v3 gcc |
8.4 - Running gcc-config and binutils-config
| Code: | # gcc-config -l
(view options)
1 ) i686-pc-linux-gnu-3.3.5_2005* (should be similar to this...)
2 - 5 ) (other hardned, etc compilers of 3.3.5)
6 ) i686-pc-linux-gnu-4.0.2* (should be similar to this...)
# gcc-config 6
# binutils-config -l
1 ) i686-pc-linux-gnu-2.6.15 *
2 ) i686-pc-linux-gnu-2.16.1
(should be similar to this)
# binutils-config 2
# emerge -aP binutils
# env-update; source /etc/profile |
8.6 - Changing the make.conf
Edit the make.conf to look like the following...
NOTE: IN THE LDFLAGS, -Wl is a "L" as in "Lucky" not a "1" or an "I"
| Code: | CFLAGS="-O2 -march=$YOURARCH -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
ACCEPT_KEYWORDS="x86 ~x86"
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/local/portage
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
PORTAGE_NICENESS=10
AUTOCLEAN="yes"
FEATURES="distlocks userpriv"
USE="nptl nptlonly"
# The following for GCC-4.1 ONLY
I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1 |
8.7 - Rebuilding the toolkit
| Code: | | # emerge glibc binutils libstdc++-v3 gcc |
8.8 - Pruning the old Compiler
| Code: | # emerge -aP gcc (make sure it wants to prune the old version)
|
8.9 - Rebuilding the System
| Code: | | # emerge --emptytree system |
//END "LSANE" OPTION
size=16]OPTION 3 "SFLBSALAS"[/size]
7 - Creating a new make.conf
7.1 - Creating a new make.conf
We will create a new make.conf here, here's what We'll do.
| Code: | | # rm /etc/make.conf |
NOW- You need to copy-paste this, or edit it manually, or type the lines, here is the make.conf we'll use For Now
| Code: | CFLAGS="-O2 -march=YOURARCH -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~x86"
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/local/portage
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
PORTAGE_NICENESS=10
AUTOCLEAN="yes"
FEATURES="distlocks userpriv"
USE="nptl nptlonly pic"
# The following for GCC-4.1 ONLY
I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1
|
7.3 - Making appropriate portage LOG and OVERLAY directories
| Code: | #mkdir -p /var/log/portage
#mkdir -p /usr/local/portage |
8 - Building/rebuilding/system-rebuilding with gcc 4.0 OR GCC 4.1_beta*
8.1 - Adding Necessary entries to package.keywords/package.unmask
Here are the files you need to create...
/etc/portage/package.use
| Code: | sys-libs/glibc nptl nptlonly userlocales
sys-devel/libperl ithreads
dev-lang/perl ithreads
sys-devel/binutils multislot
sys-devel/gcc multislot |
/etc/portage/package.keywords
| Code: |
=sys-libs/glibc-2.3.6-r1 -*
# GCC 4.0 is default
=sys-devel/gcc-4.0* -*
# For GCC 4.1 comment the above line and uncomment the following line
#=sys-devel/gcc-4.1* -*
|
/etc/portage/package.unmask
| Code: | =sys-libs/glibc-2.3.6
# GCC 4.0 is default
=sys-devel/gcc-4.0*
# For GCC 4.1 comment the above line and uncomment the following line
#=sys-devel/gcc-4.1*
|
8.2 - (OPTIONAL) Setting locales.build
You have to set this according to your region/area/language
This is completely optional, it just saves build time
| Code: | | # nano /etc/locales.build |
8.3 - Building the toolkit
| Code: |
# emerge gcc-config mpfr glibc binutils libstdc++-v3 gcc |
8.4 - Running gcc-config and binutils-config
| Code: | # gcc-config -l
(view options)
1 ) i686-pc-linux-gnu-3.3.5_2005* (should be similar to this...)
2 - 5 ) (other hardned, etc compilers of 3.3.5)
6 ) i686-pc-linux-gnu-4.0.2* (should be similar to this...)
# gcc-config 6
# binutils-config -l
1 ) i686-pc-linux-gnu-2.6.15 *
2 ) i686-pc-linux-gnu-2.16.1
(should be similar to this)
# binutils-config 2
# emerge -aP binutils
# env-update; source /etc/profile |
8.6 - Changing the make.conf
Edit the make.conf to look like the following...
| Code: | CFLAGS="-O2 -march=$YOURARCH -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
ACCEPT_KEYWORDS="x86 ~x86"
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/local/portage
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
PORTAGE_NICENESS=10
AUTOCLEAN="yes"
FEATURES="distlocks userpriv"
USE="nptl nptlonly"
# The following for GCC-4.1 ONLY
I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1 |
8.7 - Rebuilding the toolkit
| Code: | | # emerge glibc binutils libstdc++-v3 gcc |
8.8 - Pruning the old Compiler
| Code: | | # emerge -aP gcc (make sure it wants to prune the old version) |
8.9 - Rebuilding the System
| Code: | | # emerge --emptytree system |
//END "SFLBSALAS" OPTION
8.10 - Masking BASELAYOUT-1.12_pre*
Particulary when following the PSANE install option, baselayout will give harmless, but costly and ugly boot problems. We SHOULD mask it and re-merge an older version
| Code: | # echo '=sys-apps/baselayout-1.12.0_pre*' >> /etc/portage/package.mask
# emerge baselayout
# etc-update |
9 Configuring the kernel
9.1 - Using Gentoo-Sources+Reiser4
Using Gentoo-Sources+Reiser4 is not required, you can use ck+reiser4, or external patchsets, such as nitro, archck, or dark, However, this is the most stable and easy way.
9.2 - Emerging Gentoo-Sources
(NOTE: Depending on which kernel you chose, substitute as necessary)
| Code: | # emerge gentoo-sources
(download the latest patch)
# wget ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.14/reiser4-for-2.6.14-1.patch.gz
# mv reiser4* /usr/src/linux
# cd /usr/src/linux
# gunzip -c reiser4* | patch -p1; rm reiser4* |
9.4 - Configuring and Compiling the kernel
-----
I can only help you out so much, what I can do is tell you how to get started, and what is required...
| Code: | # cd /usr/src/linux
# make menuconfig
|
| Code: | Required Options...
Code maturity level options --->
[*] Prompt for development and/or incomplete code/drivers
General setup --->
[*] Support for hot-pluggable devices
Loadable Module Support --->
[*] Module unloading support
Processor type and features --->
[*] Standard x86 support
(Change accordingly)
(Your Processor Family) Processor family
[*] Symmetric multi-processing support
[*] 1 GB Lowmem support (optional)
File systems --->
Pseudo Filesystems --->
[*] /proc file system support
[ ] /dev file system support (OBSOLETE)
[*] Virtual memory file system support (former shm fs)
<*> Ext3 journalling file system support
<*> Second extended fs support
<*> Reiser4 <EXPERIMENTAL)
< > Reiser4 debug mode
Device Drivers --->
ATA/ATAPI/MFM/RLL support --->
[*] Generic PCI bus-master DMA support
[*] Use PCI DMA by default when available
[*] SCSI Emulation Support
Device Drivers --->
Networking support --->
<*> PPP (point-to-point protocol) support
<*> PPP support for async serial ports
<*> PPP support for sync tty ports
100 MBIT/1000 MBIT --->
(make sure you compile in your proper network driver
Sound --->
[M] Sound card support
Alsa --->
PCI Cards --->
[M] Your Driver, mine is intel8x0, a common one is emu10k1 for soundblaster cards
USB Support --->
<*> USB Human Interface Device (full HID) support
Device Drivers > Graphics support:
[*] Support for frame buffer devices
<*> VESA VGA graphics support
VESA driver type (vesafb-tng) --->
(HRESxVRES@FREQ) VESA default mode # Pick your resolution - eg. 1024x768@80
Device Drivers > Graphics support > Console display driver support:
[*] Video mode selection support
<*> Framebuffer Console support
Device Drivers > Graphics support:
[*] Support for the framebuffer splash
Device Drivers > Block devices:
<*> RAM disk support
(4096) Default RAM disk size (kbytes) (NEW)
[*] Initial RAM disk (initrd) support |
9.5 - Emerging Grub
| Code: | (make sure the /boot partition is mounted)
# emerge grub |
The Conrad guide no longer supports installing on a root partition - it works fine on any other filesystem, but reiser4 and grub can cause serious problems, 99% of the time it will only boot to a grub CMDLINE
Windows users, your partition layout could look like this, 1-windows,2-swap,3-root,4-boot
9.6 - Compiling the Kernel
| Code: | | # make && make modules_install && make install |
10 - Emerging additional system files
10.1 Emerging necessary programs
| Code: |
# emerge syslog-ng reiser4progs e2fsprogs sysfsutils dhcpcd hotplug coldplug gentoolkit acpid
|
10.2 Adding the programs to the default runlevel
| Code: | # rc-update add syslog-ng default
# rc-update add net.eth0 default
# rc-update add hotplug default
# rc-update add coldplug default
# rc-update add acpid default |
11 - Setting up the framebuffer splash
If you followed the kernel compile options, you should have everything required
11.1 - Emerging splashutils and a few themes
| Code: | # emerge splashutils
# emerge splash-themes-gentoo
(or if you want bootsplash themes...)
# emerge --nodeps --oneshot bootsplash-themes
(splashutils converts them into gensplash themes*)
# rc-update add splash boot |
11.2 - Downloading the CONRAD-fbsplash theme - OPTIONAL
Preview1: http://www.bfgraphics.net/conrad-gentoo/lib/fbsplash1.png
Preview2: http://www.bfgraphics.net/conrad-gentoo/lib/fbsplash2.png
These are previews of the new conrad fbsplash theme - it supports 5 resolutions (640x480,800x600,1024x768,1280x1024, and 1600x1200)
It is a lot smoother, I had to take the first screenshot with the digital camera
| Code: | # wget bfgraphics.net/conrad-gentoo/lib/conrad-fbsplash.tar.bz2
# tar jxvf conrad-fbsplash.tar.bz2 -C /etc/splash |
11.2 - Generating an initramfs (initrd) image
| Code: | # cd /etc/splash
# splash_geninitramfs -v -g /boot/fbsplash-conrad -r 1024x768 conrad
# rm -rf /etc/splash/default/*
# ln -s /etc/splash/conrad/* /etc/splash/default/
|
12 - Setting up grub
12.1 - The CONRAD Custom Grub Splash
Brand new Conrad Grub Splash, will be seen on the next conrad livecd (unless it uses isolinux, it's in debate)
This custom splashimage is not totally conrad-based, it still states gentoo linux at the top in big bold letters
| Code: | Preview: http://www.bfgraphics.net/conrad/conrad-grub.png
Download:
http://bfgraphics.net/conrad/0.5.0/grub/conrad.xpm.gz |
12.2 - Grub.conf
| Code: |
Boot partition...
default 0
timeout 30 # amount of time (seconds) before grub boots the selected option
splashimage (hd0,0)/grub/conrad.xpm.gz
# The CONRAD Splash image is a very nice splash, that can be previewed above
title=Conrad-Gentoo
root (hd0,0) # boot partition
kernel /vmlinuz-2.6.14-gentoo-r5 root=/dev/hda3 video=vesafb:1024x768-16@80,mtrr,ywrap splash=silent,fadein,theme:gentoo quiet CONSOLE=/dev/tty1
initrd (hd0,0)/fbsplash-conrad
title=Windoze (if existent)
rootnoverify (hd0,3)
makeactive
chainloader +1
|
12.3 - Running grub to install grub
Note: GRUB will only install on reiser4 partitions if you installed it the reiser4 way
| Code: |
# grub
<grub:> root (hd0,0) # boot partition
# boot partiton
<grub:> setup (hd0)
<grub:> quit
|
13 - Configuring your system
13.1 - Editing configuration files
| Code: | # nano /etc/conf.d/hdparm
Add the following (OPTIONAL)
hda_args="-d1 -X69 -c1"
cdrom0_args="-d1" |
13.2 - Set your hostname and domainname
| Code: | # nano /etc/conf.d/hostname
(Set your hostname)
HOSTNAME="conrad-gentoo"
# nano /etc/hosts
127.0.0.1 localhost
..change to..
127.0.0.1 conrad-gentoo
# ^ = your hostname
|
| Code: | # nano /etc/conf.d/domainname
# DNSDOMAIN="gentoo.org"
# NISDOMAIN=""
- If you don't know what a nisdomain is, leave it blank |
Editing the /etc/conf.d/net
(Not necessary for dhcp users as of 2005.1)
| Code: | # nano /etc/conf.d/net
For possible lines, visit the Configuring the Network section in the Gentoo Handbook Here
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=8#doc_chap2 |
13.3 - Configuring FSTAB
| Code: | # nano /etc/fstab
# <fs> <mountpoint> <type> <opts> <dump/pass>
# Reiser4 Users use, noatime and nodiratime - in opts
/dev/hda1 /boot ext2 noauto,notail 1 2
/dev/hda3 / reiser4 notail 0 1
/dev/hda2 none swap sw 0 0
/dev/hdd /mnt/cdrom iso9660 user,noauto,ro,exec 0 0
/dev/fd0 /mnt/floppy auto noauto,users 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs nodev,nosuid 0 0 |
13.4 - Setting up users
First set the root password
| Code: | # passwd
<enter new password>
<confirm new password>
|
Then set up a user
| Code: | # useradd -m -G users,wheel conrad
# passwd conrad
<set conrads password |
14 - Rebooting and Booting!
14.1 - Rebooting And Unmounting
| Code: | # umount /boot
# umount /proc
# exit
# umount /mnt/gentoo
# reboot |
14.2 - Booting the system
Find yourself at a grub menu, and boot into your system
If you get a kernel panic then check to make sure you configured everything properly
15 - Other Configuration
15.1 - Looking at the possible use variables
| Code: | | # nano /usr/portage/profiles/use.desc |
There are tons of user variables, by x86 the following are used by default
| Code: | USE="x86 oss apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg kde gnome libg++
libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl pam pdflib png python qt quicktime readline sdl
slang spell ssl svga tcpd truetype X xml2 xmms xv zlib indent" |
15.2 - Setting USE Flags
There are tons of use flags to choose from, personally, I like a gnome/gtk/opengl/nvidia system, here is how I will set my use flags
| Code: | | # nano /etc/make.conf |
USE="nptl alsa X gtk gnome -qt -kde -arts win32codecs nvidia opengl"[/code]
15.3 - Deleting the 'netmount' service if it is unneeded
Most people don't need this, it will fail to start in most cases
| Code: | | # rc-update del netmount |
For more In-Depth configuration information, consult the Gentoo Handbook
16 - Installing Xorg-X11 and a graphical environment
16.1 - Emerging Xorg
16.2 - Getting an xorg.conf setup
This config *SHOULD* work on most systems
| Code: | # emerge mkxf86config
# mkxf86config.sh |
16.3 - FIXING CAIRO - REQUIRED FOR BINUTILS 2.16.9x
Bug #: http://bugs.gentoo.org/show_bug.cgi?id=113538
| Code: |
# wget http://bugs.gentoo.org/attachment.cgi?id=73553
# mv attachment* cairo-1.0.2-r1.ebuild
# mkdir -p /usr/local/portage/x11-libs/cairo
# mv cairo-1.0.2-r1.ebuild /usr/local/portage/x11-libs/cairo
# mkdir -p /usr/local/portage/x11-libs/cairo/files
# wget http://bugs.gentoo.org/attachment.cgi?id=73554
# mv attachment* cairo-1.0.2-pkg_macro.patch
# mv cairo-1.0.2-pkg* /usr/local/portage/x11-libs/cairo/files
# wget http://bugs.gentoo.org/attachment.cgi?id=73555
# mv attachment* pixman-remap.patch
# mv pixman-re* /usr/local/portage/x11-libs/cairo/files
# ebuild /usr/local/portage/x11-libs/cairo/cairo-1.0.2-r1.ebuild digest
|
16.4 - Installing GNOME or KDE
For Gnome...
| Code: | # emerge gnome gdm
(light)
# emerge gnome-light gdm |
For KDE
| Code: |
(monolithic)
# emerge kde gdm
(meta)
# emerge kde-meta gdm |
16.5 - Additional configuration
| Code: | # nano /etc/rc.conf
FIND
# DISPLAYMANAGER="xdm"
uncomment it and change it to GDM
# rc-update add xdm default
# xorgconfig
<go through this script>
|
16.6 - Graphics Drivers
If you have 3D acceleration on your card, you may want to, and should install the NVidia or ATI Drivers.
Gentoo NVIDIA Guide: http://www.gentoo.org/doc/en/nvidia-guide.xml
Gentoo-Wiki ATI Guide: http://gentoo-wiki.com/HOWTO_ATI_Drivers
16.7 - The CONRAD Wallpaper Archive
| Code: | # Wallpaper 1 - MacOSX/Conrad
http://www.bfgraphics.net/conrad/GFX/conrad-wallpapers/1-macosconrad/ |
17 - Configuring ALSA
For more information you may want to visit the Gentoo Linux Alsa Guide...
Gentoo Alsa Guide: http://www.gentoo.org/doc/en/alsa-guide.xml
17.1 - Emerging alsa-utils
| Code: | | # emerge alsa-utils |
17.2 - Running alsaconf
Since alsa 0.9 (i believe) there has been an excellent configurator script included for ALSA
17.3 - the asoundrc/asound.conf file
Phaeronix has made an excellent asound.conf file, here is the url to it, copy it and past it in either ~/user/.asoundrc, or /etc/asound.conf
| Code: | www.phaeronix.net
----
Go to the "Alsa Config" Section |
17.4 - Editing Additional Files
| Code: | # nano /etc/modules.d/alsa
<Find near the botton snd-***, and sound-***>
change *** to your sound card name, for example...
snd-intel8x0 sound-intel8x0
snd-emu10k1 sound-emu10k1 |
17.5 - Adding alsasound to the default runlevel
| Code: | | # rc-update add alsasound default |
Now alsa should be successfully configured, and configured right - Additional tools you may use could be, alsamixer, amixer, etc
18 - Keeping your system up-to-date
18.2 - Updating the world
First of all always keep the sync up-to-date, a emerge sync once a day atleast is reccomended
TO update all the packages, run
//End Conrad Guide
-----
Well this brings us to our end, I hope you the best of luck.
Now your system should be on the edge in speed and it should be the most up-to-date system once installed.
Your system (hopefully) Now includes...
* Reiser4 Filesystem (possibly)
* GCC 4.0.2 based system
* The LATEST Packages portage has to offer
* The speed of a military jet x 3
* A very nice boot-up splash with a progress bar
-----
Please leave your feedback, suggestions,support issues or other related things to conrad in this forum.
Do not post gentoo issues in this forum, only related issues with following this guide.
//End Conrad Installation Guide 1.0.x
For Support
For support issues, post in this forum.
If you need other assistance, have suggestions, or need to contact me personally, do so at.
Email: conrad-gentoo@bfgraphics.net
AIM: cheater1034
IRC: #conrad
------
Be sure to check out the Conrad Gentoo Projects Home Page
------
If you are interested in developing/help develop something for Conrad Gentoo Projects, email me at, conrad-gentoo@bfgraphics.net
If you used this to install gentoo - Thankyou, I hope your install went well.
We ask all who try this to take a few moments of their time to type what they thought of the install, how easy it was, and how it works.
Thankyou
- Cheater1034
Like it?
If you tried this, and liked it - Why not tell a friend or two? Maybe even add it to your signature
Donate (Hardware or through PayPal
I wont beg anyone for donations - anywhere from $1-$1000 is accepted and appreciated (well maybe $1000 a little bit more )
If you have some extra money or obsolete computer parts - I would love any of it
Currently, Conrad is all built on, 1 Machine : AMD Athlon 64 2800+ (O/C'd 200 mhz to 3000+ speed), 768 MB Ram, 120 GB ATA133 HDD
I have a second built machine, a Duron 1.2 GHZ - with everything needed to run, except no hard drive (A HDD donation for this machine would be a big help:)
If you are interested in helping Conrad get better hosting ($20/mo for 400 GB Bandwidth and 10 GB space) or helping us get new build machines to setup and built constantly new concepts for conrad, it is a big help to donate.
PayPal - 1
If you are interested in helping Conrad Gentoo Projects through a small cash donation (PayPal) Please do the following:
1. Go to http://conrad-gentoo.bfgraphics.net/
2. Go to the support page (link at top of page)
3. Click the "Make a Donation" button at the bottom of the support page
Hardware - 2
Any hardware donation is accepted (except ISA Cards and P2 or lower class CPUs)
If you have any of the following items - (CPUs, Hard Drives, Memory Sticks, Motherboards, Vid Cards, or already Built systems, etc) - That aren't in use, why not Donate them to Conrad? I will pay for shipping on any item you donate
HOWTO:
1. Email conrad-gentoo@bfgraphics.net with the item you are willing to donate, a picture (for proof), and your PayPal account information - and a shipping quote from UPS, USPS, DHL, Fed-Ex, etc. I will send you the electronic funds through paypal.
All donors will be recognized in [b]red bold letters in this guide, the pages of all the other Conrad releases, and the official conrad website [/b]
-----
Future Conrad Projects
* Conrad Stage3 Install Tarballs - (GCC 4.0 Enabled - Athlon-XP, i686, i586, Pentium3 <maybe>, pentium4 <maybe>, prescott <maybe>) - They can be used in this install to save a bundle of time.
-----
Again, if you are interested in joining Conrad Development, email me at, conrad-gentoo@bfgraphics.net - If you have any suggestions, also reach me there
Post all support issues in this thread _________________ JOIN IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
Zen bugs/requests?: http://zen-kernel.org/issues
--
Join: ARCFPWDLVEFOTTSBNA - Anti-Rice club for people who don't like volcanoes except for on the TVs sometimes but not always
Last edited by cheater1034 on Mon Jan 16, 2006 10:19 pm; edited 26 times in total |
|
| Back to top |
|
 |
nesl247 Veteran

Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Thu Dec 22, 2005 7:21 am Post subject: |
|
|
Nxsty said that the only binutils that has the -Bdirect patch is the 2.16.1 version.. At least if my memory serves me right... That means that you do not get -Bdirect with your PSANE version..
Checking the 2.16.90.x versions of binutils also shows that there are no patches for it. So unless upstream has included it, it is not included and will not work. |
|
| Back to top |
|
 |
enderandrew l33t


Joined: 25 Oct 2005 Posts: 731
|
Posted: Thu Dec 22, 2005 7:45 am Post subject: |
|
|
Other than nes's observation, this install method just gets better and better.
Good work! _________________ Nihilism makes me smile. |
|
| Back to top |
|
 |
nesl247 Veteran

Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Thu Dec 22, 2005 7:54 am Post subject: |
|
|
Another thing to point out is that for nxsty's overlay he suggests using the 'glibc-omitfp' USE flag.
One other suggestion would be to initially replace glibc with nxsty's overlay instead of after the first build of the toolchain. |
|
| Back to top |
|
 |
cheater1034 Veteran


Joined: 09 Sep 2004 Posts: 1551
|
Posted: Thu Dec 22, 2005 2:43 pm Post subject: |
|
|
Oh really, I guess I will downgrade it to explain binutils 2.16.1, and I will add the glibc-omitfp to the USE flags of the "Psane"
*Edit*
I also added after all those steps 8.10/8.11, to mask baselayout-1.12.0_pre* (optional) because it was giving me boot problems, and using an older version resolved it. _________________ JOIN IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
Zen bugs/requests?: http://zen-kernel.org/issues
--
Join: ARCFPWDLVEFOTTSBNA - Anti-Rice club for people who don't like volcanoes except for on the TVs sometimes but not always |
|
| Back to top |
|
 |
arkaine n00b

Joined: 23 Jun 2004 Posts: 62 Location: Ohio
|
Posted: Fri Dec 23, 2005 5:01 pm Post subject: |
|
|
| cheater1034 wrote: | *Edit*
I also added after all those steps 8.10/8.11, to mask baselayout-1.12.0_pre* (optional) because it was giving me boot problems, and using an older version resolved it. |
Could this be because of the latest bash ...(well until it was masked)? (read the latest package.mask entry) |
|
| Back to top |
|
 |
cheater1034 Veteran


Joined: 09 Sep 2004 Posts: 1551
|
Posted: Fri Dec 23, 2005 5:13 pm Post subject: |
|
|
| arkaine wrote: | | cheater1034 wrote: | *Edit*
I also added after all those steps 8.10/8.11, to mask baselayout-1.12.0_pre* (optional) because it was giving me boot problems, and using an older version resolved it. |
Could this be because of the latest bash ...(well until it was masked)? (read the latest package.mask entry) |
Is this the entry you are referring to?
| /usr/portage/profiles/package.mask wrote: | # Diego Pettenò <flameeyes@gentoo.org> (11 Dec 2005)
# This version does not work with current baselayout, net.lo fails to start.
# See bug #115142.
=app-shells/bash-3.1* |
if it is, That is not the problem, currently, I have "app-shells/bash-3.0-r12" installed and it does not work. I dont know what the problem could be, baselayout 1.12.0_pre* always worked for me before  _________________ JOIN IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
Zen bugs/requests?: http://zen-kernel.org/issues
--
Join: ARCFPWDLVEFOTTSBNA - Anti-Rice club for people who don't like volcanoes except for on the TVs sometimes but not always |
|
| Back to top |
|
 |
nesl247 Veteran

Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Fri Dec 23, 2005 6:13 pm Post subject: |
|
|
| Try upgrading to r14 of bash and then upgrade baselayout. |
|
| Back to top |
|
 |
andrew_wiggin n00b


Joined: 21 Apr 2005 Posts: 59 Location: Israel
|
Posted: Fri Dec 23, 2005 6:22 pm Post subject: |
|
|
installing it ATM
btw, why you don't specify the -mtune flag anymore? |
|
| Back to top |
|
 |
nesl247 Veteran

Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Fri Dec 23, 2005 6:34 pm Post subject: |
|
|
| If I am correct mtune is only used when you want to have optimizations for a different machine (athlon-xp on build and i686 on target machine).. So if you just specify -march it implies -mtune to be for the same value of -march. |
|
| Back to top |
|
 |
cheater1034 Veteran


Joined: 09 Sep 2004 Posts: 1551
|
Posted: Fri Dec 23, 2005 6:56 pm Post subject: |
|
|
nesl247 put it very well
-march will imply -mtune _________________ JOIN IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
Zen bugs/requests?: http://zen-kernel.org/issues
--
Join: ARCFPWDLVEFOTTSBNA - Anti-Rice club for people who don't like volcanoes except for on the TVs sometimes but not always |
|
| Back to top |
|
 |
thewally l33t


Joined: 12 May 2005 Posts: 703 Location: Genova
|
Posted: Fri Dec 23, 2005 9:28 pm Post subject: |
|
|
Another good job
Works fine on my laptop
But my CFLAGS are a little bit exaggerated...
Maybe I'll downgrade to yours... _________________ Proudly Member of GeCHI |
|
| Back to top |
|
 |
nesl247 Veteran

Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Fri Dec 23, 2005 9:49 pm Post subject: |
|
|
| I never did say thank you cheater.. Used your install guide quite a bit.. (You plan on upgrading to gcc 4.1 at anytime?) |
|
| Back to top |
|
 |
cheater1034 Veteran


Joined: 09 Sep 2004 Posts: 1551
|
Posted: Fri Dec 23, 2005 9:59 pm Post subject: |
|
|
| nesl247 wrote: | | I never did say thank you cheater.. Used your install guide quite a bit.. (You plan on upgrading to gcc 4.1 at anytime?) |
Not a problem - thankyou for your interest! , GCC-4.1 is still snapshots, I am waiting for an official release  _________________ JOIN IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
Zen bugs/requests?: http://zen-kernel.org/issues
--
Join: ARCFPWDLVEFOTTSBNA - Anti-Rice club for people who don't like volcanoes except for on the TVs sometimes but not always |
|
| Back to top |
|
 |
gatliff n00b

Joined: 27 Feb 2005 Posts: 36
|
Posted: Sat Dec 24, 2005 3:49 am Post subject: |
|
|
| can you just do the gcc 4.0.2 part with out doing a all new build I useing kororaa beta2 it a new install |
|
| Back to top |
|
 |
cheater1034 Veteran


Joined: 09 Sep 2004 Posts: 1551
|
Posted: Sat Dec 24, 2005 4:02 am Post subject: |
|
|
| gatliff wrote: | | can you just do the gcc 4.0.2 part with out doing a all new build I useing kororaa beta2 it a new install |
Sure, its quite easy - just make sure you remove the make.conf before beginning in fact, I tested kororaa, and am converting it to the "Psane" right now
Also, instead of emerge -e system, you will want, emerge -e world, and preferablly, emerge -e system && emerge -e world _________________ JOIN IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
Zen bugs/requests?: http://zen-kernel.org/issues
--
Join: ARCFPWDLVEFOTTSBNA - Anti-Rice club for people who don't like volcanoes except for on the TVs sometimes but not always |
|
| Back to top |
|
 |
cheater1034 Veteran


Joined: 09 Sep 2004 Posts: 1551
|
Posted: Sat Dec 24, 2005 9:32 pm Post subject: |
|
|
Upgraded to 1.0.1, added GCC-4.1_beta* option to go along with the default GCC-4.0 option
Also made LSANE the default install option _________________ JOIN IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
Zen bugs/requests?: http://zen-kernel.org/issues
--
Join: ARCFPWDLVEFOTTSBNA - Anti-Rice club for people who don't like volcanoes except for on the TVs sometimes but not always |
|
| Back to top |
|
 |
nesl247 Veteran

Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Sun Dec 25, 2005 4:47 am Post subject: |
|
|
| If you didn't already I would suggest adding a notice that using gcc4.1 tends to break a few packages such as fluxbox and baghira (kde style/theme/etc). |
|
| Back to top |
|
 |
cheater1034 Veteran


Joined: 09 Sep 2004 Posts: 1551
|
Posted: Sun Dec 25, 2005 4:56 am Post subject: |
|
|
| nesl247 wrote: | | If you didn't already I would suggest adding a notice that using gcc4.1 tends to break a few packages such as fluxbox and baghira (kde style/theme/etc). |
Just added a warning I tagged them all as 4.0/4.1_beta* so they know its beta, and I made 4.0 the default  _________________ JOIN IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
Zen bugs/requests?: http://zen-kernel.org/issues
--
Join: ARCFPWDLVEFOTTSBNA - Anti-Rice club for people who don't like volcanoes except for on the TVs sometimes but not always |
|
| Back to top |
|
 |
enderandrew l33t


Joined: 25 Oct 2005 Posts: 731
|
Posted: Sun Dec 25, 2005 5:47 am Post subject: |
|
|
I have gcc 4.1-beta and 4.02 both installed in different slots. If I run into a package that 4.1 breaks, I can emerge it with 4.02 _________________ Nihilism makes me smile. |
|
| Back to top |
|
 |
andrew_wiggin n00b


Joined: 21 Apr 2005 Posts: 59 Location: Israel
|
Posted: Wed Dec 28, 2005 11:57 am Post subject: |
|
|
I just finished emerging everything (xorg 6.8.2 , gnome)
execpt cairo I didn't have any problems.
this method is GREAT, by far the fastest system I've every had  |
|
| Back to top |
|
 |
cheater1034 Veteran


Joined: 09 Sep 2004 Posts: 1551
|
Posted: Wed Dec 28, 2005 7:14 pm Post subject: |
|
|
| andrew_wiggin wrote: | I just finished emerging everything (xorg 6.8.2 , gnome)
execpt cairo I didn't have any problems.
this method is GREAT, by far the fastest system I've every had  |
Did you fix cairo? It is explained in the guide right before the X/kde/gnome section
and good to hear you like it  _________________ JOIN IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
Zen bugs/requests?: http://zen-kernel.org/issues
--
Join: ARCFPWDLVEFOTTSBNA - Anti-Rice club for people who don't like volcanoes except for on the TVs sometimes but not always |
|
| Back to top |
|
 |
cold_flame Tux's lil' helper


Joined: 23 Jun 2003 Posts: 88 Location: Australia
|
Posted: Sat Dec 31, 2005 3:18 am Post subject: |
|
|
Harro,
I'm about half way thorugh the LSANE option and i'm having a bit of difficulties. After inserting the LDFLAGS line into my make.conf, glibc wont compile. it bombs out at
| Code: |
checking size of long double... configure:error: cannot compute sizeof (long double), 77
|
haveing a look at the config.log seems to imply that the ldflags are being passed as compiler arguments (?)
| Code: |
configure:7019: i686-pc-linux-gnu-gcc -o conftest -march=pentium4 -pipe -O2 -WI,-O1 -WI,--sort-common -s conftest.c >&5
cc1: error: unrecognized command line option "-WI,O1"
cc1: error: unrecognized command line option "WI,--sort-common"
|
any ideas? thanks
if you need more info just say. atm i have to manually write it out so i kinda cbf other than what i've posted, i'm pretty sure i followed the guide accurately
[edit]
i found a way around it, by adding the linker arguments as -Xlinker <args> in the cflags section. hackish i know, i just wanted to get it compiling.
if anyone knows a proper cause/solution, i would be glad to hear it
[/edit] |
|
| Back to top |
|
 |
cheater1034 Veteran


Joined: 09 Sep 2004 Posts: 1551
|
Posted: Sat Dec 31, 2005 3:34 am Post subject: |
|
|
| cold_flame wrote: | Harro,
I'm about half way thorugh the LSANE option and i'm having a bit of difficulties. After inserting the LDFLAGS line into my make.conf, glibc wont compile. it bombs out at
| Code: |
checking size of long double... configure:error: cannot compute sizeof (long double), 77
|
haveing a look at the config.log seems to imply that the ldflags are being passed as compiler arguments (?)
| Code: |
configure:7019: i686-pc-linux-gnu-gcc -o conftest -march=pentium4 -pipe -O2 -WI,-O1 -WI,--sort-common -s conftest.c >&5
cc1: error: unrecognized command line option "-WI,O1"
cc1: error: unrecognized command line option "WI,--sort-common"
|
any ideas? thanks
if you need more info just say. atm i have to manually write it out so i kinda cbf other than what i've posted, i'm pretty sure i followed the guide accurately
[edit]
i found a way around it, by adding the linker arguments as -Xlinker <args> in the cflags section. hackish i know, i just wanted to get it compiling.
if anyone knows a proper cause/solution, i would be glad to hear it
[/edit] |
The solution is simple Just an easy mistake made in the creation of the make.conf
# nano /etc/make.conf
LDFLAGS="...-WI,-O1"
It SHOULD be -Wl (as in the letter 'L') not the number "1" or letter "I"
Change it to -Wl and it should work  _________________ JOIN IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
Zen bugs/requests?: http://zen-kernel.org/issues
--
Join: ARCFPWDLVEFOTTSBNA - Anti-Rice club for people who don't like volcanoes except for on the TVs sometimes but not always |
|
| Back to top |
|
 |
cold_flame Tux's lil' helper


Joined: 23 Jun 2003 Posts: 88 Location: Australia
|
Posted: Sat Dec 31, 2005 3:51 am Post subject: |
|
|
oic....
thanks
i thought i had it fixed when i changed it from 1 to i !
but alas, it was l. thanks alot. maybe we could put a little note near them or something? the default font on the boards makes it somewhat hard to tell..
thx for a great guide
 |
|
| 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
|
|