On 11/03/2012 11:28 AM, Fernando de Oliveira wrote: >> I have noticed some modifications in the "Introduction to >> Xorg-7.7" page, >> particularly: >> >> sed 's@/usr/X11R6@<PREFIX>@g' -i /etc/man_db.conf >> >> In my host "LFS7.1", I have not done that, there is the >> symlink >> >> /usr/X11R6 -> /usr >> >> and just in case, I have added >> >> /usr/X11 -> /usr >> >> Now in the new "LFS7.2",
Neither of those modifications should be needed, but the instructions referenced below should not be run if building in /usr. If the book says to run them unconditionally, then I've made a mistake when reorganizing the section a while back. I'm not in a position to look at it for the moment. >> >> # grep X11 /etc/man_db.conf >> MANPATH_MAP >> /usr/X11R6/bin >> /usr/X11R6/man >> MANPATH_MAP /usr/bin/X11 >> /usr/X11R6/man >> MANDB_MAP /usr/X11R6/man >> /var/cache/man/X11R6 >> >> I used that sed, however: >> >> # grep X11 /etc/man_db.conf >> MANPATH_MAP /usr/bin/X11 >> <PREFIX>/man >> MANDB_MAP >> <PREFIX>/man >> /var/cache/man/X11R6 >> >> 1. Is it correct having <PREFIX>/man? >> >> 2. Should not /var/cache/man/X11R6 be replaced too, perhaps >> by >> /var/cache/man/X11 >> (s@/var/cache/man/X11R6@/var/cache/man/X11@g)? >> >> The second question is not so important, I believe, but it >> seems >> necessary, just for consistency reason (not using X11R6, but >> X11). >> >> Thanks. >> >> []s, >> Fernando >> I think for builds with a prefix other than /usr, it would be better to just add all three of the paths to the end and force a cache update in the configuration section (using 'cat >> /etc/mandb.conf << "EOF"' syntax). It should be tested by somebody who uses something other than /usr as the installation prefix. I'm still of the mind to completely drop the alternate prefix business for everything (the wiki is the place for differing opinions), but others seem to still want and use it, so it should stay as long as somebody is keeping an eye on it for breakage. I generally do keep it in mind, but only to a minimum as I do not actually test in an alternate prefix. Also, does mandb.conf support a source/include directive? Best would be to use the mandb.d/* method if supported. -- DJ Lucas -- This message has been scanned for viruses and dangerous content, and is believed to be clean. -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page