Click to See Complete Forum and Search --> : [SOLVED] making ?


Sir Lancelot
11-13-2006, 03:42 PM
Go gently I'm just starting....

I want to get my kb mapped to GB and have downloaded kbd-1.12.tar.gz as advised on various sites. ( Well they said 0.90 but I'm guessing this is an update )

Having installed gcc and bison I'm now at the stage of ' making '

It seems to go OK, though complains about things being in the wrong place.. but then stalls... well exits back to the install directory.

The point of failures goes along the lines of...

bison - y loadkeys.y
flex -8 -t analyze 1 > analyze.c
/bin/sh: flex: command not found
make[1]: ***[analyze.c] Error 127
make[1] leaving directory >>>> Downloads/kbd-1.12/src
make: ***[all] Error 1

I'm not clear why flex appears to have functioned and then can't be found.

Any pointers appreciated. It's all new to me !

TIA

dkeav
11-13-2006, 04:03 PM
i dont think flex did function, it was just showing you what was being ran, you probably need to make sure flex is installed for your distro

bigmac99
11-13-2006, 09:40 PM
it looks like it is telling you that flex is not installed.

-Charles

Sir Lancelot
11-14-2006, 04:33 AM
Yes. Thank you both, I had to install Flex as well, then remove everything and begin again.

I'm beginning to liken LINUX to building a kit car from absolute scratch without any model specific instructions. I was up for a bit of a challenge but not sure I want to devote my life to it ! ;-)

dkeav
11-14-2006, 12:38 PM
umm, the instructions were there, read the README and INSTALL files included with whatever you are compiling, if the instructions suck thats the author of that piece of software's fault

as far as your compiling issue, it told you what was wrong, you just have to read it and learn to interpret it, but mostly just dont "overthink" it, things in unix are simple, thats why people have such a hard time with it, its overly simple, if not too simple and we just think way too hard about it

Sir Lancelot
11-15-2006, 04:47 AM
Hmmm, I think you are perhaps over-egging the simplicity element. ;-)

Considering something like vi for instance. It's numerous options are a challenge in their own.

Parcival
11-15-2006, 05:35 AM
There's always nano. :)

dkeav
11-15-2006, 01:19 PM
its just an editor, you use maybe 3 options out of the lot

insert, save, quit

thats about the same for any editor, and as parcival said, then try a different one, like nano