Re: failed X11 install, now what?

2003-11-16 Thread Alex de Kruijff
On Sat, Nov 15, 2003 at 03:46:14PM -0500, Marty Landman wrote:
 At 01:55 PM 11/15/2003, Alex de Kruijff wrote:
 On Sat, Nov 15, 2003 at 09:44:43AM -0500, Marty Landman wrote:
 
  make all install clean
 
 Did you execute this in /usr/ports?
 
 No, I forgot to say first cd'd to the X11/XFree86-4 dir.
 
 Just as a tip 'df -h' give human readable output.
 
 Thanks, that helps.
 
 You could also move /usr/src/ and /usr/obj to another machine and mount 
 them from there.
 
 Ok, I did rm -r /usr/ports/x11 and now /usr's down to 87%. 

Didn't I suggest to remove /usr/ports/distfiles/* instead? If you have
removed a part of you port tree then you have to resore this later.

 That's breathing 
 room at least. I think pacing this learning experience is a good thing; 
 I've got Apache, PostgreSQL and Lynx up and running and that's plenty with 
 Perl for starters. The more digging I do in the Handbook the better off I'm 
 getting so I think I'll try and avoid trouble for awhile and stay away from 
 the ports collection. :)
 
 du -sh /usr/* gives:
 
 Alex, could you recommend a way for me to filter out anything under a 
 certain threshold? Grep wouldn't do the trip for this, right? IOW 
 list  everything on /usr greater than say 50MB? Or am I best off grep'ing 
 the du output to a little perl app since that's the language I'm most 
 comfortable with?

When i go to look for large directories i use the command 'du | sort -n'
and delete stuf manualy. I wouldn't like doing this automaticaly.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


failed X11 install, now what?

2003-11-15 Thread Marty Landman
This is what I found on the screen this morning after letting

make all install clean

run all night:

/usr: write failed, file system is full
/usr/bin/tar: xc/fonts/util/KOI8-R.TXT: Wrote only 0 of 10240 bytes
/usr/bin/tar: Skipping to next header
/usr/bin/tar: Error exit delayed from previous errors
*** Error code 1
Stop in /usr/ports/x11-fonts/XFree86-4-fontScalable.
*** Error code 1
Stop in /usr/ports/x11/XFree86-4.
#


# df
Filesystem  1K-blocksUsed   Avail Capacity  Mounted on
/dev/ad0s1a128990   35170   8350230%/
/dev/ad0s1f257998 284  237076 0%/tmp
/dev/ad1s1e   2030062 2015906 -148248   108%/usr
/dev/ad0s1e2579982762  234598 1%/var
procfs  4   4   0   100%/proc
Which brings to mind a couple questions.

1. ad1 is a 2GB ide slaved to ad0  which is only 1GB - what must I do 
immediately to clear space on ad1 or is nothing impacted with the disk 
being over full?

2. just how much space should I need? I know that's a loaded question, but 
I have another 2.5GB ide I could slave to the secondary port off the cdrom, 
or swap some disks around with other networks or; hard to plan unless I can 
make guesstimates about the future; is there a space planning guide around 
somewhere.

3. apologies in advance for my ignorance, am just very new to this and 
nowhere near done with a first read through of the Handbook

Thanks in advance.

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: failed X11 install, now what?

2003-11-15 Thread Alex de Kruijff
On Sat, Nov 15, 2003 at 09:44:43AM -0500, Marty Landman wrote:
 This is what I found on the screen this morning after letting
 
 make all install clean

Did you execute this in /usr/ports? Its better to select only the port
you like to have.

 run all night:
 
 /usr: write failed, file system is full
 /usr/bin/tar: xc/fonts/util/KOI8-R.TXT: Wrote only 0 of 10240 bytes
 /usr/bin/tar: Skipping to next header
 /usr/bin/tar: Error exit delayed from previous errors
 *** Error code 1
 
 Stop in /usr/ports/x11-fonts/XFree86-4-fontScalable.
 *** Error code 1
 
 Stop in /usr/ports/x11/XFree86-4.
 #
 
 
 
 # df
 Filesystem  1K-blocksUsed   Avail Capacity  Mounted on
 /dev/ad0s1a128990   35170   8350230%/
 /dev/ad0s1f257998 284  237076 0%/tmp
 /dev/ad1s1e   2030062 2015906 -148248   108%/usr
 /dev/ad0s1e2579982762  234598 1%/var
 procfs  4   4   0   100%/proc

Just as a tip 'df -h' give human readable output.

 Which brings to mind a couple questions.
 
 1. ad1 is a 2GB ide slaved to ad0  which is only 1GB - what must I do 
 immediately to clear space on ad1 or is nothing impacted with the disk 
 being over full?

A port first fetches the sources it need and places these in
/usr/ports/distfiles/. You could empty this with:
rm -rf /usr/ports/distfiles/*

You could also move /usr/src/ and /usr/obj to another machine and mount
them from there. As a added bonus, you then can let the other machine do
most of the building during updates of the main system.

You could also move /usr/ports/ to this machine. You do need to edit the
working directory in /etc/make.conf (copy it from /etc/defaults/ if it
doesn't exist) becuase you don't want to mount the working directory.

 
 2. just how much space should I need? I know that's a loaded question, but 
 I have another 2.5GB ide I could slave to the secondary port off the cdrom, 
 or swap some disks around with other networks or; hard to plan unless I can 
 make guesstimates about the future; is there a space planning guide around 
 somewhere.

It depends on what you like to do. My kde workstaion has a 2 GB disk and
du -h gives: 
/dev/ad0s1g2.0G   1.5G   340M82%/usr

This doesn't inculde /usr/ports/, /usr/src/ and /usr/obj/, since I let
antoher machine handle this. The later two are for upgrading your
system.

du -sh /usr/* gives:
287MX11R6
 11Mbin
 85Mcompat
2.0Kexport1
1.5Mgames
145Mhome (one user)
8.8Minclude
 28Mlib
 11Mlibdata
 16Mlibexec
879Mlocal
428Mports (exist on another computer; the minium is 250M)
334Msrc (exist on another computer)
435Mobj (exist on another computer)
6.6Msbin
 36Mshare

For a workstation with X and sources you need 3G, without souces you
need 2G.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: failed X11 install, now what?

2003-11-15 Thread Alex de Kruijff
On Sat, Nov 15, 2003 at 07:55:07PM +0100, Alex de Kruijff wrote:
 On Sat, Nov 15, 2003 at 09:44:43AM -0500, Marty Landman wrote:
  This is what I found on the screen this morning after letting
  
  make all install clean
 
 Did you execute this in /usr/ports? Its better to select only the port
 you like to have.
 
  run all night:
  
  /usr: write failed, file system is full
  /usr/bin/tar: xc/fonts/util/KOI8-R.TXT: Wrote only 0 of 10240 bytes
  /usr/bin/tar: Skipping to next header
  /usr/bin/tar: Error exit delayed from previous errors
  *** Error code 1
  
  Stop in /usr/ports/x11-fonts/XFree86-4-fontScalable.
  *** Error code 1
  
  Stop in /usr/ports/x11/XFree86-4.
  #
  
  
  
  # df
  Filesystem  1K-blocksUsed   Avail Capacity  Mounted on
  /dev/ad0s1a128990   35170   8350230%/
  /dev/ad0s1f257998 284  237076 0%/tmp
  /dev/ad1s1e   2030062 2015906 -148248   108%/usr
  /dev/ad0s1e2579982762  234598 1%/var
  procfs  4   4   0   100%/proc
 
 Just as a tip 'df -h' give human readable output.
 
  Which brings to mind a couple questions.
  
  1. ad1 is a 2GB ide slaved to ad0  which is only 1GB - what must I do 
  immediately to clear space on ad1 or is nothing impacted with the disk 
  being over full?
 
 A port first fetches the sources it need and places these in
 /usr/ports/distfiles/. You could empty this with:
 rm -rf /usr/ports/distfiles/*
 
 You could also move /usr/src/ and /usr/obj to another machine and mount
 them from there. As a added bonus, you then can let the other machine do
 most of the building during updates of the main system.
 
 You could also move /usr/ports/ to this machine. You do need to edit the
 working directory in /etc/make.conf (copy it from /etc/defaults/ if it
 doesn't exist) becuase you don't want to mount the working directory.
 
  
  2. just how much space should I need? I know that's a loaded question, but 
  I have another 2.5GB ide I could slave to the secondary port off the cdrom, 
  or swap some disks around with other networks or; hard to plan unless I can 
  make guesstimates about the future; is there a space planning guide around 
  somewhere.
 
 It depends on what you like to do. My kde workstaion has a 2 GB disk and
 du -h gives: 
 /dev/ad0s1g2.0G   1.5G   340M82%/usr
 
 This doesn't inculde /usr/ports/, /usr/src/ and /usr/obj/, since I let
 antoher machine handle this. The later two are for upgrading your
 system.
 
 du -sh /usr/* gives:
 287MX11R6
  11Mbin
  85Mcompat
 2.0Kexport1
 1.5Mgames
 145Mhome (one user)
 8.8Minclude
  28Mlib
  11Mlibdata
  16Mlibexec
 879Mlocal
 428Mports (exist on another computer; the minium is 250M)
 334Msrc (exist on another computer)
 435Mobj (exist on another computer)
 6.6Msbin
  36Mshare
 
 For a workstation with X and sources you need 3G, without souces you
 need 2G.

I do have a /tmp disk with 4G of space for building ports. Jdk requeres
2.5G and open office need 2 - 4 GB of space.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: failed X11 install, now what?

2003-11-15 Thread Marty Landman
At 01:55 PM 11/15/2003, Alex de Kruijff wrote:
On Sat, Nov 15, 2003 at 09:44:43AM -0500, Marty Landman wrote:

 make all install clean

Did you execute this in /usr/ports?
No, I forgot to say first cd'd to the X11/XFree86-4 dir.

Just as a tip 'df -h' give human readable output.
Thanks, that helps.

You could also move /usr/src/ and /usr/obj to another machine and mount 
them from there.
Ok, I did rm -r /usr/ports/x11 and now /usr's down to 87%. That's breathing 
room at least. I think pacing this learning experience is a good thing; 
I've got Apache, PostgreSQL and Lynx up and running and that's plenty with 
Perl for starters. The more digging I do in the Handbook the better off I'm 
getting so I think I'll try and avoid trouble for awhile and stay away from 
the ports collection. :)

du -sh /usr/* gives:
Alex, could you recommend a way for me to filter out anything under a 
certain threshold? Grep wouldn't do the trip for this, right? IOW 
list  everything on /usr greater than say 50MB? Or am I best off grep'ing 
the du output to a little perl app since that's the language I'm most 
comfortable with?

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]