Hello.
Gutsy x86, repo kernel (2.6.22).
Any ideas?
Code:
root@kioskfreedom:/usr/local/src# tar -xvvf /freight/lindown/btnx-0.3.3.tar.gz
-rw-r--r-- daou/daou 6726 2007-07-01 05:47 btnx-0.3.3/data/events
drwxr-xr-x Creating directory: btnx-0.3.3
drwxr-xr-x Creating directory: btnx-0.3.3/data
-rwxr-xr-x daou/daou 5147 2007-11-10 06:01 btnx-0.3.3/scripts/install.sh
drwxr-xr-x Creating directory: btnx-0.3.3/scripts
-rw-r--r-- daou/daou 1942 2007-11-10 06:01 btnx-0.3.3/scripts/uninstall.sh
-rw-r--r-- daou/daou 3737 2007-11-11 01:53 btnx-0.3.3/scripts/btnx_init.sh
drwxr-xr-x daou/daou 0 2007-11-11 02:02 btnx-0.3.3/data/
drwxr-xr-x daou/daou 0 2007-11-11 02:02 btnx-0.3.3/scripts/
-rw-r--r-- daou/daou 835 2007-10-18 02:35 btnx-0.3.3/Makefile
-rw-r--r-- daou/daou 8819 2007-10-15 07:05 btnx-0.3.3/config_parser.c
-rw-r--r-- daou/daou 533 2007-07-01 08:47 btnx-0.3.3/device.h
-rw-r--r-- daou/daou 965 2007-07-01 08:47 btnx-0.3.3/config_parser.h
-rw-r--r-- daou/daou 11892 2007-11-10 03:44 btnx-0.3.3/btnx.c
-rw-r--r-- daou/daou 1718 2007-07-14 06:18 btnx-0.3.3/SUPPORTED_MICE
-rw-r--r-- daou/daou 7784 2007-10-15 07:05 btnx-0.3.3/revoco.c
-rw-r--r-- daou/daou 3520 2007-07-14 06:18 btnx-0.3.3/devices_parser.c
-rw-r--r-- daou/daou 399 2007-05-27 08:35 btnx-0.3.3/uinput.h
-rw-r--r-- daou/daou 3867 2007-07-06 01:25 btnx-0.3.3/uinput.c
-rw-r--r-- daou/daou 1914 2007-07-06 01:25 btnx-0.3.3/device.c
-rw-r--r-- daou/daou 584 2007-05-27 08:35 btnx-0.3.3/devices_parser.h
-rw-r--r-- daou/daou 559 2007-10-15 07:05 btnx-0.3.3/revoco.h
-rw-r--r-- daou/daou 1068 2007-07-14 06:18 btnx-0.3.3/README
-rw-r--r-- daou/daou 710 2007-07-06 06:38 btnx-0.3.3/btnx.h
-rw-r--r-- daou/daou 17987 2007-06-12 11:35 btnx-0.3.3/COPYING
-rw-r--r-- daou/daou 464 2007-07-14 06:18 btnx-0.3.3/INSTALL
root@kioskfreedom:/usr/local/src# cd btnx-0.3.3/
root@kioskfreedom:/usr/local/src/btnx-0.3.3# make
gcc btnx.c -Wall -c -o btnx.o
gcc uinput.c -Wall -c -o uinput.o
gcc config_parser.c -Wall -c -o config_parser.o
gcc devices_parser.c -Wall -c -o devices_parser.o
gcc device.c -Wall -c -o device.o
gcc revoco.c -Wall -c -o revoco.o
gcc -o btnx btnx.o uinput.o config_parser.o devices_parser.o device.o revoco.o -Wall
root@kioskfreedom:/usr/local/src/btnx-0.3.3# checkinstall
checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]: y
Preparing package documentation...OK
Please write a description for the package.
End your description with an empty line or EOF.
>> button extension (OlliSallonen.com)
>>
*****************************************
**** Debian package creation selected ***
*****************************************
This package will be built according to these values:
0 - Maintainer: [ root@kioskfreedom ]
1 - Summary: [ button extension (OlliSallonen.com) ]
2 - Name: [ btnx ]
3 - Version: [ 0.3.3 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ i386 ]
8 - Source location: [ btnx-0.3.3 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
Enter a number to change any of them or press ENTER to continue:
Installing with make install...
========================= Installation results ===========================
Installing btnx...
.........
Adding system startup for /etc/init.d/btnx ...
/etc/rc0.d/K49btnx -> ../init.d/btnx
/etc/rc1.d/K49btnx -> ../init.d/btnx
/etc/rc6.d/K49btnx -> ../init.d/btnx
/etc/rc2.d/S49btnx -> ../init.d/btnx
/etc/rc3.d/S49btnx -> ../init.d/btnx
/etc/rc4.d/S49btnx -> ../init.d/btnx
/etc/rc5.d/S49btnx -> ../init.d/btnx
btnx has been successfully installed!
You can type 'sudo /etc/init.d/btnx start' to start btnx if you have made a configuration file with btnx-config.
======================== Installation successful ==========================
Copying documentation directory...
./
./COPYING
./README
./INSTALL
grep: /var/tmp/ClKAdphZpfAZiXfjZPkNr/newfile: No such file or directory
Copying files to the temporary directory...OK
Striping ELF binaries and libraries...OK
Compressing man pages...OK
Building file list...OK
Building Debian package...OK
Installing Debian package... FAILED!
*** Failed to install the package
Do you want to see the log file? [y]: y
*** SIGINT received ***
Cleaning up...OK
Bye.
And here's that log file:
Code:
(Reading database ... 45133 files and directories currently installed.)
Unpacking btnx (from .../btnx_0.3.3-1_i386.deb) ...
dpkg: btnx: warning - conffile `etc/rc5.d' is not a plain file or symlink (= `/etc/rc5.d')
dpkg: error processing /usr/local/src/btnx-0.3.3/btnx_0.3.3-1_i386.deb (--install):
unable to create `./etc/btnx/events': No such file or directory
Errors were encountered while processing:
/usr/local/src/btnx-0.3.3/btnx_0.3.3-1_i386.deb
I'd love to configure w/o documentation if that would work (not that i think it's a good idea), but there's no configure file...?
I'm not sure what to do from here.
================================================== ==========
| EDIT |
=======
Well, "make install" worked. Don't like the checkinstall failing, though (and that other fellow also had no luck w/ it). Any thoughts?
btnx-config checkinstalled just fine, btw.
More problems, though....post to come
Bookmarks