Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Lirc Setup Error
newmoon
post May 22 2005, 11:47 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 9
Joined: 8-May 05
Member No.: 4,969



Hi all:

I'm a newbie trying to get lirc 0.7.0 running with KnoppMyth R5A12.

When I try to configure lirc by running ./setup.sh I get the errors:

CODE
checking for getopt_long... yes
checking for mktemp... yes
checking for Linux kernel sources... missing
checking for which drivers can be installed on this system...

etcetera...then a few lines later:
configure error: *** you need to have the Linux kernel source installed.
            for this driver



The kernel sources are extracted. I'm running kernel 2.6.9-chw-4 . However, the source extracted is 2.6.9-chw . It is in the directory /kernel-source-2.6.9-chw.

I assume the question is how to tell the setup.sh for lirc that the sources are in the kernel-source-2.6.9-chw folder ? Can someone point me towards how to do this or what else I need to do to fix the problem...


thanks


shplad
Go to the top of the page
 
+Quote Post
DS2K3
post May 22 2005, 12:51 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



Move them to /usr/src/kernel... and then make a link called "linux" (in /usr/src) which points to the directoty containing the sources.

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
newmoon
post May 22 2005, 12:57 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 9
Joined: 8-May 05
Member No.: 4,969



QUOTE (DS2K3 @ May 22 2005, 12:51 PM)
Move them to /usr/src/kernel... and then make a link called "linux" (in /usr/src) which points to the directoty containing the sources.

D

Richard:

Thanks for your speedy reply! I had actually already done that.

What do you suggest next?

newmoon
Go to the top of the page
 
+Quote Post
DS2K3
post May 22 2005, 02:10 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



What happens if you run "./setup.sh --help"?

Perhaps there is a flag that can be used

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
DS2K3
post May 22 2005, 02:15 PM
Post #5


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



I suppose you could try running "./autogen.sh" to rebuild the setup script

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
newmoon
post May 23 2005, 09:26 PM
Post #6


Whats this Lie-nix Thing?
*

Group: Members
Posts: 9
Joined: 8-May 05
Member No.: 4,969



QUOTE (DS2K3 @ May 22 2005, 02:15 PM)
I suppose you could try running "./autogen.sh" to rebuild the setup script

D

DS2K3:

Thanks again. I tried autogen, but couldn't find any such file on the entire drive.

"setup.sh --help" didn't yield any useful information, at least not that I could tell. Any other suggestions?



newmoon
Go to the top of the page
 
+Quote Post
Corey
post May 24 2005, 06:30 AM
Post #7


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



Can you give us the output of the following command:

QUOTE
ls -l /usr/src


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post
newmoon
post May 24 2005, 11:34 AM
Post #8


Whats this Lie-nix Thing?
*

Group: Members
Posts: 9
Joined: 8-May 05
Member No.: 4,969



QUOTE (Corey @ May 24 2005, 06:30 AM)
Can you give us the output of the following command:

QUOTE

ls -l /usr/src

CODE
total 43372
-rw-r--r--  1 root   src       20636 May  4  2022 Debian.src.changelog
-rw-r--r--  1 root   src     8725221 Nov 21  2004 NVIDIA-Linux-x86-1.0-6629-pkg1.run
-rw-r--r--  1 root   src         894 May  4  2022 README.Debian
-rw-r--r--  1 root   src      200639 Dec 29 23:38 aviman_0.9pre5.tar.bz2
-rw-r--r--  1 root   src         961 May  4  2022 conf.vars
drwxr-xr-x  2 bkaral bkaral     4096 May 14 19:19 decss
drwxr-sr-x  6 root   src        4096 May  5 21:17 ivtv-0.3.2s
-rw-r--r--  1 root   src    28622634 Feb  5 15:46 kernel-source-2.6.9-chw.tar.bz2
lrwxrwxrwx  1 root   src          23 Apr 27 01:30 linux -> kernel-source-2.6.9-chw
-rw-r--r--  1 root   src       73973 Nov 23 14:28 linuxtv-dvb-apps-1.1.0.tar.bz2
drwxrwxrwx  8 bkaral users      4096 May 23 11:21 lirc-0.7.0
-rw-r--r--  1 root   src     2795520 Nov 23 14:28 lirc-0.7.0.tar
dr-xr-xr-x  2 root   root       4096 Feb 25 03:45 modules
drwxr-sr-x  8 root   src        4096 Feb 21 00:16 mythtv
-rw-r--r--  1 root   src     2094521 Feb 15 13:16 nuv2disc-latest.tgz
drwxr-sr-x  2 root   src        4096 May  5 06:57 nvidia
drwxr-sr-x  3 root   bkaral     4096 Feb  5 12:08 patches_2.6.9
-rw-r--r--  1 root   src     1113187 Feb  5 15:41 pcHDTV-1.6.tar.gz
-rw-r--r--  1 root   src      635045 Dec 28 14:31 zm-1.19.5.tar.gz


newmoon
Go to the top of the page
 
+Quote Post
newmoon
post Jun 1 2005, 09:38 AM
Post #9


Whats this Lie-nix Thing?
*

Group: Members
Posts: 9
Joined: 8-May 05
Member No.: 4,969



Thanks to all for helping me out.

As DS2K3 suggested, it was a symlink problem. I saw the symlink to the source
code, but alas, the symlink itself was broken or corrupted. I replaced it, and
voila! the code compiled fine.

lirc is now working within Linux, but still not within Myth. Sheesh. More troubleshooting
to do.

newmoon
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st October 2017 - 03:46 AM