Err...
Just to correct myself, and FYI, it doesn't work. My
first test was broken (bad typing), and after that, I
can't issue 'man java' without the right path in
man.conf, even with PATH well set.
So the correction is still necessary for JDK, I think.

No, it does works expected with 1.6a. LFS was at 1.6b but this might need repairing anyway with man-db in LFS. What version of man are you using?

[EMAIL PROTECTED] ~]# echo $PATH
/bin:/usr/bin:/usr/X11R6/bin:/sbin:/usr/sbin:/opt/jdk/jdk/bin:/opt/ant/bin:/opt/fop/bin
[EMAIL PROTECTED] ~]# ls -ld /opt/jdk/jdk
lrwxrwxrwx  1 root root 13 Oct 30 12:19 /opt/jdk/jdk -> jdk-1.5.0_05/
[EMAIL PROTECTED] ~]# man --version
Cannot open the message catalog "man" for locale "POSIX"
(NLSPATH="<none>")

man, version 1.6a

[EMAIL PROTECTED] ~]# grep jdk /etc/man.conf
[EMAIL PROTECTED] ~]# man javac
# this opened the javac(1) man page
[EMAIL PROTECTED] ~]# echo $?
0
[EMAIL PROTECTED] ~]#

-- DJ Lucas

--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to