Guest caleb Posted April 13, 2005 Report Share Posted April 13, 2005 Hi, I having some problems with IrDA. I tried to get it working by urpmi irda but I cant get it running. For this reason I have decided to start from scratch. I following a how to located here; http://tuxmobil.org/Infrared-HOWTO/infrare...owto-s-software I have downloaded irda-utils and ran tar -zxvf. I then cd into the directory and as per the instructions I run the following; # make clean which yields the following output; set -e ; for d in irattach irdaping etc man psion tekram findchip irdadump ; do make -C $d clean ; done make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/irattach' rm -f *.BAK *.bak *.o ,* *~ *.a make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/irattach' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/irdaping' rm -f *.BAK *.bak *.o ,* *~ *.a make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/irdaping' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/etc' rm -f *.BAK *.bak *.o ,* *~ *.a make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/etc' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/man' rm -f *.[1-9] *~ make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/man' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/psion' rm -f *.o *~ core make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/psion' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/tekram' rm -f *.BAK *.bak *.o ,* *~ *.a make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/tekram' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/findchip' rm -f *.o *~ #* make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/findchip' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/irdadump' make[1]: *** No rule to make target `clean'. Stop. make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/irdadump' make: *** [clean] Error 2 I don know what the error means. I just ran the next command in the instructions instead;\ # make all which produces the following output; echo "*** Making sure some directories exists ***" *** Making sure some directories exists *** mkdir -p /usr/sbin mkdir -p /usr/bin /usr/X11R6/bin cd irdadump;CFLAGS="-O2 -W -Wall" CXXFLAGS="-O2 -W -Wall" ./autogen.sh --prefix=/usr processing . You should update your `aclocal.m4' by running aclocal. /usr/share/aclocal/g-wrap.m4:7: warning: underquoted definition of AC_GWRAP_CHECK_GUILE run info '(automake1.9)Extending aclocal' or see http://sources.redhat.com/automake/automak...nding%20aclocal /usr/share/aclocal/g-wrap.m4:23: warning: underquoted definition of AM_PATH_GWRAP aclocal:configure.in:12: warning: macro `AM_PATH_GLIB' not found in library ac-wrapper: /usr/bin/autom4te-2.13 is missing or not executable. Something is very wrong. aclocal: autom4te failed with exit status: 1 Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir] [-l dir] [--localdir=dir] [--version] [template-file] automake: autoconf failed with exit status: 1 Running ./configure --enable-maintainer-mode --prefix=/usr creating cache ./config.cache configure: error: can not find install-sh or install.sh in . ./.. ./../.. Now type 'make' to compile irdadump. for i in irattach irdaping etc man psion tekram findchip irdadump ; do \ cd $i;make all; cd ..; \ done make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/irattach' gcc -O2 -W -Wall -Wstrict-prototypes -Wshadow -I/usr/include -I/usr/src/linux/include -I/usr/include -I/usr/src/linux/include -I../include/ -c irattach.c gcc -O2 -W -Wall -Wstrict-prototypes -Wshadow -I/usr/include -I/usr/src/linux/include -I/usr/include -I/usr/src/linux/include -I../include/ -c util.c gcc -O2 -W -Wall -Wstrict-prototypes -Wshadow -I/usr/include -I/usr/src/linux/include irattach.o util.o -o irattach util.o(.text+0x8e): In function `open_dev': : warning: the use of `tmpnam' is dangerous, better use `mkstemp' gcc -O2 -W -Wall -Wstrict-prototypes -Wshadow -I/usr/include -I/usr/src/linux/include -I/usr/include -I/usr/src/linux/include -I../include/ -c dongle_attach.c gcc -O2 -W -Wall -Wstrict-prototypes -Wshadow -I/usr/include -I/usr/src/linux/include dongle_attach.o -o dongle_attach make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/irattach' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/irdaping' gcc -I/usr/src/linux/include -I/usr/include -Wall -Wstrict-prototypes -I/usr/src/linux/include -I/usr/include -c irdaping.c irdaping.c: In function `timeout': irdaping.c:142: warning: implicit declaration of function `htons' gcc -I/usr/src/linux/include -I/usr/include -Wall -Wstrict-prototypes irdaping.o -o irdaping make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/irdaping' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/etc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/etc' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/man' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/psion' cc -g -I../include -Wall -Wstrict-prototypes irpsion5.c -o irpsion5 irpsion5.c:54: warning: type defaults to `int' in declaration of `slot_timeout' irpsion5.c:56: warning: type defaults to `int' in declaration of `debug_level' irpsion5.c:59: warning: type defaults to `int' in declaration of `verbose' make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/psion' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/tekram' gcc -I/usr/src/linux/include -I/usr/include -I../include -Wall -Wstrict-prototypes -I/usr/src/linux/include -I/usr/include -I../include -c irkbd.c irkbd.c: In function `irkbd_handle_response': irkbd.c:289: error: syntax error before string constant make[1]: *** [irkbd.o] Error 1 make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/tekram' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/findchip' gcc -O2 -Wall -Wstrict-prototypes -c findchip.c findchip.c: In function `main': findchip.c:116: warning: implicit declaration of function `exit' gcc -O2 -Wall -Wstrict-prototypes -c smc.c smc.c: In function `probe_69': smc.c:105: warning: implicit declaration of function `memset' gcc -O2 -Wall -Wstrict-prototypes -c nsc.c nsc.c: In function `nsc_probe_108': nsc.c:85: warning: implicit declaration of function `memset' gcc -O2 -Wall -Wstrict-prototypes -c winbond.c gcc findchip.o smc.o nsc.o winbond.o -O2 -Wall -Wstrict-prototypes -o findchip make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/findchip' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/irdadump' make[1]: *** No rule to make target `all'. Stop. make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/ird once again I don know what this output means. I then run # make install I get the following; echo "*** Making sure some directories exists ***" *** Making sure some directories exists *** mkdir -p /usr/sbin mkdir -p /usr/bin /usr/X11R6/bin cd irdadump;CFLAGS="-O2 -W -Wall" CXXFLAGS="-O2 -W -Wall" ./autogen.sh --prefix=/usr processing . You should update your `aclocal.m4' by running aclocal. /usr/share/aclocal/g-wrap.m4:7: warning: underquoted definition of AC_GWRAP_CHECK_GUILE run info '(automake1.9)Extending aclocal' or see http://sources.redhat.com/automake/automak...nding%20aclocal /usr/share/aclocal/g-wrap.m4:23: warning: underquoted definition of AM_PATH_GWRAP aclocal:configure.in:12: warning: macro `AM_PATH_GLIB' not found in library ac-wrapper: /usr/bin/autom4te-2.13 is missing or not executable. Something is very wrong. aclocal: autom4te failed with exit status: 1 Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir] [-l dir] [--localdir=dir] [--version] [template-file] automake: autoconf failed with exit status: 1 Running ./configure --enable-maintainer-mode --prefix=/usr creating cache ./config.cache configure: error: can not find install-sh or install.sh in . ./.. ./../.. Now type 'make' to compile irdadump. for i in irattach irdaping etc man psion tekram findchip irdadump ; do \ cd $i;make all; cd ..; \ done make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/irattach' gcc -O2 -W -Wall -Wstrict-prototypes -Wshadow -I/usr/include -I/usr/src/linux/include -I/usr/include -I/usr/src/linux/include -I../include/ -c irattach.c gcc -O2 -W -Wall -Wstrict-prototypes -Wshadow -I/usr/include -I/usr/src/linux/include -I/usr/include -I/usr/src/linux/include -I../include/ -c util.c gcc -O2 -W -Wall -Wstrict-prototypes -Wshadow -I/usr/include -I/usr/src/linux/include irattach.o util.o -o irattach util.o(.text+0x8e): In function `open_dev': : warning: the use of `tmpnam' is dangerous, better use `mkstemp' gcc -O2 -W -Wall -Wstrict-prototypes -Wshadow -I/usr/include -I/usr/src/linux/include -I/usr/include -I/usr/src/linux/include -I../include/ -c dongle_attach.c gcc -O2 -W -Wall -Wstrict-prototypes -Wshadow -I/usr/include -I/usr/src/linux/include dongle_attach.o -o dongle_attach make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/irattach' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/irdaping' gcc -I/usr/src/linux/include -I/usr/include -Wall -Wstrict-prototypes -I/usr/src/linux/include -I/usr/include -c irdaping.c irdaping.c: In function `timeout': irdaping.c:142: warning: implicit declaration of function `htons' gcc -I/usr/src/linux/include -I/usr/include -Wall -Wstrict-prototypes irdaping.o -o irdaping make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/irdaping' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/etc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/etc' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/man' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/psion' cc -g -I../include -Wall -Wstrict-prototypes irpsion5.c -o irpsion5 irpsion5.c:54: warning: type defaults to `int' in declaration of `slot_timeout' irpsion5.c:56: warning: type defaults to `int' in declaration of `debug_level' irpsion5.c:59: warning: type defaults to `int' in declaration of `verbose' make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/psion' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/tekram' gcc -I/usr/src/linux/include -I/usr/include -I../include -Wall -Wstrict-prototypes -I/usr/src/linux/include -I/usr/include -I../include -c irkbd.c irkbd.c: In function `irkbd_handle_response': irkbd.c:289: error: syntax error before string constant make[1]: *** [irkbd.o] Error 1 make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/tekram' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/findchip' gcc -O2 -Wall -Wstrict-prototypes -c findchip.c findchip.c: In function `main': findchip.c:116: warning: implicit declaration of function `exit' gcc -O2 -Wall -Wstrict-prototypes -c smc.c [root@localhost irda-utils-0.9.15]# make all echo "*** Making sure some directories exists ***" *** Making sure some directories exists *** mkdir -p /usr/sbin mkdir -p /usr/bin /usr/X11R6/bin cd irdadump;CFLAGS="-O2 -W -Wall" CXXFLAGS="-O2 -W -Wall" ./autogen.sh --prefix=/usr processing . You should update your `aclocal.m4' by running aclocal. /usr/share/aclocal/g-wrap.m4:7: warning: underquoted definition of AC_GWRAP_CHECK_GUILE run info '(automake1.9)Extending aclocal' or see http://sources.redhat.com/automake/automak...nding%20aclocal /usr/share/aclocal/g-wrap.m4:23: warning: underquoted definition of AM_PATH_GWRAP aclocal:configure.in:12: warning: macro `AM_PATH_GLIB' not found in library ac-wrapper: /usr/bin/autom4te-2.13 is missing or not executable. Something is very wrong. aclocal: autom4te failed with exit status: 1 Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir] [-l dir] [--localdir=dir] [--version] [template-file] automake: autoconf failed with exit status: 1 Running ./configure --enable-maintainer-mode --prefix=/usr loading cache ./config.cache configure: error: can not find install-sh or install.sh in . ./.. ./../.. Now type 'make' to compile irdadump. for i in irattach irdaping etc man psion tekram findchip irdadump ; do \ cd $i;make all; cd ..; \ done make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/irattach' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/irattach' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/irdaping' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/irdaping' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/etc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/etc' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/man' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/psion' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/psion' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/tekram' gcc -I/usr/src/linux/include -I/usr/include -I../include -Wall -Wstrict-prototypes -I/usr/src/linux/include -I/usr/include -I../include -c irkbd.c irkbd.c: In function `irkbd_handle_response': irkbd.c:289: error: syntax error before string constant make[1]: *** [irkbd.o] Error 1 make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/tekram' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/findchip' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/findchip' make[1]: Entering directory `/home/caleb/irda-utils-0.9.15/irdadump' make[1]: *** No rule to make target `all'. Stop. make[1]: Leaving directory `/home/caleb/irda-utils-0.9.15/irdadump' Please excuse my ignorance because I have no Idea what any of this means. All I am doing is following the instructions I found in the manual. Is there something I need to add to my system in order for this to work? Thanks for your time, Caleb Quote Link to comment Share on other sites More sharing options...
adamw Posted April 17, 2005 Report Share Posted April 17, 2005 It's looking for autom4te 2.13. autom4te is part of autoconf. We ship two versions of this, 2.13 and 2.5. They can be parallel installed. For some odd reason, though, the 2.5 package appears to include autom4te, while the 2.13 package doesn't. I'm trying to find out why this is, hold on... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.