Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Anyone else missing man pages?

Anyone else missing man pages?
Thread Tools
Grizzled Veteran
Join Date: Apr 2001
Status: Offline
Reply With Quote
Nov 14, 2003, 04:53 PM
 
I did an upgrade install of 10.3, and I'm missing some man pages. I'm definitely missing all the exec (execv, execl, etc) man pages in section 3, and I'm missing syslog.conf in section 5.

Has anyone else noticed this?

Wade
     
Fresh-Faced Recruit
Join Date: May 2001
Location: Germany
Status: Offline
Reply With Quote
Nov 15, 2003, 05:38 PM
 
um, my 10.3 seems to have them available...

...did you make sure to install the BSD-Subsystem?
Greetings,
Morgoth
     
Grizzled Veteran
Join Date: Apr 2001
Status: Offline
Reply With Quote
Nov 15, 2003, 06:52 PM
 
Yes, I installed the BSD subsystem. That's the strange thing - other 10.3 installations have them just fine - but mine doesn't for some reason.

Wade
     
Mac Elite
Join Date: May 2001
Status: Offline
Reply With Quote
Nov 18, 2003, 05:33 PM
 
Could be that there's some damage in your filesystem?

-
     
Mac Enthusiast
Join Date: Jul 2002
Location: Leiden, Netherlands
Status: Offline
Reply With Quote
Nov 19, 2003, 01:33 AM
 
Originally posted by wadesworld:
I did an upgrade install of 10.3, and I'm missing some man pages. I'm definitely missing all the exec (execv, execl, etc) man pages in section 3, and I'm missing syslog.conf in section 5.

Has anyone else noticed this?

Wade
10.3 should have a lot more man pages than previous revs did.
     
Mac Enthusiast
Join Date: May 2000
Location: Collie-fornya
Status: Offline
Reply With Quote
Nov 25, 2003, 08:50 PM
 
This is a very vexing problem. There is a related problem of the cron weekly showing a slew of missing man pages in /man3. This is an error in the cron weekly script where it looks for pages in the wrong place. See this thread on Apple:

Missing Man Pages On Apple Unix Discussion

Now I find that even though this is true, there are actual missing man pages and no one knows why. See thread here:

Missing Man Pages Discussion

If anyone has a clue how to solve this problem, I would be grateful.
Suicide Bombers: That never-say-die spirit. No, that's not right.
     
Mac Elite
Join Date: May 2001
Status: Offline
Reply With Quote
Nov 26, 2003, 12:54 AM
 
The OS X/Darwin manpages have never been complete or all up-to-date corresponding to the programs. Makes me sometimes think that task is not assinged to anyone at Apple.

-
     
Forum Regular
Join Date: Mar 2001
Location: canada
Status: Offline
Reply With Quote
Nov 29, 2003, 05:11 PM
 
Argh.. just upgraded to panther last night and discovered that I'm missing the man pages.

So I just grabbed Pacifist 1.6 and installed the
/usr/share/man/man3
directory from the
/System/Installation/Packages/BSD.pkg
package on panther install disc 1.

kind of annoying, but seemed to do the trick
     
Dedicated MacNNer
Join Date: Jul 2001
Location: NC
Status: Offline
Reply With Quote
Dec 2, 2003, 03:01 PM
 
Hi guys,
   I apologize for jumping in here late but I think I can offer a little help. THere are actually two separate issues referenced here. The first is the 25 man pages that are referenced as missing in the weekly script output. These Perl man pages are all softlinks that point to nothing. The problem is the result of Perl's assumption that the filesystem is case sensitive. The original man pages are lower case and the Perl installer creates softlinks with the same name but with some capitalization. Unfortunately on a case insensitive file system, this blows away the original. This actually occured when the installer was created and Pacifist won't help because they are actually missing in the installer. A quick fix is to simply delete the softlinks.

   The second issue occurs only with an upgrade install and results in a much larger list of missing man pages. I have no idea why this occurs because those pages are in the installer but not in a single package. Pacifist is part of the cure but getting a list of missing pages is the first step. Toward this end, I've added a new capability to my pkggrep script. It can now compare a directory's contents and the installer's receipts. This should tell you exactly what's missing. You can download the script at:

http://kerbaugh.uncfsu.edu/pkggrep.tar.gz

The pkggrep script will make this comparison if you simply give it an argument that is a directory. However, it's unable to do it recursively so to verify /usr/share/man, you must run the script with arguments, /usr/share/man/man1, /usr/share/man/man2, /usr/share/man/man3, etc., as separate arguments. Once you have a comprehensive list, use Pacifist to get what you need from the installer.

   This information was composited from two threads at Apple's UNIX Discussion:

http://discussions.info.apple.com/We...3430@.599c2ca5
http://discussions.info.apple.com/We...3434@.599c0d29

There, you will find some additional details and also a little more on the usage of my script. I admit that my script is poorly documented, which is a result of lack of demand. Naturally I think it's pretty powerful but only at certain times. Anyway, try it also with no argument, to get a usage statement and with a file as an argument. That should give you some idea of how it's used.
Gary
A computer scientist is someone who, when told to "Go to Hell", sees the
"go to", rather than the destination, as harmful.
     
Mac Enthusiast
Join Date: May 2000
Location: Collie-fornya
Status: Offline
Reply With Quote
Dec 4, 2003, 03:37 PM
 
Thanks for this very informative and accurate post about the missing man files.

Do you have any idea why I cannot delete the 25 offending files in /man3?

I get this error message:

-120 dirNFErr Directory not found

This error message from Finder, File Buddy 7 both.

Is there a Unix supertrash command to get rid of them?

Nothing wrong with my directories according to fsck or Diskwarrior 3 from CD. Baffling.

==================

Edited later.

Finally found the joys of using the

sudo rm -r

command and dragging the 25 non-files into terminal. Now no more spurious whatis database rebuilds. Thank you.
(Last edited by mcsjgs; Dec 4, 2003 at 09:08 PM. )
Suicide Bombers: That never-say-die spirit. No, that's not right.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:44 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2