Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 14:28:31 +0000
From:      Hiten Pandya <hiten@uk.FreeBSD.org>
To:        Juriy Goloveshkin <j@gu.ru>
Cc:        current@FreeBSD.org
Subject:   Re: perldoc broken?
Message-ID:  <20020327142831.A3927@hpdi.ath.cx>

next in thread | raw e-mail | index | archive | help

--VbJkn9YxBvnuCH5J
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> vaio@juriy[~]> perldoc open
> /usr/local/bin/pod2man: not found
> Can't open /var/tmp/tmp.0.lXkGaq: File exists at /usr/bin/perldoc line 35=
1.

For some odd reason, it doesn't show up, because the $bindir in:
	src/contrib/perl5/utils/perldoc.PL (line 375)

is changed to (or is) /usr/local/bin.  You can issue yourself a temp.
fix by changing the $bindir variable on line 335 of /usr/bin/perldoc to
/usr/bin. Your final line should look like this:

	open('/usr/bin', 'pod2man'); ... and the rest ...

Although you can make the actual change in the perldoc.PL file and then
rebuild the utilties.. (in /usr/src/contrib/perl5), but this is how it
can be done.. I solved it this way.. but I may be wrong.. ;)

After this, you should be able to run 'perldoc open' nicely without
glitches.. hehe.

Regards,

--=20
Hiten Pandya
http://jfs4bsd.sf.net - JFS for FreeBSD (JFS4BSD)
http://www.FreeBSD.org - The Power to Serve

Public Key: http://www.pittgoth.com/~hiten/pubkey.asc
--- 4FB9 C4A9 4925 CF97 9BF3  ADDA 861D 5DBD E4E3 03C3 ---

--VbJkn9YxBvnuCH5J
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8odcPhh1dveTjA8MRAh6IAKDLfaioDGMCMqkctrdhPyriOm3oRwCfd5hr
2t0UBF3/0QFvQmBYpVlvdcU=
=kmpw
-----END PGP SIGNATURE-----

--VbJkn9YxBvnuCH5J--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020327142831.A3927>