Typing "man Tk//grid" seems like it might be a pain...I guess I might have to write a script to strip the "Tk//".
Is there any way I can at least get the pod files updated in the Tk perl area?
Trying to read the make file gives me severe headaches...
--Jerry On Apr 25, 2004, at 3:06 PM, Sherm Pendley wrote:
On Apr 24, 2004, at 11:13 PM, Jerry LeVan wrote:
The man folder contained a "man1" and a "man3" folder. Each of these
folders contains files with names like "Tk//grid.3pm". The contents
look like nroff stuff. ( Note the ":" is the native mac file path seperator).
As the directory name implies, they're man pages, created with pod2man as part of the install process.
Perl is configured with the correct path for man pages in $Config{siteman1}, so it would seem that the makefile created by ExtUtils::MakeMaker is ignoring this config variable and using $Config{siteprefix} . '/man' instead.
Any simple fix?
The fix is far from simple - patch ExtUtils::MakeMaker to do the right thing, and rebuild/reinstall Perl. :-(
On the other paw, there is a very simple workaround.
Move the current contents of /man/man1 to /usr/share/man/man1, and the contents of /man/man3 to /usr/share/man/man3:
sudo mv /usr/man/man1/* /usr/share/man/man1/ sudo mv /usr/man/man3/* /usr/share/man/man3/
Then delete the /man directory, and in its place create a symbolic link that points to /usr/share/man:
sudo rm -r /man sudo ln -s /usr/share/man /man
If you'd like to hide the /man directory/link from Finder, just add it to the /.hidden file. It's a simple text file, so use vi, emacs, BBEdit, whatever your favorite editor is.
sherm--
