From: Jim Peters <jiminycricket180@gm...> - 2007-06-09 22:57:02
I thought I would use lirc so I could use my remote to turn on and off
my mythtv computer, my plan was as follows;
I allready have a working lirc setup on my mythtv box I also have this
box setup to wake from acpi alarm and to wake on lan. I have an IpCop
firewall that I have ether-wake installed on as well as the wake on lan
gui. all of this is working and I can wake my mythtv box from the gui or
the command line of my IpCop firewall box.
I have an Hdhomerun network tuner that doubles as a lirc udp device, so
I should be able to write a couple scripts to run from my mythtv box
that will set the ip address that the hdhomerun will send the udp
packets to, to my mythbox on bootup and then to my firewall on shutdown.
Then install lirc on the firewall and write scripts to start lircd and
irexec at boot and one called "mythstart" to send the magic packet to my
mythbox. copy my lircd.conf for my huapauge remote to my firewall box
and create a quick irexec.conf file that makes the power button run the
mythstart script. this all seems simple enough with the biggest hurdle
being that IpCop being a perimeter firewall it doesn't have any compile
tools. No problem I'll load the Ipcop devel edition on vmware, build the
bianaries and copy them to the firewall.
after doing this I can run irw on the firewall and see the keypresses
from my remote but if I try to start irexec I get this error ;
"/usr/local/bin/irexec: line 1: gcc: command not found" why should it
even need gcc , it was compiled on the vmware? irw seems to work
compiled like this, why not irexec?
where did i go wrong?
Jim Peters "jiminycricket180@..." wrote:
> I thought I would use lirc so I could use my remote to turn on and off
> my mythtv computer, my plan was as follows;
> tools. No problem I'll load the Ipcop devel edition on vmware, build the
> bianaries and copy them to the firewall.
> "/usr/local/bin/irexec: line 1: gcc: command not found" why should it
> even need gcc , it was compiled on the vmware? irw seems to work
> compiled like this, why not irexec?
> where did i go wrong?
You probably just copied the libtool wrapper script for irexec instead
of the binary itself. You have to do "make install" and copy the
installed binaries, or you look into the .libs sub-directory in the
source tree for the real executable.
Get latest updates about Open Source Projects, Conferences and News.