obsolete /usr/share/doc/handbook ?

2008-12-31 Thread Anton Shterenlikht
I update my local FBSD documentation with cvsup doc-all.
I note that the latest FBSD documentation is under /usr/doc.
However I still have /usr/share/doc which is about 2 years out of date.

On the other hand /usr/doc does not appear in hier(7),
whereas /usr/share/doc does.

Can I safely delete the obsolete docs under /usr/share/doc?
Why are there two doc folders?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


SOLVED: Re: obsolete /usr/share/doc/handbook ?

2008-12-31 Thread Anton Shterenlikht
On Wed, Dec 31, 2008 at 01:30:48PM +, Anton Shterenlikht wrote:
 I update my local FBSD documentation with cvsup doc-all.
 I note that the latest FBSD documentation is under /usr/doc.
 However I still have /usr/share/doc which is about 2 years out of date.
 
 On the other hand /usr/doc does not appear in hier(7),
 whereas /usr/share/doc does.
 
 Can I safely delete the obsolete docs under /usr/share/doc?
 Why are there two doc folders?

sorry, rushed to ask before trying. I get it now.
/usr/doc - sources for all docs. Doing make install puts the
html docs under /usr/share/doc.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: obsolete /usr/share/doc/handbook ?

2008-12-31 Thread Lowell Gilbert
Anton Shterenlikht me...@bristol.ac.uk writes:

 I update my local FBSD documentation with cvsup doc-all.
 I note that the latest FBSD documentation is under /usr/doc.
 However I still have /usr/share/doc which is about 2 years out of date.

 On the other hand /usr/doc does not appear in hier(7),
 whereas /usr/share/doc does.

 Can I safely delete the obsolete docs under /usr/share/doc?
 Why are there two doc folders?

What you have downloaded is the source from which the docs are built.  
If you want to build them yourself, the directions are in the FreeBSD
Documentation Project primer (which is in the books section of the
documentation; I'd recommend you read it on the web -- for example,
http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/ --
until you have a more recent local copy).

If you aren't planning on building the documents yourself, just download
them from the ftp sites.  Every document includes a suggestion to do so
from 
ftp://ftp.freebsd.org/pub/FreeBSD/doc/
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD 5.5 : How to recreate /usr/share/locale /usr/local/share/locale (Message Catalog System: corrupt file.)

2007-03-22 Thread Guill. Moreno-Socias

  Hello.

  I think have a problem of locale.  In /etc/login.conf I have:

default:\
[...]
   :charset=ISO-8859-15:\
   :lang=fr_FR.ISO8859-15:

and this gives at every login:

Message Catalog System: corrupt file.

  Can this be related to a corrupt /usr/share/locale or
/usr/local/share/locale? How could I recreate them?

  uname -a gives:

FreeBSD fermat.math.uvsq.fr 5.5-RELEASE-p11 FreeBSD 5.5-RELEASE-p11 #0: Sat
Mar  3 17:42:29 CET 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FERMAT2
i386

  Thanks in advance for your help.

--
Guillermo Moreno-SocĂ­as
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/usr/share/dict/words

2004-07-11 Thread stan
I'm building a couple of new machines this weekend.

Normally I do install minimum possible, then cvsup and do a make
buildworld / make installworld sequence.

This time as I was building various ports, I was told that
/usr/share/dict/words needed to be installed.

This has always been installed by the make installworld before. Has
something changed about this? (STABLE).


-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/share/dict/words

2004-07-11 Thread Matthew Seaman
On Sun, Jul 11, 2004 at 09:46:09AM -0400, stan wrote:
 I'm building a couple of new machines this weekend.
 
 Normally I do install minimum possible, then cvsup and do a make
 buildworld / make installworld sequence.
 
 This time as I was building various ports, I was told that
 /usr/share/dict/words needed to be installed.
 
 This has always been installed by the make installworld before. Has
 something changed about this? (STABLE).

No.  /usr/share/dict/words should be a sym-link to web2 in that
directory.  That's just copied from /usr/src/share/dict/web2 during
the installworld process.

