Hi,
I’m on step 1.2.3 of installing ConsoleWD for Raspberry Pi Setup Instructions and am struggling with the make of libhid.
[i]1.2 install libhid
1.2.1 download from http://alioth.debian.org/frs/?group_id=30451.
It is placed into your home folder
1.2.2 modify in the downloaded folder libhid/test/lshid.c line 41
Reads now:
len = ((unsigned long)custom);
modify that one line and add the extra two lines:
//len = ((unsigned long)custom);
len = len;
custom = custom;
1.2.3 When you are in that folder in a terminal window
sudo ./configure && make
at the end you will get an error 2 in the make part, ignore that
sudo make install
this finishes without errors[/i]
I’ve edited the lshid.c in ~/Downloads/libhid-0.2.16/test and am now trying to run:
sudo ./configure && make
But I get the error:
sudo: ./configure: command not found
~/Downloads/libhid-0.2.16 $ ls -lai
total 1508
130459 drwxr-xr-x 11 pi pi 4096 Jan 8 18:08 .
151139 drwxr-xr-x 3 pi pi 4096 Jan 8 18:08 …
130461 -rw-r–r-- 1 pi pi 269841 Jan 8 18:08 aclocal.m4
130463 -rw-r–r-- 1 pi pi 144 Jan 8 18:08 AUTHORS
151546 -rw-r–r-- 1 pi pi 7183 Jan 8 18:08 ChangeLog
151547 -rw-r–r-- 1 pi pi 43668 Jan 8 18:08 config.guess
151548 -rw-r–r-- 1 pi pi 2441 Jan 8 18:08 config.h.in
151549 -rw-r–r-- 1 pi pi 32151 Jan 8 18:08 config.sub
151550 -rw-r–r-- 1 pi pi 793686 Jan 8 18:08 configure
151551 -rw-r–r-- 1 pi pi 3894 Jan 8 18:08 configure.ac
151552 -rw-r–r-- 1 pi pi 18002 Jan 8 18:08 COPYING
151566 drwxr-xr-x 2 pi pi 4096 Jan 8 18:08 debian
151553 -rw-r–r-- 1 pi pi 15936 Jan 8 18:08 depcomp
151581 drwxr-xr-x 4 pi pi 4096 Jan 8 18:08 doc
151586 drwxr-xr-x 2 pi pi 4096 Jan 8 18:08 hidparser
151594 drwxr-xr-x 2 pi pi 4096 Jan 8 18:08 include
151554 -rw-r–r-- 1 pi pi 9498 Jan 8 18:08 INSTALL
151555 -rw-r–r-- 1 pi pi 9233 Jan 8 18:08 install-sh
151556 -rw-r–r-- 1 pi pi 196440 Jan 8 18:08 ltmain.sh
151602 drwxr-xr-x 2 pi pi 4096 Jan 8 18:08 m4
151557 -rw-r–r-- 1 pi pi 1552 Jan 8 18:08 Makefile.am
151558 -rw-r–r-- 1 pi pi 1803 Jan 8 18:08 Makefile.debian
151559 -rw-r–r-- 1 pi pi 26467 Jan 8 18:08 Makefile.in
151560 -rw-r–r-- 1 pi pi 11014 Jan 8 18:08 missing
151561 -rw-r–r-- 1 pi pi 0 Jan 8 18:08 NEWS
151621 drwxr-xr-x 2 pi pi 4096 Jan 8 18:08 pkgconfig
151562 -rw-r–r-- 1 pi pi 4142 Jan 8 18:08 py-compile
151563 -rw-r–r-- 1 pi pi 4972 Jan 8 18:08 README
151564 -rw-r–r-- 1 pi pi 587 Jan 8 18:08 README.licence
290548 drwxr-xr-x 2 pi pi 4096 Jan 8 18:08 src
290565 drwxr-xr-x 2 pi pi 4096 Jan 8 18:08 swig
290576 drwxr-xr-x 2 pi pi 4096 Jan 8 18:10 test
151565 -rw-r–r-- 1 pi pi 5131 Jan 8 18:08 TODO
pi@raspberrypi:~/Downloads/libhid-0.2.16 $
Thanks and sorry for being so dim.