On 12/27/2013 05:43 PM, Bruce Dubbs wrote: > Armin K. wrote: >> On 12/27/2013 05:23 PM, Bruce Dubbs wrote: >>> kre...@higgs.linuxfromscratch.org wrote: >>>> Author: krejzi >>>> Date: Thu Dec 26 15:20:53 2013 >>>> New Revision: 10418 >>>> >>>> Log: >>>> add infodir switch to bc >>>> >>>> Modified: >>>> branches/systemd/BOOK/chapter06/bc.xml >>>> >>>> Modified: branches/systemd/BOOK/chapter06/bc.xml >>>> ============================================================================== >>>> --- branches/systemd/BOOK/chapter06/bc.xml Thu Dec 26 11:49:42 2013 >>>> (r10417) >>>> +++ branches/systemd/BOOK/chapter06/bc.xml Thu Dec 26 15:20:53 2013 >>>> (r10418) >>>> @@ -45,6 +45,7 @@ >>>> >>>> <screen><userinput remap="configure">./configure --prefix=/usr \ >>>> --with-readline \ >>>> + --infodir=/usr/share/info \ >>>> --mandir=/usr/share/man</userinput></screen> >>>> >>>> <variablelist> >>> >>> Armin, >>> >>> I'm curious. Why did you add the infodir and mandir switches? On my >>> test build of trunk yesterday, both the man page and the info page were >>> placed in the correct place without them. >>> >>> -- Bruce >>> >> >> Not here. They were installed in /usr/man and /usr/info, respectively. > > You must not have the same directory setup. In trunk we do: > > for dir in /usr /usr/local; do > ln -sv share/{man,doc,info} $dir > done > > -- Bruce >
See ncurses and bzip2 instructions. The mandir locations are overriden for the very same reason - /usr/info and /usr/man are part of old fhs standard and should really go away. We are probably the last distribution that still keeps the symlinks. My plan was to remove it in not so distant future, but I need to check BLFS first (I've done most of it, though) in order to completely nuke it. And for those who use package management, packages will install to /usr/man *directory* when using destdir method, but since it is a symlink, you can't correctly install it using some packaging method. Same goes for lib64 -> lib symlink. You might notice that I've overriden some blfs packages not to install anything into /usr/lib64 or /lib64 and that's for the very same reason (not to write over symlinks). -- Note: My last name is not Krejzi. -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page