Re: [gentoo-user] Minimal Gentoo install

2003-07-28 Thread Prabhat Gupta
Hi Vano,

Can you give me little more detail on the procedure. Here is my 
understanding:

1. Untar the stagex in   /xxx/slow/  on fast machine

2. chroot  /xxx/slow  /bin/bash

3. make changes to make.conf

4. bootstrap

5. emerge kernel sources

6. compile kernel

7. emerge XFree

8.  emerge kde-base

9. Go to slow machine

10.  WHAT NEXT ??  The slow machine has a swap parition and a ROOT 
parition. I have not used rsync.  How to boot the slow machine?

Thanks for your help
Prabhat
Vano D wrote:

On Fri, 2003-07-25 at 18:01, Prabhat Gupta wrote:

 

You'll be lucky to get XFree and KDE compiled and configured on those old 
machines within 24 hours even if you have no problems.

Puggy



 

:(( ~ ~ ~

   

What is wrong with compiling your system under chroot in a fast box and
then rsync -a it to your slower machine? I have also tarred whole system
and transferred them to slower machines.. all ok
You basically untar the stagex file to a dir on the fast machine, set
the compile flags in /etc/make.conf so it is a pentium, bootstrap it,
emerge whatever you want and even configure the whole thing, then chroot
out of the dir, either use rsync -a to copy the system dir to the / of
the slow machine, or use tar to create a tarball or tar it over the
network.
Cheers,

 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-28 Thread Andrew Gaffney
Prabhat Gupta wrote:
Hi Vano,

Can you give me little more detail on the procedure. Here is my 
understanding:

1. Untar the stagex in   /xxx/slow/  on fast machine

2. chroot  /xxx/slow  /bin/bash

3. make changes to make.conf

4. bootstrap

5. emerge kernel sources

6. compile kernel

7. emerge XFree

8.  emerge kde-base

9. Go to slow machine
10. exit chroot

11. tar -cjpf slowmachine.tar.bz2 /xxx/slow

12. burn slowmachine.tar.bz2 to CD

13. boot slow machine with LiveCD. use 'gentoo cdcache' so you can take 
out the CD after it boots.

14. format your main partition and mount it like it says in the install docs

15. pop in other CD. mount it

16. follow install doc instructions for extracting stage file, except 
use file that you burned to the CD

17. follow install directions starting after kernel compile

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-28 Thread Pat Kerwan


On Mon, Jul 28, 2003 at 11:58:21AM -0400, Prabhat Gupta wrote:
 Hi Vano,
 
 Can you give me little more detail on the procedure. Here is my 
 understanding:
 
 1. Untar the stagex in   /xxx/slow/  on fast machine
 
 2. chroot  /xxx/slow  /bin/bash
 
 3. make changes to make.conf
 
 4. bootstrap
 
 5. emerge kernel sources
 
 6. compile kernel
 
 7. emerge XFree
 
 8.  emerge kde-base
 

9. Tar up /xxx/slow

From here, you have a few options:

10. Take the HD from slow machine to fast machine

11. mount the root partition to /mnt/gentoo

12. mount the boot partition to /mnt/gentoo/boot

13. copy the tarball to /mnt/gentoo

14. cd to /mnt/gentoo and untar it

15. chroot to /mnt/gentoo

16. Install grub/lilo

Alternately, you could take the fast machine's HD to slow machine.

Lastly, if you have NFS set up on your fast machine, you could:

10. Export /xxx/slow with NFS

11. Boot slow machine with the Live CD

12. Set up the /mnt/gentoo and /mnt/gentoo/boot mount points as usual

13. mount the NFS share to /mnt/slow

14. copy tarball from /mnt/slow to /mnt/gentoo

15. cd to /mnt/gentoo and untar it

16. chroot to /mnt/gentoo

17. Install grub/lilo

- PK

 9. Go to slow machine
 
 10.  WHAT NEXT ??  The slow machine has a swap parition and a ROOT 
 parition. I have not used rsync.  How to boot the slow machine?
 
 
 Thanks for your help
 Prabhat
 
 
 Vano D wrote:
 
 On Fri, 2003-07-25 at 18:01, Prabhat Gupta wrote:
 
  
 
 You'll be lucky to get XFree and KDE compiled and configured on those 
 old machines within 24 hours even if you have no problems.
 
 Puggy
 
 
 
  
 
 :(( ~ ~ ~
 

 
 
 What is wrong with compiling your system under chroot in a fast box and
 then rsync -a it to your slower machine? I have also tarred whole system
 and transferred them to slower machines.. all ok
 
 You basically untar the stagex file to a dir on the fast machine, set
 the compile flags in /etc/make.conf so it is a pentium, bootstrap it,
 emerge whatever you want and even configure the whole thing, then chroot
 out of the dir, either use rsync -a to copy the system dir to the / of
 the slow machine, or use tar to create a tarball or tar it over the
 network.
 
 Cheers,
 
  
 
 
 -- 
 P r a b h a t  G u p t a 
 /\/\*
 
 Senior Software Engineer
 Alternative System Concepts, Inc.
 www.ascinc.com
 22 Haverhill Road
 Windham, NH 03087
 
 Phone: (603) 437-2234  (o)
 
 
 
 
 --
 [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Minimal Gentoo install

2003-07-28 Thread Prabhat Gupta
What if I CAN'T boot from CD :(

Regards
Prabhat
Pat Kerwan wrote:

On Mon, Jul 28, 2003 at 11:58:21AM -0400, Prabhat Gupta wrote:
 

Hi Vano,

Can you give me little more detail on the procedure. Here is my 
understanding:

1. Untar the stagex in   /xxx/slow/  on fast machine

2. chroot  /xxx/slow  /bin/bash

3. make changes to make.conf

4. bootstrap

5. emerge kernel sources

6. compile kernel

7. emerge XFree

8.  emerge kde-base

   

9. Tar up /xxx/slow

From here, you have a few options:
10. Take the HD from slow machine to fast machine

11. mount the root partition to /mnt/gentoo

12. mount the boot partition to /mnt/gentoo/boot

13. copy the tarball to /mnt/gentoo

14. cd to /mnt/gentoo and untar it

15. chroot to /mnt/gentoo

16. Install grub/lilo

Alternately, you could take the fast machine's HD to slow machine.

Lastly, if you have NFS set up on your fast machine, you could:

10. Export /xxx/slow with NFS

11. Boot slow machine with the Live CD

12. Set up the /mnt/gentoo and /mnt/gentoo/boot mount points as usual

13. mount the NFS share to /mnt/slow

14. copy tarball from /mnt/slow to /mnt/gentoo

15. cd to /mnt/gentoo and untar it

16. chroot to /mnt/gentoo

17. Install grub/lilo

- PK

 

9. Go to slow machine

10.  WHAT NEXT ??  The slow machine has a swap parition and a ROOT 
parition. I have not used rsync.  How to boot the slow machine?

Thanks for your help
Prabhat
Vano D wrote:

   

On Fri, 2003-07-25 at 18:01, Prabhat Gupta wrote:



 

You'll be lucky to get XFree and KDE compiled and configured on those 
old machines within 24 hours even if you have no problems.

Puggy



   

 

:(( ~ ~ ~

 

   

What is wrong with compiling your system under chroot in a fast box and
then rsync -a it to your slower machine? I have also tarred whole system
and transferred them to slower machines.. all ok
You basically untar the stagex file to a dir on the fast machine, set
the compile flags in /etc/make.conf so it is a pentium, bootstrap it,
emerge whatever you want and even configure the whole thing, then chroot
out of the dir, either use rsync -a to copy the system dir to the / of
the slow machine, or use tar to create a tarball or tar it over the
network.
Cheers,



 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list
   



--
[EMAIL PROTECTED] mailing list


 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-28 Thread Andrew Gaffney
Prabhat Gupta wrote:
What if I CAN'T boot from CD :(
There was something in the most recent GWN about making Gentoo boot 
floppies. http://www.gentoo.org/news/en/gwn/current.xml

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


[gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta
Hi All,

I am trying to install a minimal gentoo on an IBM Thinkpad 760XL.

The laptop has 1.6G free space on ROOT partition. Currently I am 
bootstrapping the system.

I want a minimal system to do some C++ development. I need GCC, make, 
CVS, shells.

I also need minimal KDE.

What should be my next steps after BOOTSTRAPPING?

-Thanks for your help

--
P r a b h a t  G u p t a 
/\/\*



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Håvard Wall


Prabhat Gupta wrote:
Hi All,

I am trying to install a minimal gentoo on an IBM Thinkpad 760XL.

The laptop has 1.6G free space on ROOT partition. Currently I am 
bootstrapping the system.

I want a minimal system to do some C++ development. I need GCC, make, 
CVS, shells.

I also need minimal KDE.

What should be my next steps after BOOTSTRAPPING?
and installing a kernel and the other things in the installation guide?

emerge -uv kde

and I belive you should have everything you asked for. KDE takes a lot 
of space though, you would probably have to clean out 
/usr/portage/distfiles and maybe /var/tmp/portage from time to time.

--
hw
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta
Håvard Wall wrote:



Prabhat Gupta wrote:

Hi All,

I am trying to install a minimal gentoo on an IBM Thinkpad 760XL.

The laptop has 1.6G free space on ROOT partition. Currently I am 
bootstrapping the system.

I want a minimal system to do some C++ development. I need GCC, make, 
CVS, shells.

I also need minimal KDE.

What should be my next steps after BOOTSTRAPPING?


and installing a kernel and the other things in the installation guide?

emerge -uv kde

and I belive you should have everything you asked for. KDE takes a lot 
of space though, you would probably have to clean out 
/usr/portage/distfiles and maybe /var/tmp/portage from time to time.

Thanks,
I will look at the emerge option -v.  When should I clean the 
/usr/portage/distfiles and how?

I plan to use gentoo-sources for kernel. Can I clean source files for 
the kernel after kernel installation?

Also before emerge -uv kde, I have to emerge xfree too, right? Is 
there a way to reduce the space requirement
for xfree? I know the graphics chip of the thinkpad 760XL, it is  
Trident CYBER9385.

Regards

--
P r a b h a t  G u p t a 
/\/\*





--
[EMAIL PROTECTED] mailing list


RE: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Condon Thomas A KPWA
Prabhat Gupta wrote:
 Hi All,
 
 I am trying to install a minimal gentoo on an IBM Thinkpad 760XL.
 
 The laptop has 1.6G free space on ROOT partition. Currently I am
 bootstrapping the system.
 
 I want a minimal system to do some C++ development. I need GCC, make,
 CVS, shells.
 
 I also need minimal KDE.
 
 What should be my next steps after BOOTSTRAPPING?

Since Gentoo comes up with multiple consoles using the F1-F6 keys why do you
need KDE?  If you really want a minimal system this would seem superfluous.


In Harmony's Way, and In A Chord,

Tom  :-})

Thomas A. Condon
Barbershop Bass Singer
Registered Linux User #154358
A Jester Unemployed

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Håvard Wall
Thanks,
I will look at the emerge option -v.  When should I clean the 
/usr/portage/distfiles and how?
Actually, you should do an emerge -uvp kde first. This will list all 
the packages which will be installed.

When a package gets installed, portage downloads the source in 
/usr/portage/distfiles. The source will be unpacked and compiled in 
/var/tmp/portage. After a package is installed, you could remove its 
source from /usr/portage/distfiles. I belive /var/tmp/portage gets 
cleaned out automaticly though.

--
hw


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta


Condon Thomas A KPWA wrote:

Prabhat Gupta wrote:
 

Hi All,

I am trying to install a minimal gentoo on an IBM Thinkpad 760XL.

The laptop has 1.6G free space on ROOT partition. Currently I am
bootstrapping the system.
I want a minimal system to do some C++ development. I need GCC, make,
CVS, shells.
I also need minimal KDE.

What should be my next steps after BOOTSTRAPPING?
   

Since Gentoo comes up with multiple consoles using the F1-F6 keys why do you
need KDE?  If you really want a minimal system this would seem superfluous.
In Harmony's Way, and In A Chord,

Tom  :-})

 

Hi Tom,

Sometime it feels good to debug using DDD rather using plain gdb.

Anyway my boss needs 4-5 of those junk laptops to demostrate compute 
farms and he need some graphics.

I am looking for ideas to reduce the space requirment and also compile 
time. I have only 24 hrs left for this :(

--
P r a b h a t  G u p t a 
/\/\*





--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Ciaran McCreesh
Prabhat Gupta wrote:
I am looking for ideas to reduce the space requirment and also compile 
time. I have only 24 hrs left for this :(
Consider using distcc to speed up compile time. I've never used it 
myself, but I've heard good things about it. Better yet, do the 
compiling on an insanely overspecced server and cp the filesystem onto 
your laptop afterwards :)

Condiser NFS/iSCSI/whatever for /var/tmp/portage and /usr/portage . You 
should only need those when installing things, so it might be okay to 
put them on a different box...

Don't emerge kde. Emerge kde-base and whatever else you need.

HTH,
--
Ciaran McCreesh
mail:  ciaranm*firedrop#org#uk


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Douglas Russell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 25 July 2003 4:48 pm, Prabhat Gupta wrote:
 Condon Thomas A KPWA wrote:
 Prabhat Gupta wrote:
 Hi All,
 
 I am trying to install a minimal gentoo on an IBM Thinkpad 760XL.
 
 The laptop has 1.6G free space on ROOT partition. Currently I am
 bootstrapping the system.
 
 I want a minimal system to do some C++ development. I need GCC, make,
 CVS, shells.
 
 I also need minimal KDE.
 
 What should be my next steps after BOOTSTRAPPING?
 
 Since Gentoo comes up with multiple consoles using the F1-F6 keys why do
  you need KDE?  If you really want a minimal system this would seem
  superfluous.
 
 
 In Harmony's Way, and In A Chord,
 
 Tom  :-})

 Hi Tom,

 Sometime it feels good to debug using DDD rather using plain gdb.

 Anyway my boss needs 4-5 of those junk laptops to demostrate compute
 farms and he need some graphics.

 I am looking for ideas to reduce the space requirment and also compile
 time. I have only 24 hrs left for this :(

You'll be lucky to get XFree and KDE compiled and configured on those old 
machines within 24 hours even if you have no problems.

Puggy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/IVXPXYnvgFdTojMRAgJfAJ9o+QGsHSBA+inpTGPQepgVeZ9IXwCeNBpp
hM9OgtOe58fA3L5aQTJlhI4=
=hZ/K
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta


Jason Stubbs wrote:

On Saturday 26 July 2003 00:39, Håvard Wall wrote:
 

Prabhat Gupta wrote:
   

Hi All,

I am trying to install a minimal gentoo on an IBM Thinkpad 760XL.

The laptop has 1.6G free space on ROOT partition. Currently I am
bootstrapping the system.
I want a minimal system to do some C++ development. I need GCC, make,
CVS, shells.
I also need minimal KDE.

What should be my next steps after BOOTSTRAPPING?
 

and installing a kernel and the other things in the installation guide?

emerge -uv kde

and I belive you should have everything you asked for. KDE takes a lot
of space though, you would probably have to clean out
/usr/portage/distfiles and maybe /var/tmp/portage from time to time.
   

emerge kde will install all kde components. If you just want a minimal kde 
installation, emerge kdebase and that's what you will get. kdebase depends on 
kdelibs so only those two packages will be installed. Check under 
/usr/portage/kde-base/ for further information.

Jason

 

Thanks Jason,
I will look into that.
--
P r a b h a t  G u p t a 
/\/\*





--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta


Ciaran McCreesh wrote:

Prabhat Gupta wrote:

I am looking for ideas to reduce the space requirment and also 
compile time. I have only 24 hrs left for this :(


Consider using distcc to speed up compile time. I've never used it 
myself, but I've heard good things about it. Better yet, do the 
compiling on an insanely overspecced server and cp the filesystem onto 
your laptop afterwards :)

Condiser NFS/iSCSI/whatever for /var/tmp/portage and /usr/portage . 
You should only need those when installing things, so it might be okay 
to put them on a different box...

Don't emerge kde. Emerge kde-base and whatever else you need.

HTH,
Thanks,

Any ideas, how to use distcc? I am currently doing bootstrapping.

Also I do have a fast machine with gentoo installed but I don't know how 
to setup NFS and use it for installation?

Any pointers?

--
P r a b h a t  G u p t a 
/\/\*





--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta


Douglas Russell wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Friday 25 July 2003 4:48 pm, Prabhat Gupta wrote:
 

Condon Thomas A KPWA wrote:
   

Prabhat Gupta wrote:
 

Hi All,

I am trying to install a minimal gentoo on an IBM Thinkpad 760XL.

The laptop has 1.6G free space on ROOT partition. Currently I am
bootstrapping the system.
I want a minimal system to do some C++ development. I need GCC, make,
CVS, shells.
I also need minimal KDE.

What should be my next steps after BOOTSTRAPPING?
   

Since Gentoo comes up with multiple consoles using the F1-F6 keys why do
you need KDE?  If you really want a minimal system this would seem
superfluous.
In Harmony's Way, and In A Chord,

Tom  :-})
 

Hi Tom,

Sometime it feels good to debug using DDD rather using plain gdb.

Anyway my boss needs 4-5 of those junk laptops to demostrate compute
farms and he need some graphics.
I am looking for ideas to reduce the space requirment and also compile
time. I have only 24 hrs left for this :(
   

You'll be lucky to get XFree and KDE compiled and configured on those old 
machines within 24 hours even if you have no problems.

Puggy

 

:(( ~ ~ ~

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Jason Stubbs
On Saturday 26 July 2003 00:48, Prabhat Gupta wrote:
 Condon Thomas A KPWA wrote:
 Prabhat Gupta wrote:
 Hi All,
 
 I am trying to install a minimal gentoo on an IBM Thinkpad 760XL.
 
 The laptop has 1.6G free space on ROOT partition. Currently I am
 bootstrapping the system.
 
 I want a minimal system to do some C++ development. I need GCC, make,
 CVS, shells.
 
 I also need minimal KDE.
 
 What should be my next steps after BOOTSTRAPPING?
 
 Since Gentoo comes up with multiple consoles using the F1-F6 keys why do
  you need KDE?  If you really want a minimal system this would seem
  superfluous.
 
 
 In Harmony's Way, and In A Chord,
 
 Tom  :-})

 Hi Tom,

 Sometime it feels good to debug using DDD rather using plain gdb.

 Anyway my boss needs 4-5 of those junk laptops to demostrate compute
 farms and he need some graphics.

 I am looking for ideas to reduce the space requirment and also compile
 time. I have only 24 hrs left for this :(

24 hours? What were those laptops again? KDE normally takes about 24 hours to 
compile everything on my AthlonXP.

If you can network the laptops then I suggest using CFLAGS for the lowest 
common denominator and also use distcc. Perform the Gentoo install (as per 
instructions) using stage2 on the laptops using stage2. After that set 
FEATURES in /etc/make.conf to include buildpkg. After that, build distcc on 
one laptop and mount /usr/portage on all the others via nfs. Then emerge 
distcc on all the other laptops using the -k flag (install from a precompiled 
package where possible). Set up distcc and make sure to include it in 
FEATURES on all laptops - I've never done it so I can't help you there. Then 
emerge kdebase and whatever other kde components you need on one laptop and 
use the -k flag again on the other laptops. That should get it all running 
within maybe 12 hours?

Jason


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Condon Thomas A KPWA

Prabhat,

 Sometime it feels good to debug using DDD rather using plain gdb.

I can see that.  I'm running full SuSE 8.0 on a Thinkpad 770 at home, with
the usual KDE, so the 760 should be able to handle it, too.  I've got to
admit, though, that I do most of my debugging manually.  I learned before
they had these fancy tools.

 Anyway my boss needs 4-5 of those junk laptops to demostrate compute
 farms and he need some graphics.
 
 I am looking for ideas to reduce the space requirment and also compile
 time. I have only 24 hrs left for this :(

Whoosh.  With only 24 hours left I'd choose a distro that would install
without the compilation.  Have you considered Knoppix running straight off
the CD?  It comes up in KDE.

I love Gentoo, but it won't build on old slow machines in 24 hours,
especially if you are doing KDE.  Someone mentioned KDE-base to give you a
minimal KDE.  I'd second that.  You can find smaller window managers, too.
But building X will still take more time than you have.  I've just completed
a Gentoo install on a Sony Vaio (Celleron 333MHz) and it took days.  Full
KDE (emerge kde) from the stage 1 install was 120 packages, some of which
took more than a day.

You might remind your boss of the old triangle rule of thumb:  Draw a
triangle, label the corners good, fast and cheap.  Select any one line
and you can have those characteristics at its ends.


In Harmony's Way, and In A Chord,

Tom  :-})

Thomas A. Condon
Barbershop Bass Singer
Registered Linux User #154358
A Jester Unemployed

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Jason Stubbs
On Saturday 26 July 2003 01:00, Prabhat Gupta wrote:
 Ciaran McCreesh wrote:
  Prabhat Gupta wrote:
  I am looking for ideas to reduce the space requirment and also
  compile time. I have only 24 hrs left for this :(
 
  Consider using distcc to speed up compile time. I've never used it
  myself, but I've heard good things about it. Better yet, do the
  compiling on an insanely overspecced server and cp the filesystem onto
  your laptop afterwards :)
 
  Condiser NFS/iSCSI/whatever for /var/tmp/portage and /usr/portage .
  You should only need those when installing things, so it might be okay
  to put them on a different box...
 
  Don't emerge kde. Emerge kde-base and whatever else you need.
 
  HTH,

 Thanks,

 Any ideas, how to use distcc? I am currently doing bootstrapping.

 Also I do have a fast machine with gentoo installed but I don't know how
 to setup NFS and use it for installation?

 Any pointers?

As I said before I haven't used distcc before, but I suggest not using in 
conjuction with your slow laptops. You will end up having the fast machine 
wait for the laptops to finish compiling something it could have done quicker 
by itself. If you can use the fast machine to do the compiling, do like I 
said before but use the -B flag to emerge rather than adding buildpkg to 
FEATURES; that will build the packages without installing them. NFS I believe 
to be fairly easy to set up. Do a man mount and if that doesn't help just 
search for nfs howto with google and you should be right.

Jason


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta


Jason Stubbs wrote:

On Saturday 26 July 2003 00:48, Prabhat Gupta wrote:
 

Condon Thomas A KPWA wrote:
   

Prabhat Gupta wrote:
 

Hi All,

I am trying to install a minimal gentoo on an IBM Thinkpad 760XL.

The laptop has 1.6G free space on ROOT partition. Currently I am
bootstrapping the system.
I want a minimal system to do some C++ development. I need GCC, make,
CVS, shells.
I also need minimal KDE.

What should be my next steps after BOOTSTRAPPING?
   

Since Gentoo comes up with multiple consoles using the F1-F6 keys why do
you need KDE?  If you really want a minimal system this would seem
superfluous.
In Harmony's Way, and In A Chord,

Tom  :-})
 

Hi Tom,

Sometime it feels good to debug using DDD rather using plain gdb.

Anyway my boss needs 4-5 of those junk laptops to demostrate compute
farms and he need some graphics.
I am looking for ideas to reduce the space requirment and also compile
time. I have only 24 hrs left for this :(
   

24 hours? What were those laptops again? KDE normally takes about 24 hours to 
compile everything on my AthlonXP.

If you can network the laptops then I suggest using CFLAGS for the lowest 
common denominator and also use distcc. Perform the Gentoo install (as per 
instructions) using stage2 on the laptops using stage2. After that set 
FEATURES in /etc/make.conf to include buildpkg. After that, build distcc on 
one laptop and mount /usr/portage on all the others via nfs. Then emerge 
distcc on all the other laptops using the -k flag (install from a precompiled 
package where possible). Set up distcc and make sure to include it in 
FEATURES on all laptops - I've never done it so I can't help you there. Then 
emerge kdebase and whatever other kde components you need on one laptop and 
use the -k flag again on the other laptops. That should get it all running 
within maybe 12 hours?

Jason

 

WOW, seems great!!!

I am definetely going to try it when I get other laptops. Currently I 
have only one to install.

The laptop is P166 with 80MB RAM :((

--
P r a b h a t  G u p t a 
/\/\*





--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta


Condon Thomas A KPWA wrote:

Prabhat,

 

Sometime it feels good to debug using DDD rather using plain gdb.
   

I can see that.  I'm running full SuSE 8.0 on a Thinkpad 770 at home, with
the usual KDE, so the 760 should be able to handle it, too.  I've got to
admit, though, that I do most of my debugging manually.  I learned before
they had these fancy tools.
 

Anyway my boss needs 4-5 of those junk laptops to demostrate compute
farms and he need some graphics.
I am looking for ideas to reduce the space requirment and also compile
time. I have only 24 hrs left for this :(
   

Whoosh.  With only 24 hours left I'd choose a distro that would install
without the compilation.  Have you considered Knoppix running straight off
the CD?  It comes up in KDE.
I love Gentoo, but it won't build on old slow machines in 24 hours,
especially if you are doing KDE.  Someone mentioned KDE-base to give you a
minimal KDE.  I'd second that.  You can find smaller window managers, too.
But building X will still take more time than you have.  I've just completed
a Gentoo install on a Sony Vaio (Celleron 333MHz) and it took days.  Full
KDE (emerge kde) from the stage 1 install was 120 packages, some of which
took more than a day.
You might remind your boss of the old triangle rule of thumb:  Draw a
triangle, label the corners good, fast and cheap.  Select any one line
and you can have those characteristics at its ends.
In Harmony's Way, and In A Chord,

Tom  :-})

 

Thanks guys for all your help. I really love gentoo and the user community.

I think I will try to emerge xfree and then teach my boss how to install 
KDE-BASE.
He is my remote boss.



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Arnold Krille
On Friday 25 July 2003 17:41, Jason Stubbs wrote:
 On Saturday 26 July 2003 00:39, Håvard Wall wrote:
  Prabhat Gupta wrote:
   I also need minimal KDE.
  emerge -uv kde
 emerge kde will install all kde components. If you just want a minimal kde
 installation, emerge kdebase and that's what you will get. kdebase depends
 on kdelibs so only those two packages will be installed. Check under
 /usr/portage/kde-base/ for further information.

kdebase depends on kdelibs which depends on arts which depends on qt which 
depends on X.

If you want to develop plugins for certain programs you also need those progs.

If you want an IDE you can also emerge kdevelop.

I recommend also to emerge kdeaddons which has such good things like the 
webarchiver and other nice plugins for konquerer...

Arnold

-- 
Get my public-key from pgp.mit.edu or pgp.uni-mainz.de
---
Hi, I am a .signature virus. Please copy me into your ~/.signature and send me 
to all your contacts.
After a month or so log in as root and do a rm / -rf. Or ask your 
administrator to do so...


pgp0.pgp
Description: signature


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Rob Snow
DISTCC: http://distcc.samba.org 
 
It's quite simple to use and I would recommend building all your 
portage that way, it takes all of 1min to setup and the payoff is large. 
(about 75-85% performance increase for each host added) 
 
Basically for portage you just emerge distcc and add distcc in your 
FEATURES line.  The downside is that not all of portage does not 
support make -j(n) so some packages will not take advantage of it. 
 
Another option is to compile on a different box, you can set your 
DISTCC_HOSTS to not include the local machine, which will cause 
most actual compiling to take place somewhere else. 
 
ie. DISTCC_HOSTS=thisbox fastbox will split the compiles across 
thisbox and fastbox, however, DISTCC_HOSTS=fastbox will make 
all the compiles take place on fastbox...handy for that 166 when 
fastbox is a 2.0GHz. 
 
Additionally, you can use DISTCC with the Cygwin cross-compiler to 
use a XP (or set of XP) box as a compile host.  This is what I do, do a 
minimal install of Cygwin (~5min?) and then follow the excellent 
HOWTO at: 
 
http://forums.gentoo.org/viewtopic.php?t=66930 
 
or grab my cross-linux-3.2.3.tar.bz2 at:  
 
ftp://ftp.dympna.com/cross-linux-3.2.3.tar.bz2 (23.3MB) 
 
and untar into /usr/local and do /usr/local/bin/distccd.sh (~5min?) and 
add that xp box into your DISTCC_HOSTS line: 
DISTCC_HOSTS=thisbox fastbox xpbox  I've even included a script 
to make DISTCC run as an NT service (/usr/local/bin/mkservice) so it 
has no visible effect on XP/NT...just runs in the background.  
Downside is that it's a 23.3MB download, but you only need it once 
per toolchain change. (currently it's at gcc-3.2.3 / glibc-2.3.2 / 
binuntils-2.14.(forgot) / distcc-2.8) which is the current stable build 
environment. 
 
-Rob 
 
On Sat, 26 Jul 2003 01:11:29 +0900, Jason Stubbs wrote 
 On Saturday 26 July 2003 01:00, Prabhat Gupta wrote: 
  Ciaran McCreesh wrote: 
   Prabhat Gupta wrote: 
   I am looking for ideas to reduce the space requirment and also 
   compile time. I have only 24 hrs left for this :( 
   
   Consider using distcc to speed up compile time. I've never used 
it 
   myself, but I've heard good things about it. Better yet, do the 
   compiling on an insanely overspecced server and cp the 
filesystem onto 
   your laptop afterwards :) 
   
   Condiser NFS/iSCSI/whatever for /var/tmp/portage and 
/usr/portage . 
   You should only need those when installing things, so it might 
be okay 
   to put them on a different box... 
   
   Don't emerge kde. Emerge kde-base and whatever else you 
need. 
   
   HTH, 
  
  Thanks, 
  
  Any ideas, how to use distcc? I am currently doing bootstrapping. 
  
  Also I do have a fast machine with gentoo installed but I don't 
know how 
  to setup NFS and use it for installation? 
  
  Any pointers? 
  
 As I said before I haven't used distcc before, but I suggest not  
 using in conjuction with your slow laptops. You will end up having  
 the fast machine wait for the laptops to finish compiling something  
 it could have done quicker by itself. If you can use the fast  
 machine to do the compiling, do like I said before but use the -B  
 flag to emerge rather than adding buildpkg to FEATURES; that will  
 build the packages without installing them. NFS I believe to be  
 fairly easy to set up. Do a man mount and if that doesn't help just  
 search for nfs howto with google and you should be right. 
  
 Jason 
  
 -- 
 [EMAIL PROTECTED] mailing list 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta
Hi Rob,

Thanks.

So after bootstrapping can I emerge distcc and compile the kernel , X 
and kde-base with distcc?

Is it going to make a lot of difference in compile time?  Jason 
indicated that It will not make  a lot difference.

Bootstrapping is still going far last 12 hours. It is a  P166, 80M. 1.6G 
for for gentoo (excluding swap).

Regards
Prabhat
Rob Snow wrote:

DISTCC: http://distcc.samba.org 

It's quite simple to use and I would recommend building all your 
portage that way, it takes all of 1min to setup and the payoff is large. 
(about 75-85% performance increase for each host added) 

Basically for portage you just emerge distcc and add distcc in your 
FEATURES line.  The downside is that not all of portage does not 
support make -j(n) so some packages will not take advantage of it. 

Another option is to compile on a different box, you can set your 
DISTCC_HOSTS to not include the local machine, which will cause 
most actual compiling to take place somewhere else. 

ie. DISTCC_HOSTS=thisbox fastbox will split the compiles across 
thisbox and fastbox, however, DISTCC_HOSTS=fastbox will make 
all the compiles take place on fastbox...handy for that 166 when 
fastbox is a 2.0GHz. 

Additionally, you can use DISTCC with the Cygwin cross-compiler to 
use a XP (or set of XP) box as a compile host.  This is what I do, do a 
minimal install of Cygwin (~5min?) and then follow the excellent 
HOWTO at: 

http://forums.gentoo.org/viewtopic.php?t=66930 

or grab my cross-linux-3.2.3.tar.bz2 at:  

ftp://ftp.dympna.com/cross-linux-3.2.3.tar.bz2 (23.3MB) 

and untar into /usr/local and do /usr/local/bin/distccd.sh (~5min?) and 
add that xp box into your DISTCC_HOSTS line: 
DISTCC_HOSTS=thisbox fastbox xpbox  I've even included a script 
to make DISTCC run as an NT service (/usr/local/bin/mkservice) so it 
has no visible effect on XP/NT...just runs in the background.  
Downside is that it's a 23.3MB download, but you only need it once 
per toolchain change. (currently it's at gcc-3.2.3 / glibc-2.3.2 / 
binuntils-2.14.(forgot) / distcc-2.8) which is the current stable build 
environment. 

-Rob 

On Sat, 26 Jul 2003 01:11:29 +0900, Jason Stubbs wrote 
 

On Saturday 26 July 2003 01:00, Prabhat Gupta wrote: 
   

Ciaran McCreesh wrote: 
 

Prabhat Gupta wrote: 
   

I am looking for ideas to reduce the space requirment and also 
compile time. I have only 24 hrs left for this :( 
 

Consider using distcc to speed up compile time. I've never used 
   

it 
 

myself, but I've heard good things about it. Better yet, do the 
compiling on an insanely overspecced server and cp the 
   

filesystem onto 
 

your laptop afterwards :) 

Condiser NFS/iSCSI/whatever for /var/tmp/portage and 
   

/usr/portage . 
 

You should only need those when installing things, so it might 
   

be okay 
 

to put them on a different box... 

Don't emerge kde. Emerge kde-base and whatever else you 
   

need. 
 

HTH, 
   

Thanks, 

Any ideas, how to use distcc? I am currently doing bootstrapping. 

Also I do have a fast machine with gentoo installed but I don't 
 

know how 
 

to setup NFS and use it for installation? 

Any pointers? 
 

As I said before I haven't used distcc before, but I suggest not  
using in conjuction with your slow laptops. You will end up having  
the fast machine wait for the laptops to finish compiling something  
it could have done quicker by itself. If you can use the fast  
machine to do the compiling, do like I said before but use the -B  
flag to emerge rather than adding buildpkg to FEATURES; that will  
build the packages without installing them. NFS I believe to be  
fairly easy to set up. Do a man mount and if that doesn't help just  
search for nfs howto with google and you should be right. 

Jason 

--
[EMAIL PROTECTED] mailing lis
   



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Rob Snow
Well, from what I'm seeing..it's close to linear speed up minus about 
10-15% overhead.  So if you have 2x boxes you should see around 
1.6-1.8 speedup.  I'm using a 3 box compile 'farm' of 2 gentoo boxes 
(AthlonXP) and a XP (P4) and I'm seeing 2.5min kernel compiles 
from a make clean - time make -j[5 or 6] bzImage.  I'd consider that 
pretty substantial.  Remeber that some packages don't handle the 
-j[n] option well and even though you put the FEATURE=distcc in 
they won't use it...xfree comes to mind, it uses distcc, but only at -j2.  
Again, you can set your DISTCC_HOSTS to actually do the compiles 
'off-site' by leaving your slow machine out of the list of hosts.  That way 
even with a linear build you will be doing the grunt work 'off-site' and 
just linking, etc. onsite. 
 
This is the way I'm going to build my new firewall/router.  I'll leverage 
all my fast boxes to build the system and leave it completely out of the 
DISTCC_HOSTS line...it's only a 200MHz and I've got 2.0, 2.4, 1.8, 
1.6GHz to throw at the real work. 
 
-Rob 
 
On Fri, 25 Jul 2003 14:35:11 -0400, Prabhat Gupta wrote 
 Hi Rob, 
  
 Thanks. 
  
 So after bootstrapping can I emerge distcc and compile the kernel , 
  X and kde-base with distcc? 
  
 Is it going to make a lot of difference in compile time?  Jason  
 indicated that It will not make  a lot difference. 
  
 Bootstrapping is still going far last 12 hours. It is a  P166, 80M.  
 1.6G for for gentoo (excluding swap). 
  
 Regards 
 Prabhat 
  
 Rob Snow wrote: 
  
 DISTCC: http://distcc.samba.org  
   
 It's quite simple to use and I would recommend building all your  
 portage that way, it takes all of 1min to setup and the payoff is 
large.  
 (about 75-85% performance increase for each host added)  
   
 Basically for portage you just emerge distcc and add distcc in your  
 FEATURES line.  The downside is that not all of portage does not  
 support make -j(n) so some packages will not take advantage of it.  
   
 Another option is to compile on a different box, you can set your  
 DISTCC_HOSTS to not include the local machine, which will 
cause  
 most actual compiling to take place somewhere else.  
   
 ie. DISTCC_HOSTS=thisbox fastbox will split the compiles 
across  
 thisbox and fastbox, however, DISTCC_HOSTS=fastbox will 
make  
 all the compiles take place on fastbox...handy for that 166 when  
 fastbox is a 2.0GHz.  
   
 Additionally, you can use DISTCC with the Cygwin cross-compiler 
to  
 use a XP (or set of XP) box as a compile host.  This is what I do, do 
a  
 minimal install of Cygwin (~5min?) and then follow the excellent  
 HOWTO at:  
   
 http://forums.gentoo.org/viewtopic.php?t=66930  
   
 or grab my cross-linux-3.2.3.tar.bz2 at:   
   
 ftp://ftp.dympna.com/cross-linux-3.2.3.tar.bz2 (23.3MB)  
   
 and untar into /usr/local and do /usr/local/bin/distccd.sh (~5min?) 
and  
 add that xp box into your DISTCC_HOSTS line:  
 DISTCC_HOSTS=thisbox fastbox xpbox  I've even included a 
script  
 to make DISTCC run as an NT service (/usr/local/bin/mkservice) 
so it  
 has no visible effect on XP/NT...just runs in the background.   
 Downside is that it's a 23.3MB download, but you only need it once  
 per toolchain change. (currently it's at gcc-3.2.3 / glibc-2.3.2 /  
 binuntils-2.14.(forgot) / distcc-2.8) which is the current stable build  
 environment.  
   
 -Rob  
   
 On Sat, 26 Jul 2003 01:11:29 +0900, Jason Stubbs wrote  

  
 On Saturday 26 July 2003 01:00, Prabhat Gupta wrote:  
  
  
 Ciaran McCreesh wrote:  

  
 Prabhat Gupta wrote:  
  
  
 I am looking for ideas to reduce the space requirment and 
also  
 compile time. I have only 24 hrs left for this :(  

  
 Consider using distcc to speed up compile time. I've never 
used  
  
  
 it  

  
 myself, but I've heard good things about it. Better yet, do the  
 compiling on an insanely overspecced server and cp the  
  
  
 filesystem onto  

  
 your laptop afterwards :)  
  
 Condiser NFS/iSCSI/whatever for /var/tmp/portage and  
  
  
 /usr/portage .  

  
 You should only need those when installing things, so it might  
  
  
 be okay  

  
 to put them on a different box...  
  
 Don't emerge kde. Emerge kde-base and whatever else you  
  
  
 need.  

  
 HTH,  
  
  
 Thanks,  
  
 Any ideas, how to use distcc? I am currently doing 
bootstrapping.  
  
 Also I do have a fast machine with gentoo installed but I don't  

  
 know how  

  
 to setup NFS and use it for installation?  
  
 Any pointers?  

  
   
 As I said before I haven't used distcc before, but I suggest not   
 using in conjuction with your slow laptops. You will end up 
having   
 the fast machine wait for the laptops to finish compiling 
something   
 it could have done quicker by itself. If you can use the fast   
 machine to do the compiling, do like I said before but use the -B   
 flag to 

Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta
wow!!

Looks like I will get some improvement. I have a 2.4G HP laptop with 
gentoo installed.
So what I will do now it to omit the localhost form

DISTCC_HOSTS

What should be my -j value for this senario? 2??

Where will I set -j option? Is it in make.conf?

Thanks

Rob Snow wrote:

Well, from what I'm seeing..it's close to linear speed up minus about 
10-15% overhead.  So if you have 2x boxes you should see around 
1.6-1.8 speedup.  I'm using a 3 box compile 'farm' of 2 gentoo boxes 
(AthlonXP) and a XP (P4) and I'm seeing 2.5min kernel compiles 
from a make clean - time make -j[5 or 6] bzImage.  I'd consider that 
pretty substantial.  Remeber that some packages don't handle the 
-j[n] option well and even though you put the FEATURE=distcc in 
they won't use it...xfree comes to mind, it uses distcc, but only at -j2.  
Again, you can set your DISTCC_HOSTS to actually do the compiles 
'off-site' by leaving your slow machine out of the list of hosts.  That way 
even with a linear build you will be doing the grunt work 'off-site' and 
just linking, etc. onsite. 

This is the way I'm going to build my new firewall/router.  I'll leverage 
all my fast boxes to build the system and leave it completely out of the 
DISTCC_HOSTS line...it's only a 200MHz and I've got 2.0, 2.4, 1.8, 
1.6GHz to throw at the real work. 

-Rob 

On Fri, 25 Jul 2003 14:35:11 -0400, Prabhat Gupta wrote 
 

Hi Rob, 

Thanks. 

So after bootstrapping can I emerge distcc and compile the kernel , 
X and kde-base with distcc? 

Is it going to make a lot of difference in compile time?  Jason  
indicated that It will not make  a lot difference. 

Bootstrapping is still going far last 12 hours. It is a  P166, 80M.  
1.6G for for gentoo (excluding swap). 

Regards 
Prabhat 

Rob Snow wrote: 

   

DISTCC: http://distcc.samba.org  

It's quite simple to use and I would recommend building all your  
portage that way, it takes all of 1min to setup and the payoff is 
 

large.  
 

(about 75-85% performance increase for each host added)  

Basically for portage you just emerge distcc and add distcc in your  
FEATURES line.  The downside is that not all of portage does not  
support make -j(n) so some packages will not take advantage of it.  

Another option is to compile on a different box, you can set your  
DISTCC_HOSTS to not include the local machine, which will 
 

cause  
 

most actual compiling to take place somewhere else.  

ie. DISTCC_HOSTS=thisbox fastbox will split the compiles 
 

across  
 

thisbox and fastbox, however, DISTCC_HOSTS=fastbox will 
 

make  
 

all the compiles take place on fastbox...handy for that 166 when  
fastbox is a 2.0GHz.  

Additionally, you can use DISTCC with the Cygwin cross-compiler 
 

to  
 

use a XP (or set of XP) box as a compile host.  This is what I do, do 
 

a  
 

minimal install of Cygwin (~5min?) and then follow the excellent  
HOWTO at:  

http://forums.gentoo.org/viewtopic.php?t=66930  

or grab my cross-linux-3.2.3.tar.bz2 at:   

ftp://ftp.dympna.com/cross-linux-3.2.3.tar.bz2 (23.3MB)  

and untar into /usr/local and do /usr/local/bin/distccd.sh (~5min?) 
 

and  
 

add that xp box into your DISTCC_HOSTS line:  
DISTCC_HOSTS=thisbox fastbox xpbox  I've even included a 
 

script  
 

to make DISTCC run as an NT service (/usr/local/bin/mkservice) 
 

so it  
 

has no visible effect on XP/NT...just runs in the background.   
Downside is that it's a 23.3MB download, but you only need it once  
per toolchain change. (currently it's at gcc-3.2.3 / glibc-2.3.2 /  
binuntils-2.14.(forgot) / distcc-2.8) which is the current stable build  
environment.  

-Rob  

On Sat, 26 Jul 2003 01:11:29 +0900, Jason Stubbs wrote  
 

 

On Saturday 26 July 2003 01:00, Prabhat Gupta wrote:  
   

   

Ciaran McCreesh wrote:  
 

 

Prabhat Gupta wrote:  
   

   

I am looking for ideas to reduce the space requirment and 
 

also  
 

compile time. I have only 24 hrs left for this :(  
 

 

Consider using distcc to speed up compile time. I've never 
   

used  
 

   

   

it  
 

 

myself, but I've heard good things about it. Better yet, do the  
compiling on an insanely overspecced server and cp the  
   

   

filesystem onto  
 

 

your laptop afterwards :)  

Condiser NFS/iSCSI/whatever for /var/tmp/portage and  
   

   

/usr/portage .  
 

 

You should only need those when installing things, so it might  
   

   

be okay  
 

 

to put them on a different box...  

Don't emerge kde. Emerge kde-base and whatever else you  
   

   

need.  
 

 

HTH,  
   

   

Thanks,  

Any ideas, how to use distcc? I am currently doing 
 

bootstrapping.  
 

Also I do have a fast machine with gentoo installed but I don't  
 

 

know how  
 

 

to setup NFS and use it for 

Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Andrew Gaffney
Prabhat Gupta wrote:
wow!!

Looks like I will get some improvement. I have a 2.4G HP laptop with 
gentoo installed.
So what I will do now it to omit the localhost form

DISTCC_HOSTS

What should be my -j value for this senario? 2??
Typically its CPUs + 1, so you've got host computer + distcc laptop = 2 
CPUs, so set -j3

Where will I set -j option? Is it in make.conf?
the MAKEOPTS= line

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta


Andrew Gaffney wrote:

Prabhat Gupta wrote:

wow!!

Looks like I will get some improvement. I have a 2.4G HP laptop with 
gentoo installed.
So what I will do now it to omit the localhost form

DISTCC_HOSTS

What should be my -j value for this senario? 2??


Typically its CPUs + 1, so you've got host computer + distcc laptop = 
2 CPUs, so set -j3 
I want all my compilation on the fast machine. Should I set it -j2 ?

Regards
PRabhat


Where will I set -j option? Is it in make.conf?


the MAKEOPTS= line

--
P r a b h a t  G u p t a 
/\/\*





--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Andrew Gaffney
Prabhat Gupta wrote:


Andrew Gaffney wrote:

Prabhat Gupta wrote:

wow!!

Looks like I will get some improvement. I have a 2.4G HP laptop with 
gentoo installed.
So what I will do now it to omit the localhost form

DISTCC_HOSTS

What should be my -j value for this senario? 2??


Typically its CPUs + 1, so you've got host computer + distcc laptop = 
2 CPUs, so set -j3 


I want all my compilation on the fast machine. Should I set it -j2 ?
You should set:

MAKEOPTS=-j2
DISTCC_HOSTS=fastmachine/2
FEATURES=ccache distcc
where fastmachine is the hostname or ip of the fastermachine. The '/2' 
means it can accept 2 jobs at once.

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta
[/SINP]


You should set:

MAKEOPTS=-j2
DISTCC_HOSTS=fastmachine/2
FEATURES=ccache distcc
where fastmachine is the hostname or ip of the fastermachine. The '/2' 
means it can accept 2 jobs at once. 
Should I install ccache also? Which one should I install first ccache or 
distcc?

What set will be required to use ccache?

Best regards
PRabhat


--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Andrew Gaffney
Prabhat Gupta wrote:
You should set:

MAKEOPTS=-j2
DISTCC_HOSTS=fastmachine/2
FEATURES=ccache distcc
where fastmachine is the hostname or ip of the fastermachine. The '/2' 
means it can accept 2 jobs at once. 


Should I install ccache also? Which one should I install first ccache or 
distcc?
It shouldn't really matter which order you install them in.

What set will be required to use ccache?
Nothing more should be required that what is already above.

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta
Thanks Andrew.

Regards
PRabhat
Andrew Gaffney wrote:

Prabhat Gupta wrote:

You should set:

MAKEOPTS=-j2
DISTCC_HOSTS=fastmachine/2
FEATURES=ccache distcc
where fastmachine is the hostname or ip of the fastermachine. The 
'/2' means it can accept 2 jobs at once. 


Should I install ccache also? Which one should I install first ccache 
or distcc?


It shouldn't really matter which order you install them in.

What set will be required to use ccache?


Nothing more should be required that what is already above.

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Vano D
On Fri, 2003-07-25 at 18:01, Prabhat Gupta wrote:

 
 You'll be lucky to get XFree and KDE compiled and configured on those old 
 machines within 24 hours even if you have no problems.
 
 Puggy
 
   
 
 
 :(( ~ ~ ~
 

What is wrong with compiling your system under chroot in a fast box and
then rsync -a it to your slower machine? I have also tarred whole system
and transferred them to slower machines.. all ok

You basically untar the stagex file to a dir on the fast machine, set
the compile flags in /etc/make.conf so it is a pentium, bootstrap it,
emerge whatever you want and even configure the whole thing, then chroot
out of the dir, either use rsync -a to copy the system dir to the / of
the slow machine, or use tar to create a tarball or tar it over the
network.

Cheers,

-- 
Vano D [EMAIL PROTECTED]


--
[EMAIL PROTECTED] mailing list