I have recently done a clean installation of Panther (10.3.1), and I am
having some system problems. Since I primarily get into the (Unix)
system for Perl related stuff, I thought I'd ask your advice.

The default shell for Panther is bash. I had become accustomed to tcsh
under Jaguar. That is part of my problem. I'm trying to go with bash
under the new system.

OK, here is my situation. My new system starts absolutely "clean". I run
cpan in Terminal and accept the default configurations. Then I try
   cpan> install Bundle::CPAN
and, after that,
   cpan> install Bundle::LWP
Everything seems to work perfectly. Carried away with my success I
install "TimeDate-1.16", but this time I do it with the basic
   perl Makefile.PL
   make
   make test
   make install
commands. Again everything seems to work perfectly.

My problems start when I want to peruse some manuals. Manuals for LWP
or TimeDate modules are not immediately accessible. The commands
   man LWP::Simple
   man Date::Parse
yield absolutely nothing. When I check "manpath", I get
"/usr/share/man:/Users/vic/man". There are definitely no LWP or TimeDate
manuals in either of these directories.

Apparently a new "/man" directory has been created for me, and all new
package manuals have gone there. (I don't even have a "/man" directory
on my 10.2.8 system, which thankfully still exists on an external
drive.) Now I see that the commands
   man -M /man LWP::Simple
   man -M /man Date::Parse
produce the manuals desired. Plain old "man" just won't do it: to read a
new manual you have to know where it is.

Sorry for the long preamble. Here are my questions.

   1. Aren't these package manuals going in the wrong place? Shouldn't
      they automatically be placed in a subdirectory of
      "/usr/share/man"? If so, how do I change the configuration of my
      system so that the "make" procedure automatically puts new manuals
      in the right place?

   2. If I must live with the current setup, how do I change my MANPATH
      in bash. In tcsh I would simply put the line
         setenv MANPATH "/man:/usr/share/man: ... :${HOME}/man"
      in my ".tcshrc" file to tell "man" where to look. Unfortunately,
      there doesn't seem to be a "setenv" command in bash, and the command
         MANPATH=/man:/usr/share/man:Users/vic/man
      in my ".bash_profile" has no effect on either "man" or "manpath".
      The directory "/man" is never searched.

Any advice you might have on my predicament would be greatly
appreciated.

Regards,

Vic

--
*---* mailto:[EMAIL PROTECTED]
|     Victor Thane Norton, Jr.
|     Mathematician and Motorcyclist
|     phone: 419-353-3399
*---* http://vic.norton.name

Reply via email to