[kbd] Kbd-1.15.5 fails to loadkeys

Alexey Gladkov gladkov.alexey at gmail.com
Thu Dec 13 17:40:16 MSK 2012


12.12.2012 23:31, Matt Burgess wrote:
> On Wed, 2012-12-12 at 01:26 +0400, Alexey Gladkov wrote:
> 
>> This is really strange. I think you're doing something wrong.
>> In an attachment the generated files.
> 
> Thanks for taking the trouble to generate those for me.  Unfortunately,
> I still see the same errors.  For completeness, here's the instructions
> I'm using:
> 
> tar -xf kbd-1.15.5.tar.gz
> cd kbd-1.15.5
> cp ../loadkeys.analyze.{c,h} src/
> ./configure --prefix=/usr --datadir=/lib/kbd --disable-vlock
> make
> make install
> mv -v /usr/bin/{kbd_mode,loadkeys,openvt,setfont} /bin

Are you sure that you do not regenerated loadkeys.analyze.{c,h} ?

> If you or anyone else has the time, then I can try to debug this using
> gdb (or any other method) if given pretty much step-by-step
> instructions.

I using following test:

./loadkeys -u /lib/kbd/keymaps/i386/qwerty/bg_bds-utf8.map.gz
dumpkeys > keymap-old.map
dumpkeys | ../loadkeys -u
dumpkeys > keymap-new.map
cmp keymap-old.map keymap-new.map &&
   echo 'FILES ARE SAME' || echo "DIFF"

I have the following result:

Loading /lib/kbd/keymaps/i386/qwerty/bg_bds-utf8.map.gz
Loading <stdin>
FILES ARE SAME

-- 
Rgrds, legion



More information about the kbd mailing list