I'm runing Yellow Dog Linux on my PS3, and I've been working on
compiling MythTV for several days, but haven't got it to complete
yet...if anyone else wants to try, the first thing to do is to fix the
repo files in /etc/yum.repos.d/ ...the main repository lines are
commented out in each of the three files found there, delete the #
marks to fix them.
After that, you'll need to install all the build dependencies for
MythTV...so far I've added qt-devel, libXv-devel, libXvMC-devel,
libXxf86vm-devel, and libXmu-devel due to complaints from the linker.
The binaries of all of those except XvMC were already installed (since
there aren't any proprietary drivers available for the PS3 video card,
I'm guessing XvMC won't be able to do hardware decoding on the PS3
unless or until we get some...I'm still hoping to be proved wrong on
that though).
The current error message that I'm getting from the linker is a bit
concerning, though, as I'm not sure I'll be able to fix it...it seems
to be complaining about not having some XvMC related headers that I
would think should have been installed with XvMC-devel...here's the
output, if anyone can shed some light on it...
g++ -o mythfrontend version.o main.o manualbox.o playbackbox.o
viewscheduled.o globalsettings.o manualschedule.o programrecpriority.o
channelrecpriority.o stat usbox.o networkcontrol.o moc_manualbox.o
moc_playbackbox.o moc_viewscheduled.o m oc_manualschedule.o
moc_programrecpriority.o moc_channelrecpriority.o moc_status box.o
moc_networkcontrol.o -L/usr/lib/qt-3.3/lib -L../../libs/libmyth
-L../../ libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec
-L../../libs/libav format -L../../libs/libmythfreemheg
-L../../libs/libmythui -L../../libs/libmythu pnp
-L../../libs/libmythlivemedia -lmythtv-0.20 -lmythavformat-0.20
-lmythavutil -0.20 -lmythavcodec-0.20 -lmythfreemheg-0.20
-lmythupnp-0.20 -lmythlivemedia-0.2 0 -lmyth-0.20 -lmythui-0.20
-lfreetype -lmp3lame -lasound -lXinerama -lXv -lXxf8 6vm -lXrandr
-lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lpthread
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to
`XvMCLoadQM atrix'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to
`XvMCSyncSu rface'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to
`XVMC_field _start'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to
`XvMCFlushS urface'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to
`XvMCBeginS urface'
collect2: ld returned 1 exit status
make[2]: *** [mythfrontend] Error 1
make[2]: Leaving directory `/root/mythtv-0.20/programs/mythfrontend'
make[1]: *** [sub-mythfrontend] Error 2
make[1]: Leaving directory `/root/mythtv-0.20/programs'
make: *** [sub-programs] Error 2
I suppose I should also mention that anyone who wants to compile MythTV
also *must* use --enable-proc-opt
If you don't, MythTV will try to compile for a generic x86 processor,
--enable-proc-opt allows it to compile for a specific processor
architecture, which is something we need when we're compiling for PPC.
When I launch mythfrontend from the command prompt, it complains for a
while about not finding any configuration info (afaik this is normal on
a frontend-only install), then asks me how to connect to the
backend...after I tell it how, it exits with an error message...which
means more work trying to sort it out tomorrow.
...then the configuration screen comes up, and asks me what language to
use...apparently (for whatever reason) what language to use is stored
in the sql database on the backend, since the error log complains about
not being able to save the language setting to the database. I then get
asked to input the information about the location of the backend, and I
give it my backend's IP, the SQL database name and username/password.
After choosing "finish" from the second page of the setup, I get more
"connecting to database" errors similar to the above (based on the
timestamp, they're not from before I configure the settings), followed
by the line "Failed to init MythContext, exiting."
The odd thing is that it seems to decide very quickly that it can't
connect to the database, there's no time spent waiting for the network
to respond, so it's either getting a hostile response from my backend
very quickly, or isn't actually looking on the network at all...I have
no idea what needs to be done to make the database connection work,
since I don't have any expierience with MySQL. I also have no idea what
firewall(s) might be getting in the way on YDL or on my Ubuntu (Edgy)
backend...or whether there could be some kind of SQL version/flavor
conflict between the two.
Quoted Text from PS3.QJ.NET
"It was only a matter of time before someone tried a USB TV Tuner and
successfully put together a working set of drivers for it. And that
someone would be Takeshi Yaegashi who has been successful in patching
the Plextor ConvertX PX-M402U's Linux drivers to work properly on the
PS3. The problem was that the original GO7007 Video4Linux2 drivers
didn't run properly on a 32bit userland/64bit kernel environment.
The released patches will patch the GO7007 Video4Linux2 drivers and the
Addon CD to improve compatibility with the said environment, which is
common on all PS3 Linux distros. What you'll have to do is patch the
drivers, then patch the Addon CD file and finally compile the kernel
given in the Addon CD. If this sounds a bit difficult, you can wait for
distros to appear with this patches built in.
I would expect Gentoo to be the first with the patches, seeing how
they're already thinking of including MythTV on the Gentoo Live CD. If
you do understand the consequences and want to go ahead with this,
download the patches, the new Addon CD, patch both of them, and then
use the new customised kernel with your distro. Expect a thorough
how-to soon!"