Alice Wonder wrote: > I didn't see this mentioned in errata so I don't know if it has been > noted yet or not. > > http://www.linuxfromscratch.org/lfs/view/stable/chapter06/kbd.html > > The instructions have > > ./configure --prefix=/usr --datadir=/lib/kbd \ > --disable-vlock > > While that does fix the problem of where the keyboard files go, > unfortunately it also results in the locale files being installed > into /lib/kbd instead of /usr/share > > Might be better to patch the makefile for the install location of the > keymaps to separate it from datadir ?? Or add instructions to move the > locale files post install (I think that would work, I don't use them > though)
Indeed, po/Makefile.in.in does not honor the configure option localedir for installation. The problem is that the location of the locale files ends up being embedded in the executable. bindtextdomain(PACKAGE_NAME, LOCALEDIR); Where src/nls.h has #ifndef LOCALEDIR #define LOCALEDIR "/usr/share/locale" #endif but po/Makefile.in.in ignores it datadir = @datadir@ localedir = $(datadir)/locale gettextsrcdir = $(datadir)/gettext/po Changing @datadir@ to @localedir@ there and using: ./configure --prefix=/usr --datadir=/lib/kbd --disable-vlock localedir=/usr/share seems to do the right thing. Ken, You do the most with kbd. Can you confirm? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page