njumzs / mythdroid

Automatically exported from code.google.com/p/mythdroid
0 stars 0 forks source link

installer can't find mythlcdserver in /usr/local/bin #84

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of MythDroid were you using? 0.5.2

Which version of MDD? 0.5.2

Which version of MythTV were you using? (e.g. mythfrontend --version)
v0.24.1-120-gdbd0434

What steps will reproduce the problem?
1. Run ./Build install as root when mythlcdserver only exists in /usr/local/bin
2.
3.

What is the expected output? What do you see instead?
Expect it to be found, but instead I get:

Building MDD
Proceeding will stop mythfrontend. OK? [yn]  y
which: no mythlcdserver in (/sbin:/bin:/usr/sbin:/usr/bin)
Use of uninitialized value $dir in pattern match (m//) at build/Build/MDD.pm 
line 21, <STDIN> line 1.
Use of uninitialized value $dir in substitution (s///) at build/Build/MDD.pm 
line 22, <STDIN> line 1.
Use of uninitialized value $dir in scalar chomp at build/Build/MDD.pm line 23, 
<STDIN> line 1.
Use of uninitialized value $dir in concatenation (.) or string at 
build/Build/MDD.pm line 39, <STDIN> line 1.
Use of uninitialized value $dir in concatenation (.) or string at 
build/Build/MDD.pm line 40, <STDIN> line 1.
cp /mythlcdserver -> /mythlcd
No such file or directory

If you are reporting a 'force close' issue, please attach relevant logs
(e.g. from 'Log Collector', available via the market).

Please provide any additional information below.

I was able to edit build/Build/MDD.pm to find the file in /usr/local/bin, but 
my perl isn't good enough to do the which check and only fallback to 
/usr/local/bin if it's not found

Original issue reported on code.google.com by dba...@gmail.com on 24 Dec 2011 at 5:55

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r629.

Original comment by foobum on 26 Dec 2011 at 2:15