Since I am very used to gnu commands such gawk, gsed, etc.. I have installed
them via pkg_add from ftp.netbsd.org.
Everything went find, and the commands work as expected, but when i try to
see the man page all i see is:
man: Formatting manual page...
sh: /usr/bin/nroff: not found
I have not found pakage nroff in the ftp, there is only unroff but it doesnt
provide /usr/bin/nroff, only /usr/pkg/bin/unroff. I tried with a simlink but
didnt work.
Any ideas?
Thanks,
Fred.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de
Yes, it looks like you didn't install the "text" set ("text.tgz")
when you installed NetBSD.
You can install it manually like this:
su -c "tar -C / -xpzf /where/ever/it/is/arch/binary/sets/text.gz"
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
Thanks for all the replies and sorry if i didn't give enough info.
Im running NetBSD 5.1, I did an clean install and the man command works just
fine with the default NetBSD, included commands. It only fails with the
error message posted when i try to see the manual pages of the commands
installed by me with pkg_add (such as gawk).
Following your advice I tried installing 'text' but there was no such a
package in the ftp (or maybe i did something wrong). But I was in the right
track so I rebooted with the install cd and choose to 'Upgrade NetBSD on a
hard disk" --> 'Custom installation' and then I selected de 'Text processing
tools' section, when done I rebooted and everything works fine now.
Thanks guys,
Fred.
On Fri, Jul 29, 2011 at 5:56 PM, Martin S. Weber <Epha...@gmx.net> wrote:
> On Fri, Jul 29, 2011 at 01:26:29PM +0200, feralert wrote:
> > Hi all,
> >
> > Since I am very used to gnu commands such gawk, gsed, etc.. I have
> installed
> > them via pkg_add from ftp.netbsd.org.
> >
> > Everything went find, and the commands work as expected, but when i try
> to
> > see the man page all i see is:
> >
> > man: Formatting manual page...
> > sh: /usr/bin/nroff: not found
> >
>
> It seems man is expecting to use the base-roff which is inside the text.tgz
> "package" which is part of the standard NetBSD distribution. It also has
> its
> own sed, awk, etc. so I guess you didn't install that to not clash with the
> pkgsrc versions. Well, you still should install it. Just put /usr/pkg/bin
> and
> /usr/pkg/sbin before the /usr/bin and /usr/sbin and /bin and /sbin in your
> PATH and you'll be good.
>
> Hope that helps,
>
> -Martin
The manual pages shipped with NetBDSD are provided as both unformatted and
formatted files. The later file format doesn't require processing with
"nroff" to look at them.
> Following your advice I tried installing 'text' but there was no such a
> package in the ftp (or maybe i did something wrong).
It is available here:
http://ftp.NetBSD.org/pub/NetBSD/NetBSD-5.1/<ARCH>/binary/sets/text.tgz
Just replace "<ARCH>" with the output of "uname -p".
> But I was in the right track so I rebooted with the install cd and
> choose to 'Upgrade NetBSD on a hard disk" --> 'Custom installation'
> and then I selected de 'Text processing tools' section, when done I
> rebooted and everything works fine now.
Yes, that will do the trick as well.
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
--
On Tue, Aug 2, 2011 at 12:32 AM, Matthias Scheler <tr...@zhadum.org.uk> wrote:
>
> On Mon, Aug 01, 2011 at 05:00:41PM +0200, feralert wrote:
> > Im running NetBSD 5.1, I did an clean install and the man command works just
> > fine with the default NetBSD, included commands. It only fails with the
> > error message posted when i try to see the manual pages of the commands
> > installed by me with pkg_add (such as gawk).
>
> The manual pages shipped with NetBDSD are provided as both unformatted and
> formatted files. The later file format doesn't require processing with
> "nroff" to look at them.
>
> > Following your advice I tried installing 'text' but there was no such a
> > package in the ftp (or maybe i did something wrong).
>
> It is available here:
>
> http://ftp.NetBSD.org/pub/NetBSD/NetBSD-5.1/<ARCH>/binary/sets/text.tgz
>
> Just replace "<ARCH>" with the output of "uname -p".
I was wrong then, because I was looking in
ftp://ftp.netbsd.org/pub/NetBSD/packages/5.1/i386 (arent they supposed
to be the same?).
Also, I got 'ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/i386/5.1/All'
configured so I can use pkg_add from the console (this is from the
'The pkgsrc user's guide'
(http://www.netbsd.org/docs/pkgsrc/using.html#finding-binary-packages,
4.1.2. Installing binary packages), and didnt find it the neither.
I still have to go through all the documentation, so maybe this is
just me mixing up things.
Thanks,
Fred.
>
> > But I was in the right track so I rebooted with the install cd and
> > choose to 'Upgrade NetBSD on a hard disk" --> 'Custom installation'
> > and then I selected de 'Text processing tools' section, when done I
> > rebooted and everything works fine now.
>
> Yes, that will do the trick as well.
>
> Kind regards
>
> --
> Matthias Scheler http://zhadum.org.uk/
--
The text.tgz install set, including the tools necessary for formatting
man pages, is part of the NetBSD base system. That's why it was on your
install CD, and why on the FTP servers it appears in the same folder as
the kernel and other install sets. Pkgsrc (including pkg_add) is for
installing third-party software.
(oh and welcome to NetBSD)
Ian Leroux
No, the directory you quoted is for "pkgsrc" binary packages. But you were
missing an optional part of the NetBSD base distribution.
Non, this is for third-party packages, built from pkgsrc.
ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/i386/5.1/All is for
binaries part of the base system.
>
> Also, I got 'ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/i386/5.1/All'
> configured so I can use pkg_add from the console (this is from the
> 'The pkgsrc user's guide'
> (http://www.netbsd.org/docs/pkgsrc/using.html#finding-binary-packages,
> 4.1.2.�Installing binary packages), and didnt find it the neither.
You don't install base sets with pkg_add; just:
cd /tmp
ftp http://ftp.NetBSD.org/pub/NetBSD/NetBSD-5.1/i386/binary/sets/text.tgz
cd /
tar xzpf /tmp/text.tgz
--
Manuel Bouyer <bou...@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--