LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-30-2005, 07:04 PM   #1
pmprichard
LQ Newbie
 
Registered: Dec 2004
Distribution: suse 9.3 pro
Posts: 15

Rep: Reputation: 0
Help, please help with lirc and media centre remote


Hi
I am trying to install lirc for a media centre remote. I think I am supposed to have the kernel source compiled but I am using Suse 9.3 and it seems to have it for me.

I have downloaded the src file for lirc and these are the messeges I get

on running ./configure

t stat `./lirc_dev.ko': No such file or directory
make[3]: *** [install-moduleDATA] Error 1
make[3]: Leaving directory `/home/pmprichard/lirc-0.7.1/drivers/lirc_dev'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/pmprichard/lirc-0.7.1/drivers/lirc_dev'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/pmprichard/lirc-0.7.1/drivers'
make: *** [install-recursive] Error 1
host-192-168-0-3:/home/pmp

on running make


make[1]: Entering directory `/home/pmprichard/lirc-0.7.1'
Making all in drivers
make[2]: Entering directory `/home/pmprichard/lirc-0.7.1/drivers'
Making all in lirc_dev
make[3]: Entering directory `/home/pmprichard/lirc-0.7.1/drivers/lirc_dev'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/pmprichard/lirc-0.7.1/drivers/lirc_dev'
Making all in lirc_mceusb
make[3]: Entering directory `/home/pmprichard/lirc-0.7.1/drivers/lirc_mceusb'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/pmprichard/lirc-0.7.1/drivers/lirc_mceusb'
make[3]: Entering directory `/home/pmprichard/lirc-0.7.1/drivers'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/pmprichard/lirc-0.7.1/drivers'
make[2]: Leaving directory `/home/pmprichard/lirc-0.7.1/drivers'
Making all in daemons
make[2]: Entering directory `/home/pmprichard/lirc-0.7.1/daemons'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/pmprichard/lirc-0.7.1/daemons'
Making all in tools
make[2]: Entering directory `/home/pmprichard/lirc-0.7.1/tools'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/pmprichard/lirc-0.7.1/tools'
Making all in doc
make[2]: Entering directory `/home/pmprichard/lirc-0.7.1/doc'
Making all in man
make[3]: Entering directory `/home/pmprichard/lirc-0.7.1/doc/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/pmprichard/lirc-0.7.1/doc/man'
make[3]: Entering directory `/home/pmprichard/lirc-0.7.1/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/pmprichard/lirc-0.7.1/doc'
make[2]: Leaving directory `/home/pmprichard/lirc-0.7.1/doc'
make[2]: Entering directory `/home/pmprichard/lirc-0.7.1'
make[2]: Leaving directory `/home/pmprichard/lirc-0.7.1'
make[1]: Leaving directory `/home/pmprichard/lirc-0.7.1'
host-192-168-0-3:/home/pmprichard/lirc-0.7.1 #

on running make install

make install
Making install in drivers
make[1]: Entering directory `/home/pmprichard/lirc-0.7.1/drivers'
Making install in lirc_dev
make[2]: Entering directory `/home/pmprichard/lirc-0.7.1/drivers/lirc_dev'
make[3]: Entering directory `/home/pmprichard/lirc-0.7.1/drivers/lirc_dev'
test -c /dev/lirc || (/bin/sh ../../mkinstalldirs /dev && /bin/mknod /dev/lirc c 61 0)
/bin/sh ../../mkinstalldirs /lib/modules/2.6.11.4-20a-default/misc
/usr/bin/install -c -m 644 ./lirc_dev.ko /lib/modules/2.6.11.4-20a-default/misc/lirc_dev.ko
/usr/bin/install: cannot stat `./lirc_dev.ko': No such file or directory
make[3]: *** [install-moduleDATA] Error 1
make[3]: Leaving directory `/home/pmprichard/lirc-0.7.1/drivers/lirc_dev'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/pmprichard/lirc-0.7.1/drivers/lirc_dev'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/pmprichard/lirc-0.7.1/drivers'
make: *** [install-recursive] Error 1
host-192-168-0-3:/home/pmprichard/lirc-0.7.1 #

