[Clfs-commits] [CLFS Trac] #185: module-init-tools creates /share

CLFS Trac trac at cross-lfs.org
Sat Oct 11 23:29:59 PDT 2008


#185: module-init-tools creates /share
---------------------+------------------------------------------------------
  Reporter:  tobias  |       Owner:  clfs-commits at lists.cross-lfs.org.
      Type:  task    |      Status:  new                              
  Priority:  minor   |   Milestone:  CLFS Standard 1.2.0              
 Component:  BOOK    |     Version:  CLFS Standard SVN                
Resolution:          |    Keywords:                                   
---------------------+------------------------------------------------------
Comment (by chris at beaker67.com):

 Replying to [ticket:185 tobias]:
 > Due to configuration in this way:
 >
 > CC="gcc ${BUILD64}" ./configure --prefix="/" \[[BR]]
 >    --enable-zlib
 >
 > module-init-tools creates /share/man for its man pages.
 > Consider this additional configuration flag:
 >
 > CC="gcc ${BUILD64}" ./configure --prefix="/" \[[BR]]
 >    --datadir=/usr/share --enable-zlib

 The --datadir shouldn't be necessary. Check this code in Makefile.in...

 mandir = $(shell if [ @mandir@ = $(prefix)/man ]; then if [ $(prefix) = /
 ]; then echo /usr/share/man; else echo $(prefix)/share/man; fi; else echo
 @mandir@; fi)

 So, if it sees "--prefix=/" then it should set mandir=/usr/share/man.

 In fact I know it does because I also have "--prefix=/ --enable-zlib" and
 no other configure options, and my manpages are in fact in /usr/share/man.

 Although I do only have an x86 system so there could be some issue with
 64-bit systems that I don't know about...

-- 
Ticket URL: <http://trac.cross-lfs.org/ticket/185#comment:1>
CLFS Trac <http://trac.cross-lfs.org>
The Cross Linux From Scratch Project.


More information about the Clfs-commits mailing list