% ls -l /usr/share/dict 
total 3462
-r--r--r--  1 root  wheel 1545 Nov 22  2002 README
-r--r--r--  1 root  wheel  620 Nov 22  2002 eign
-r--r--r--  1 root  wheel 1190 May  9  2003 freebsd
-r--r--r--  1 root  wheel 8640 Nov 22  2002 propernames
-r--r--r--  1 root  wheel  2493082 May 16  2003 web2
-r--r--r--  1 root  wheel  1012730 Nov 22  2002 web2a
lrwxr-xr-x  1 root  wheel4 Jul  5 17:05 words@ - web2


Looks like something went wrong during your cvsup / buildworld /
installworld process. (Which I hope is rather more than that basic
outline -- you should build and install a kernel as well and generally
follow the instructions in /usr/src/UPDATING and the Handbook)

Suggest you check that you haven't run out of disk space anywhere,
that you delete everything under /usr/obj (you will need to use
chflags(1) on some of the contents to remove the immutable bits),
re-cvsup and try again.  Check the compilation output for errors as
you go.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp1tpZStgmiw.pgp
Description: PGP signature


/usr/share ?

2004-02-04 Thread JJB
I want to remove un-needed stuff from HD so my bkups run faster.

Looking for explanation of what all the stuff is used for in the
 /usr/share directory tree so I can figure out what stuff I can 
delete without harming system.

An pointer to some web docs would be great.

Thanks

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/share ?

2004-02-04 Thread Kris Kennaway
On Tue, Feb 03, 2004 at 10:04:55AM -0500, JJB wrote:
 I want to remove un-needed stuff from HD so my bkups run faster.

If you're doing incremental backups this shouldn't make much
difference, since those files change rarely.

 Looking for explanation of what all the stuff is used for in the
  /usr/share directory tree so I can figure out what stuff I can 
 delete without harming system.
 
 An pointer to some web docs would be great.

man hier is a starting point.

Kris


pgp0.pgp
Description: PGP signature


/usr/share/doc's failing to build

2004-01-30 Thread Nelis Lamprecht
Hi,

I had a script that used to run on cron which would automatically cvsup
all the documentation required for the FreeBSD Website and then build it
so I could keep a local mirrored copy. A while ago it started failing
with the following message and I'm not sure where to start to correct
the problem, short of actually deleting everything and starting again. I
have read through the necessary documentation regarding this but can't
see anything that has changed. Any ideas ?

pandora# pwd
/usr/share/doc
pandora# make FORMATS=html
=== en_US.ISO8859-1
make: don't know how to make all. Stop
*** Error code 2
 
Stop in /usr/share/doc.

Thanks.

-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgp/nelis.key
Unix IS user friendly.. It's just selective about who its friends are.


signature.asc
Description: This is a digitally signed message part


customized /usr/share/skel

2003-11-21 Thread Dru

I'd like to customize /usr/share/skel. It's an easy matter to edit
/usr/src/share/skel/Makefile and to make my own dot files.

However, will my customizations get overwritten when I make my next world?
If so, what's the best way to go about preventing my files from being
overwritten? e.g. should I place my custom Makefile and dot files in a
different directory and rerun my Makefile after a successful install
world?

Dru
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: customized /usr/share/skel

2003-11-21 Thread Jez Hancock
On Fri, Nov 21, 2003 at 10:36:17AM -0500, Dru wrote:
 I'd like to customize /usr/share/skel. It's an easy matter to edit
 /usr/src/share/skel/Makefile and to make my own dot files.
 
 However, will my customizations get overwritten when I make my next world?
 If so, what's the best way to go about preventing my files from being
 overwritten? e.g. should I place my custom Makefile and dot files in a
 different directory and rerun my Makefile after a successful install
 world?
How about changing the system immutable flags on the /usr/share/skel
files you don't want overwritten (chflags noschg)?  Not a perfect
solution but I don't know of any way that your aim can be achieved via
/etc/make.conf or similar.

Having said that, I haven't had any problems in the past with the make
world process overwriting my customized /usr/share/skel files - whether
or not that was because I used mergemaster in interactive mode and chose
not to overwrite those files I can't remember now.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: customized /usr/share/skel

2003-11-21 Thread Scott W
Dru wrote:

I'd like to customize /usr/share/skel. It's an easy matter to edit
/usr/src/share/skel/Makefile and to make my own dot files.
However, will my customizations get overwritten when I make my next world?
If so, what's the best way to go about preventing my files from being
overwritten? e.g. should I place my custom Makefile and dot files in a
different directory and rerun my Makefile after a successful install
world?
Dru
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

/usr/share/skel is apparently a directory for _examples_, made apparent 
by the file naming, eg dot.cshrc (instead of .cshrc).  Put your system 
wide files in /etc/skel/ and they'll be used as appropriate when new 
accounts are created, and should not be touched by any rebuilds.

Scott



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/usr/share/dict/words not found on 5.0

2003-08-14 Thread george donnelly
I'm trying to install pico from ports on 5.0 and i get the message below
about /usr/share/dict/words not existing (its empty) and I don't see where
in sysinstall i can install it...

can anyone point me in the right direction?

 ispell-3.2.06.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
 Attempting to fetch from http://fmg-www.cs.ucla.edu/geoff/tars/.
Receiving ispell-3.2.06.tar.gz (580742 bytes): 100%
580742 bytes transferred in 4.5 seconds (126.36 kBps)
===  Extracting for ispell-3.2.06_3
 Checksum OK for ispell-3.2.06.tar.gz.
===  Patching for ispell-3.2.06_3
===  Applying FreeBSD patches for ispell-3.2.06_3
===  Configuring for ispell-3.2.06_3
you need to install /usr/share/dict/words from the 'dict' distribution first
(This is done using /stand/sysinstall.  The 'textproc/dict' port in the
ports
 tree is NOT what you need.)
*** Error code 1

--
george donnelly ~ http://www.zettai.net/ ~ Quality Zope Hosting
Shared and Dedicated Zope Hosting ~ Zope Servers ~ Zope Websites
Yahoo, AIM: zettainet ~ MSN: [EMAIL PROTECTED] ~ ICQ: 51907738

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/share/dict/words not found on 5.0

2003-08-14 Thread george donnelly
[Lowell Gilbert wrote ([EMAIL PROTECTED]) on 8/13/03
1:24 PM]

 you need to install /usr/share/dict/words from the 'dict' distribution first
 (This is done using /stand/sysinstall.  The 'textproc/dict' port in the
 ports tree is NOT what you need.)
 
 Please be more precise on what kind of help you need in following
 these directions.

I do not see anything in sysintall related to this. What menu/heading is
this under in sysinstall?

--
george donnelly ~ http://www.zettai.net/ ~ Quality Zope Hosting
Shared and Dedicated Zope Hosting ~ Zope Servers ~ Zope Websites
Yahoo, AIM: zettainet ~ MSN: [EMAIL PROTECTED] ~ ICQ: 51907738

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/share/dict/words not found on 5.0

2003-08-14 Thread Lowell Gilbert
george donnelly [EMAIL PROTECTED] writes:

 I'm trying to install pico from ports on 5.0 and i get the message below
 about /usr/share/dict/words not existing (its empty) and I don't see where
 in sysinstall i can install it...
 
 can anyone point me in the right direction?

snip

 you need to install /usr/share/dict/words from the 'dict' distribution first
 (This is done using /stand/sysinstall.  The 'textproc/dict' port in the
 ports tree is NOT what you need.)

Please be more precise on what kind of help you need in following
these directions.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/share/dict/words not found on 5.0

2003-08-14 Thread Lowell Gilbert
george donnelly [EMAIL PROTECTED] writes:

 [Lowell Gilbert wrote ([EMAIL PROTECTED]) on 8/13/03
 1:24 PM]
 
  you need to install /usr/share/dict/words from the 'dict' distribution first
  (This is done using /stand/sysinstall.  The 'textproc/dict' port in the
  ports tree is NOT what you need.)
  
  Please be more precise on what kind of help you need in following
  these directions.
 
 I do not see anything in sysintall related to this. What menu/heading is
 this under in sysinstall?

  ConfigureDo post-install configuration of FreeBSD 
then
  DistributionsInstall additional distribution sets
then 
  [ ]  dict  Spelling checker dictionary files 

It may not be exactly like this in 5.0, but that's part of why 5.x is
so far recommended for people who have a pretty good idea of what
they're doing.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/share/man - Rules for showing/gernerating manual pages

2003-03-26 Thread parv
in message [EMAIL PROTECTED],
wrote Giorgos Keramidas thusly...

 On 2003-03-25 14:48, parv [EMAIL PROTECTED] wrote:
  Could somebody tell me what are the rules for showing/generating man
  pages in (man|cat)? directories (in /usr/share/man)?
 
 
 Manpages are an integral part of the program source for many of the
 base system utilities.

That is good to know (that all man pages reside _at_least_ in
/usr/share/man/man? directories).


 But you can safely delete (or simply move away) the existing
 /usr/share directory right before `make installworld'...
 
   # cd /usr
   # mv share share.old
   # mtree -deU  /etc/mtree/BSD.usr.dist
 
 and then run `make installworld' in /usr/src.  After installworld
 finishes successfully, you can delete share.old.

Giorgos, i would that the next time; thanks.

Having said that, i was hoping for something like the following (for
FreeBSD)...

  http://groups.google.com/groups?selm=2d543m%24n30%40mail.boku.ac.at


  - parv

-- 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/share/man - Rules for showing/gernerating manual pages

2003-03-26 Thread Giorgos Keramidas
On 2003-03-26 12:23, parv [EMAIL PROTECTED] wrote:
in message [EMAIL PROTECTED],
wrote Giorgos Keramidas thusly...
 But you can safely delete (or simply move away) the existing
 /usr/share directory right before `make installworld'...

  # cd /usr
  # mv share share.old
  # mtree -deU  /etc/mtree/BSD.usr.dist

 and then run `make installworld' in /usr/src.  After installworld
 finishes successfully, you can delete share.old.

 Giorgos, i would that the next time; thanks.

 Having said that, i was hoping for something like the following (for
 FreeBSD)...

   http://groups.google.com/groups?selm=2d543m%24n30%40mail.boku.ac.at

Ah, yes.  Now I see that I misread the original post.

Well, man(1) in FreeBSD is a slightly modified version of GNU man.
The basic idea of locating a manpage and convnerting it to a
preformatted ``cat page'' remains the same.  The details of the
conversion can always be found in /usr/src/gnu/usr.bin/man/man/man.c
(look at the definition of the glob_for_filename() and try_section()
functions in this file).

It's pretty much the same as the post you quoted above.  Some of the
information that you want to find out is actually part of the output
of this command:

$ man -d ls 21 | more

I hope this time, I'm not very off-topic :)

- Giorgos

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/share/man - Rules for showing/gernerating manual pages

2003-03-25 Thread Giorgos Keramidas
On 2003-03-25 14:48, parv [EMAIL PROTECTED] wrote:
 Could somebody tell me what are the rules for showing/generating man
 pages in (man|cat)? directories (in /usr/share/man)?

 Given that i upgrade from source, are some of the man pages in
 /usr/share/man available only pre-formatted (in cat? directories not
 in man?)?

 (I am cleaning up /usr, so i want to throw out the rotten things.)

Manpages are an integral part of the program source for many of the
base system utilities.  Therefore, it's difficult to run just `one'
command and have all the manpages that `installworld' gives you.

But you can safely delete (or simply move away) the existing
/usr/share directory right before `make installworld'...

Try this:

# cd /usr
# mv share share.old
# mtree -deU  /etc/mtree/BSD.usr.dist

and then run `make installworld' in /usr/src.  After installworld
finishes successfully, you can delete share.old.  It's no longer
needed (unless you have manually installed stuff in there).

:-)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: /usr/share/examples

2002-07-22 Thread Scott Robbins

On Mon, Jul 22, 2002 at 05:54:49PM -0700, Ross Lippert wrote:
 
 I just installed 4.6 and found that many of the /usr/share/examples
 were missing such as 
 /usr/share/examples/ppp
 and 
 /usr/share/examples/BSD_Daemon
 were empty.
 
 What gives?  Is there something I should have checked off in the
 base install to have gotten a complete set of examples or what?

No, they're in /usr/src/share/examples (or something like that--go into
/usr/src and look and you'll find them.)  It gets fixed the first time
you do a make world.

Scott who also had this problem   :)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: /usr/share/examples

2002-07-22 Thread Ross Lippert



Some of us never make world.  Or rather, there must be an easier way to
get this directory populated than having to learn how to make world.
make world kind of makes me nervous.

If this is a recognized problem, then why isn't it reported in the errata?

Is it too much to ask for someone to just make a tarball and put it on
the errata page?


No, they're in /usr/src/share/examples (or something like that--go into
/usr/src and look and you'll find them.)  It gets fixed the first time
you do a make world.



-r

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message