Re: man path problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

try this:

export MANPATH=`manpath`:$QTDIR/man

greetings

Frank Jahn
(Netzwerkadministrator, RHCE, LPIC-1)

robbe Modellsport GmbH & Co. KG
Metzloser Straße 36
36352 Grebenhain

Tel.:  0049 (0) 6644 87242
Fax :  0049 (0) 6644 7412
E-Mail:          mailto:frank.jahn@xxxxxxxxx
Homepage: http://www.robbe.com


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Monday 15 December 2003 09:48 pm, Michael Sullivan wrote:
>> I've got a question about the man pages.  On my cron problem a lot of
>> you told me to check the man pages.  I couldn't find any man pages for
>> cron.  I couldn't find any man pages for anything, so I think there's a
>> shell variable somewhere that needs to be set.  I checked the $MANPATH
>> variable, but the only location in it was the one that the Qt
>> documentation told me to set.  I have included the code that Qt told me
>> to insert into /etc/profile:
>>
>> if [$MANPATH]
>> then
>>    MANPATH=$QTDIR/man:$MANPATH
>> else
>>    MANPATH=$QTDIR/man
>> fi
>>
>> Please help me!!!
>
> Check to see where man will look with the "manpath" command.
> [mfratoni@paradox mfratoni]$ manpath
> /usr/share/man:/usr/X11R6/man:/usr/man:/usr/local/man
>
> Note that MANPATH isn't set:
> [mfratoni@paradox mfratoni]$ echo $MANPATH
>
> [mfratoni@paradox mfratoni]$
>
> Now, set MANPATH:
> [mfratoni@paradox mfratoni]$ export MANPATH=/usr/lib/qt3
> [mfratoni@paradox mfratoni]$ manpath
> /usr/lib/qt3
>
> man will now be unable to find manpages....
>
> [mfratoni@paradox mfratoni]$ man cron
> man: No such file or directory
> No manual entry for cron
>
> Try unsetting MANPATH with:
>
> unset MANPATH
> Manpages should now work again.
>
> You can then add the path for QT to /etc/man.config, and remove the
> /etc/profile entry that is currently breaking your man config. ;)
>
> Hope that helps,
> - --
> - -Michael
>
> pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
> Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
> - --
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE/3oq4n/07WoAb/SsRAjR0AKCirN8HZyTu7SzNMtMDe3Q9UUhwxACfSKsQ
> szD6OKLAgQoaANx/bS9XchI=
> =m67p
> -----END PGP SIGNATURE-----
>
>
>


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux