Can't build from source -- want to do PS3/Cell modifications
Posted: 16 Feb 2007 22:00
I'm having trouble building from the source from SVN. I've followed all the instructions, but they seem to be out of date or don't work for Fedora Core 5.
I need to do this with Fedora Core 5 because that is what YDL for the PS3 is based on and what is required for the IBM Cell development environment.
I've been trying to debug the build process using a MacBook Pro with Parallels installed to run the Fedora Core so it's a fc5.i386 build. I'm using this set-up because it allows me to easily go back to a previous image of my virtual machine (i.e. I don't have to reinstall everything if things go bad).
I've been able to install 0.8.5 from rpm binary files and have it play back a DVD w/ menus etc... so the necessary libraries seem to be installed.
I then did an SVN checkout of 0.8.5 and tried to build. But the Makefile is out of date and MplayerHQ.hu doesn't support CVS anymore, so that failed.
I then did an SVN checkout of the trunk and tried to build. This worked until the ffMPEG compile and then complained about flags. I modified the Makefile (e.g. mp3lame was replaced with libmp3lame, faac with libfaac and a52 with liba52). This worked until the wxwidgets portion of the build. I've tried just about everything. Building wxwidgets by itself works and GTK 2 is installed. This is the problem section:
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
...
Also check that the libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-confg --libs' are in the LD_LIBRARY_PATH or equivalent
...
when I run the command
pkg-config gtk+-2.0 --libs
I get
-lgtk-x11-2.0 -lgdk-x11-2.0 ...
these are not on the system, but -libgtk-x11-2.0 is in /usr/lib
the path is in the ld.so.conf file and I've run ldconfig. and is also set as the LD_LIBRARY_PATH. Nothing seems to get me past this point.
I need to do this with Fedora Core 5 because that is what YDL for the PS3 is based on and what is required for the IBM Cell development environment.
I've been trying to debug the build process using a MacBook Pro with Parallels installed to run the Fedora Core so it's a fc5.i386 build. I'm using this set-up because it allows me to easily go back to a previous image of my virtual machine (i.e. I don't have to reinstall everything if things go bad).
I've been able to install 0.8.5 from rpm binary files and have it play back a DVD w/ menus etc... so the necessary libraries seem to be installed.
I then did an SVN checkout of 0.8.5 and tried to build. But the Makefile is out of date and MplayerHQ.hu doesn't support CVS anymore, so that failed.
I then did an SVN checkout of the trunk and tried to build. This worked until the ffMPEG compile and then complained about flags. I modified the Makefile (e.g. mp3lame was replaced with libmp3lame, faac with libfaac and a52 with liba52). This worked until the wxwidgets portion of the build. I've tried just about everything. Building wxwidgets by itself works and GTK 2 is installed. This is the problem section:
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
...
Also check that the libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-confg --libs' are in the LD_LIBRARY_PATH or equivalent
...
when I run the command
pkg-config gtk+-2.0 --libs
I get
-lgtk-x11-2.0 -lgdk-x11-2.0 ...
these are not on the system, but -libgtk-x11-2.0 is in /usr/lib
the path is in the ld.so.conf file and I've run ldconfig. and is also set as the LD_LIBRARY_PATH. Nothing seems to get me past this point.