what am I doing wrong. Do I really need to compile the kernel as I am a newbie and would have no idea how to do that. Please help
 
Old 04-30-2005, 07:06 PM   #2
pmprichard
LQ Newbie
 
Registered: Dec 2004
Distribution: suse 9.3 pro
Posts: 15

Original Poster
Rep: Reputation: 0
thats not what I see when I type ./configure

it should be


./configure
setup.sh written by Karsten Scheibler, 1999-JUN-28

If you have problems or questions please consult the mailing list
<http://lists.sourceforge.net/mailman/listinfo/lirc-list>

Configuration: .setup.config, executable shell script: configure.sh
Starting the generated shell script which will call configure with the right
parameters...
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... (cached) gawk
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -O2 -g -Wall ) works... yes
checking whether the C compiler (gcc -O2 -g -Wall ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for style of include used by make... GNU
checking dependency style of gcc... (cached) gcc3
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for mknod... (cached) /bin/mknod
checking for mkfifo... (cached) /usr/bin/mkfifo
checking for depmod... (cached) /sbin/depmod
checking for libusb-config... (cached) /usr/bin/libusb-config
checking whether ln -s works... (cached) yes
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... (cached) yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking how to recognise dependent libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached) -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... (cached) no
creating libtool
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for fcntl.h... (cached) yes
checking for limits.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for syslog.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking return type of signal handlers... (cached) void
checking for vprintf... (cached) yes
checking for gethostname... (cached) yes
checking for gettimeofday... (cached) yes
checking for mkfifo... (cached) yes
checking for select... (cached) yes
checking for socket... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strtoul... (cached) yes
checking for snprintf... (cached) yes
checking for strsep... (cached) yes
checking for vsyslog... (cached) yes
checking for daemon... (cached) yes
checking for forkpty... (cached) no
checking for forkpty in -lutil... (cached) yes
checking for vga.h... (cached) no
checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for getopt_long... (cached) yes
checking for mktemp... (cached) yes
checking for Linux kernel sources... (cached) /usr/src/linux/
checking for which drivers can be installed on this system...
checking for caraca_init in -lcaraca_client... (cached) no
checking for ir_strerror in -lirman... (cached) no
checking for ir_strerror in -lirman_sw... (cached) no
checking for portaudio.h... (cached) no
checking for alsa/asoundlib.h... (cached) yes
checking for snd_pcm_open in -lasound... (cached) yes
checking for scsi/sg.h... (cached) yes
checking for linux/input.h... (cached) yes
checking for sys/soundcard.h... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating drivers/Makefile
creating drivers/lirc_atiusb/Makefile
creating drivers/lirc_bt829/Makefile
creating drivers/lirc_dev/Makefile
creating drivers/lirc_gpio/Makefile
creating drivers/lirc_i2c/Makefile
creating drivers/lirc_igorplugusb/Makefile
creating drivers/lirc_imon/Makefile
creating drivers/lirc_it87/Makefile
creating drivers/lirc_mceusb/Makefile
creating drivers/lirc_parallel/Makefile
creating drivers/lirc_sasem/Makefile
creating drivers/lirc_serial/Makefile
creating drivers/lirc_sir/Makefile
creating drivers/lirc_streamzap/Makefile
creating daemons/Makefile
creating tools/Makefile
creating doc/Makefile
creating doc/man/Makefile
creating config.h
config.h is unchanged

You will have to use the lirc_mceusb kernel module.

Now enter 'make' and 'make install' to compile and install the package.

host-192-168-0-3:/home/pmprichard/lirc-0.7.1 #
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A Media Management Sytem (Windows Media Centre) for linux? carl0ski Linux - Software 5 12-07-2005 07:52 PM
Media Centre PC thomasjay Linux - Newbie 1 12-01-2005 08:40 PM
Does Windows media centre remote work with fedora core 3 pmprichard Linux - Hardware 1 10-29-2005 01:44 AM
Knoppix Media Centre TV-OUT houston1981 Linux - Hardware 1 01-24-2005 11:34 PM
Linux Media Centre houston1981 Linux - Newbie 4 12-18-2004 09:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration