--- DJ Lucas <[EMAIL PROTECTED]> wrote: > 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?
1.6b, but as I can see, it means no difference on this point. > [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] ~]# Ok, and thanks for your reply. I've done again several tests, to point what was false for me. It appears that I've somewhat confused some JDK versions, because I've two versions installed (1.5.0_05 precompiled in 32 bits, and 1.5.0_05 compiled following BLFS in 64 bits). But the problem can still be real for some people. I explain: Basically, the 'man javac' works if PATH contain .../jdk/bin directory and man pages are in .../jdk/man/man1. BUT this is true only if 'jdk' is linked to 'jdk-1.5.0_05' (or anything else), which contains the hand-compiled version of the JDK. But if 'jdk' is linked to '1.5.0_05-precompiled' version, it doesn't work, because the precompiled version doesn't contain the man pages. As I've the two and made some switches between them for tests, it explains the error I erroneously pointed. So, if one want the man pages to be accessible even if the chosen JDK is the precompiled one, I think the man pages in '.../jdk-1.5.0_05/man' must be explicitely noted in /etc/man.conf (or files copied in any 'man/man1' directory). As said Randy, 'Your distro, your rules', but perhaps a little note on the JDK page pointing the lack of man pages in the precompiled version could help some users. Thanks G. Moko __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
