I am stuggling to compile MythVodka...

So, I am trying to install mythvodka and it seems it is a package that can only be installed from source. The package will not compile and I always get an error…

I am logged in as su…


linux-b1s9:/usr/share/mythtv # tar xzf mythvodka.07.tar.gz
linux-b1s9:/usr/share/mythtv # cd mythvodka/
linux-b1s9:/usr/share/mythtv/mythvodka # qmake mythvodka.pro
linux-b1s9:/usr/share/mythtv/mythvodka # make
cd mythvodka/ && make -f Makefile
make[1]: Entering directory `/usr/share/mythtv/mythvodka/mythvodka'
make[1]: *** No rule to make target `/usr/qt/3/mkspecs/linux-g++/qmake.conf', needed by `Makefile'.  Stop.
make[1]: Leaving directory `/usr/share/mythtv/mythvodka/mythvodka'
make: *** [sub-mythvodka-make_default] Error 2

I can’t figure out the library path issues, I don’t believe I have any devel packages missing. I have mythplugins-devel, libqt4-devel and many others.

Here is the tarball I’m using…
Downloads - mythvodka - Project Hosting on Google Code
(The wget command for the tarball listed in the plugin’s page doesn’t work)
Here is the Plugin’s Homepage/Wiki…
MythVodka - MythTV

Thanks in advance, John

Any Ideas, am I missing a library or devel library?

Hi
Or the correct location? Check via YaST in your qt3-devel file list, I
think it lives in /usr/lib/qt3/mkspecs/linux-g++/qmake.conf
not /opt/…


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 17 days 5:10, 3 users, load average: 0.08, 0.10, 0.09
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

qmake.conf is located in /usr/lib/qt3/mkspecs/linux-g++

qt3 is installed

rpm -qa|grep qt3-devel
qt3-devel-3.3.8b-87.11

I go to /usr/mythtv/mythvodka and…

qmake mythvodka.pro (No errors)
make

This huge error list apears (It’s truncated this is only the part I can copy)
cl1p.net

It seems that it is using the /usr/lib… directory while compiling and not /opt. Maybe I’m just confused though.

> It seems that it is using the /usr/lib… directory while compiling and
> not /opt. Maybe I’m just confused though.

what confuses me is why you have libraries in /opt anyway…did you
put them there? why/how?

and, why are you running make in /usr/share/mythtv/mythvodka/mythvodka

i don’t know, maybe you have a view on compiling software that i don’t
understand, but i usually download to /home/[me]/temp and unpack to
(in this case) /home/[me]/temp/mythvodka and get busy, by reading
README (or sometimes INSTALL…read BOTH if both are there) which
usually says:

…/configure (sometimes autogen.sh preceeds configure)
make (sometimes make will have some swithes needed)
sudo make install

and it finds the libs where they are supposed to be (not in opt, on my
machine), and installs the executable where it should be and and and done

course, i haven’t done it in a while so i may have forgotten…or,
maybe your README/INSTALL has different directions??


palladium

linux-b1s9:/usr/share/mythtv **#** tar xzf mythvodka.07.tar.gz
linux-b1s9:/usr/share/mythtv # cd mythvodka/
linux-b1s9:/usr/share/mythtv/mythvodka # qmake mythvodka.pro
linux-b1s9:/usr/share/mythtv/mythvodka # make

GNAH!

NEVER, NEVER, EVER compile as root!

NEVER!

Hi
As pointed out by Palladium, your doing this a root user,
don’t!!

I don’t have mythtv installed (You need the mythtv-devel file
installed) , but is you run the following in the sub directory called
mythvodka;

qmake mythvodka.pro
make

If your still getting errors, I would log a bug back on the developers
to see if they can point you in the correct direction.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 18 days 0:44, 3 users, load average: 0.07, 0.08, 0.09
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Hi
I would also read issue 7 and edit the file in question manually with
some other text…
http://code.google.com/p/mythvodka/issues/list


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 18 days 0:51, 3 users, load average: 0.15, 0.15, 0.11
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

I found a precomputed mythvodka that seems to work fine.
KnoppMyth Wiki - MythVodkaHowTo

I don’t believe my libraries are in /opt, If they are I don’t know how they got there and the file qmake.conf is in the correct location.

Second, mythvodka must be compiled in /usr/share/mythtv. This also forces me to compile as root. I am only doing this because the people who put together mythtv force me to do this. Also there is no ./configure README list the commands as qmake mythvodka.pro make make install.

I have libmyth-devel and libmyth installed.

Seems like it could possibly be a bug.

Anyway I found mythvodka precompiled and it seems to work fine, but now I’m having problems getting it to draw the programs listings off of the hulu severs.

The culprit seems to be /usr/local/bin/gethulu.pl (the grabber script for hulu)

Seems it didn’t like the line that opened the xml file(given like gethulu.pl (file path), I changed that temporarily to /var/tmp/gethuludata.pl the file mythvodka uses to save listings of hulu data and shows.

The code doesn’t seem to work properly on my setup.
there are no instances of “/full-movie-icon/”(or any variation) in “http://www.hulu.com/browse/alphabetical/feature_film


$movieurl = "http://www.hulu.com/browse/alphabetical/feature_film" ;
$movielist = get($movieurl);
@shows = split(/
/, $movielist);
@fullmovies = grep(/full-movie-icon/,@shows);

print MYTHMENU @shows;
print MYTHMENU "
";

foreach(@fullmovies)
{
...

Seems the code is outdated, maybe hulu has changed something and I need to find a newer version or a workaround of some sort.

It just seems like problem after problem. The good news is the application seems to work, it just can’t do anything yet.

Hi
The readme tells the commands to run? I would also assume the author
expects you to run as your user…and the use sudo to install for the
cp command.

Commands from the README of mythvodka.07.tar.gz


qmake mythvodka.pro
make install
cp scripts/* /usr/local/bin/


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 18 days 6:28, 3 users, load average: 0.00, 0.03, 0.07
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

I have the same problem when I use make install, or checkinstall. It just goes through the make command, gives the same error message and aborts.

As for the root thing, I pretty sure they do expect it to be installed, compiled and copied as root. I can’t get onto the mythtv website, but this and all of the other instructions I’ve found say to do everything as root.

KnoppMyth Wiki - MythVodkaHowTo

"Installing the latest version of MythVodka

Execute these steps as root to install the latest version of MythVodka : "

I understand it’s a bad practice I just don’t think there is any other way. It needs to be compiled in /usr/share/mythtv and this requires su priveleges.

> I don’t believe my libraries are in /opt, If they are I don’t know how
> they got there and the file qmake.conf is in the correct location.

i was just going by what you said: “It seems that it is using the
/usr/lib… directory while compiling and not /opt.”

i thought you meant you had put libs in /opt and was surprised when it
looked to /usr/lib and didn’t find them…

i guess i misunderstood…

> Second, mythvodka must be compiled in /usr/share/mythtv. This also
> forces me to compile as root. I am only doing this because the people
> who put together mythtv force me to do this.

that is just so crazy!!

here is the deal: i am not gonna download, read and compile this just
to see it won’t…

i can tell you (from what you say) the package is faulty by design…

never make as root

> Also there is no ./configure README list the commands as qmake mythvodka.pro make make
> install.

after what you say above i am not surprised the README is deficient…

i’m not SO experienced, but i have compiled a few things and i’m
trying my best to remember if i have ever not run configure before
make…i can’t remember a single example…

i believe it is required to run configure to (get this)
configure the makefile correctly, to run on YOUR machine, finding
YOUR libs, etc etc etc… i think running configure actually
changes/constructs a make unique for YOU…one that will NOT run on
your friends Vista machine…

but, i could be wrong…perhaps cross-platform/cross-system make
files are old hat…

> Seems like it could possibly be a bug.

maybe the package and deficient instructions were written by a highly
trained windows ‘expert’ who has no clue about common practice…

if you go to google and search on
compile “linux software”
you will get a short list (searching without quotes around linux
software brings five Million hits)

i pulled one from near the top which seems to indicate that my
experience with configure is relatively common…and, trying to
compile as you are instructed is not:

http://www.tuxfiles.org/linuxhelp/softinstall.html

you are welcome to slosh through the five million and see how many can
be compiled which require you to make as root, in a /usr directory,
after not running configure…


palladium

I can’t figure it out, maybe it’s a library thing, I got frustrated with mythvodka and found another app called mythfeed. I got the same errors (the REALLY long list) Maybe I’m missing a library. I do however seem to have all of the obvious ones for example libmyth-devel, and a ton of qt libraries.

Anyways, the precompiled one works fine. The perl script however IS defective, instead I used the gethulu.py script included in mythfeed, modified /etc/cron.daily/cron_hulu_grabber.sh to include the new python script. Everything downloaded, saved the correct xml file and everything appears in mythvodka.

Now here comes another problem, I can get the URLs but I can’t play the videos. I get the sorry old bean message. I plugged the command mythvodka gave manually and recieve this error message…


gehrig@linux-b1s9:~/Desktop> /usr/local/bin/hulu http://www.hulu.com/watch/63038 /var/tmp/iplayerdump.partial.mov
http://releasegeo.hulu.com/content.select?pid=86ce549eb51a0cddea65dc4967ecef5690d33642dd19f0952c11f65b992b4423~fd5b2b85b6c9848e2424c00075beeed681c0c83ab80945066913fc344aeccc1a&mbr=true&format=smil
Traceback (most recent call last):
  File "/usr/local/bin/hulu", line 28, in <module>
    smilXML=get_HTML(smilURL)
  File "/usr/local/bin/hulu", line 10, in get_HTML
    response = urllib2.urlopen(req)
  File "/usr/lib/python2.6/urllib2.py", line 124, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.6/urllib2.py", line 395, in open
    response = meth(req, response)
  File "/usr/lib/python2.6/urllib2.py", line 508, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.6/urllib2.py", line 433, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.6/urllib2.py", line 367, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.6/urllib2.py", line 516, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found

Hulu has probably changed since the last build and I think I need to download a patch…

I upgraded the hulu script from here:
KnoppMyth Wiki - MythVodkaHuluFixR6

spaces had to be added to the gcc command but all went well.

Now I get this error message:
gehrig@linux-b1s9:/usr/local/bin> /usr/local/bin/hulu Hulu - 'Til Death: Eddie’s Book - Watch the full episode now. /var/tmp/iplayerdump.partial.mov
sec.swf does not exist, grabbing
HTTP Error: 404 http://www.hulu.com/sec.swf?cb=2009102819