LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-08-2009, 07:42 PM   #1
Username2
LQ Newbie
 
Registered: Nov 2009
Posts: 18

Rep: Reputation: 0
man pages problem (lines ?-?/? (END))


Hi.

I installed Slackware earlier and everything is running fine except my manpages arent working. I have installed the packages.

I looked at other threads and the suggested fix was to install textutils. I searched about and found that textutils was now inside coreutils, and thus installed the latest coreutils, but there is no change.

Does anyone know a solution?

Thanks.
 
Old 11-08-2009, 08:25 PM   #2
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by Username2 View Post
Does anyone know a solution?
I'm running Slackware 13 32 bit stable. Man pages work for me so here's the output from ldd that shows shared library dependancies.

Code:
user@slacker:~# ldd -v /usr/bin/man
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/libc.so.6 (0xb7e1d000)
        /lib/ld-linux.so.2 (0xb7fa2000)

        Version information:
        /usr/bin/man:
                libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /lib/libc.so.6:
                ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
user@slacker:~#
What does your ldd output?

Last edited by Chuck56; 11-08-2009 at 08:33 PM.
 
Old 11-09-2009, 10:45 AM   #3
Username2
LQ Newbie
 
Registered: Nov 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Chuck56 View Post
I'm running Slackware 13 32 bit stable. Man pages work for me so here's the output from ldd that shows shared library dependancies.

Code:
user@slacker:~# ldd -v /usr/bin/man
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/libc.so.6 (0xb7e1d000)
        /lib/ld-linux.so.2 (0xb7fa2000)

        Version information:
        /usr/bin/man:
                libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /lib/libc.so.6:
                ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
user@slacker:~#
What does your ldd output?
Hi, my ldd outputs

Code:
username@usernamepc:~$ ldd -v /usr/bin/man
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/libc.so.6 (0xb7dd2000)
        /lib/ld-linux.so.2 (0xb7f4b000)

        Version information:
        /usr/bin/man:
                libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /lib/libc.so.6:
                ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
username@usernamepc:~$
 
Old 11-09-2009, 11:03 AM   #4
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
I honestly wonder how did you manage to install and therefore use an installation without coreutils.
Did you install groff as well?
 
Old 11-09-2009, 11:08 AM   #5
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
My system throws an error like that when attempting to read localized manpages (I run with LANG=ja_JP.UTF8). I never really bothered tracking it down why exactly it does that. I do "LANG=C man foo" so that it'll give me English, which always works.
 
Old 11-09-2009, 01:17 PM   #6
Username2
LQ Newbie
 
Registered: Nov 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sahko View Post
I honestly wonder how did you manage to install and therefore use an installation without coreutils.
Did you install groff as well?
Yeh I installed groff yesterday, im sure I installed coreutils in my initial installation, I definitely didnt uncheck it.

Quote:
Originally Posted by tuxdev View Post
My system throws an error like that when attempting to read localized manpages (I run with LANG=ja_JP.UTF8). I never really bothered tracking it down why exactly it does that. I do "LANG=C man foo" so that it'll give me English, which always works.
Didnt work for me unfortunately.

When I use man I also get the errors:

Code:
sh: /usr/bin/gtbl: No such file or directory
sh: /usr/bin/nroff: No such file or directory
 
Old 11-09-2009, 05:41 PM   #7
Username2
LQ Newbie
 
Registered: Nov 2009
Posts: 18

Original Poster
Rep: Reputation: 0
I have also noticed that I dont have a /usr/bin/groff folder or file, is this a problem? Groff installs fine.

Last edited by Username2; 11-09-2009 at 05:44 PM.
 
Old 11-09-2009, 05:48 PM   #8
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Take a look in /var/log/packages and open the groff-* text file. It shows you what was installed by the package.
 
Old 11-09-2009, 05:54 PM   #9
Username2
LQ Newbie
 
Registered: Nov 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Chuck56 View Post
Take a look in /var/log/packages and open the groff-* text file. It shows you what was installed by the package.
Hmm, no groff file in there, so obviously its not installing correctly.
 
Old 11-09-2009, 06:05 PM   #10
Username2
LQ Newbie
 
Registered: Nov 2009
Posts: 18

Original Poster
Rep: Reputation: 0
So I reinstalled groff and read that I had to made symlinks to make xman work:

Code:
ln -s soelim /usr/bin/zsoelim
ln -s eqn /usr/bin/geqn
ln -s tbl /usr/bin/gtbl
Now my man pages work! But the text is all messed up.

Code:
CHMOD(1)                                                                                            User Commands                                                                                            CHMOD(1)

ESC[1mNAMEESC[0m
       chmod - change file mode bits

ESC[1mSYNOPSISESC[0m
       ESC[1mchmod ESC[22m[ESC[4mOPTIONESC[24m]... ESC[4mMODEESC[24m[ESC[4m,MODEESC[24m]... ESC[4mFILEESC[24m...
       ESC[1mchmod ESC[22m[ESC[4mOPTIONESC[24m]... ESC[4mOCTAL-MODEESC[24m ESC[4mFILEESC[24m...
       ESC[1mchmod ESC[22m[ESC[4mOPTIONESC[24m]... ESC[4m--reference=RFILEESC[24m ESC[4mFILEESC[24m...
Any ideas?
 
Old 11-09-2009, 06:08 PM   #11
Username2
LQ Newbie
 
Registered: Nov 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Fixed it!

Code:
Change the following line in /usr/share/misc/man.conf:

NROFF       /usr/bin/nroff -Tlatin1 -mandoc

to

NROFF        /usr/bin/nroff -c -mandoc 2>/dev/null
Thanks for all your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting 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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with man pages in mandriva one chilebiker Mandriva 2 07-07-2006 08:29 AM
new 9.1 install problem with man pages slackgood Slackware 2 11-02-2003 01:47 PM
font problem in man pages -=MaGo=- Linux - General 2 11-01-2003 12:02 PM
problem with man pages mutt Slackware 1 06-29-2003 05:03 AM
Problem with man pages d1ll1gaf Slackware 1 06-12-2003 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration