• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
[PATCHES] PPC (PowerPC) Linux support for powerpc-linux and powerpc64-linux targets
#61
Topfs2 Wrote:Personally I think we should move away from our libsmb as the one in ubuntu / yellow dog or whatever you use, should be fine. So a change in our configure is in order here.

libcdio should be placed as either the linux one or atleast be configured and maked alongside xbmc, this however havent been done because the make script in libcdio doesnt create the .a files, the make install does, which is nonstandard.

afaik only gutsy needs the new libcdio to get dvd correctly, although we benefit to have the very latest on all versions.

We can just link the .o's so long as there's some file that is created at the end of a successful make. Or hack there stupid makefile and submit the patch upstream...
Reply
#62
Question 
Topfs2 Wrote:libcdio should be placed as either the linux one or atleast be configured and maked alongside xbmc, this however havent been done because the make script in libcdio doesnt create the .a files, the make install does, which is nonstandard.

afaik only gutsy needs the new libcdio to get dvd correctly, although we benefit to have the very latest on all versions.
I thought that Davilla committed a copy of the full libcdio version 0.80 source code into /vendor/libcdio/ branch in the XBMC SVN?

?

Thought this might be as good time as any to update to the very latest libcdio code and add that updated full source code to vendor branch in the XBMC SVN?
http://www.gnu.org/software/libcdio/
http://savannah.gnu.org/projects/libcdio/

PS! Remember that XBMC for Mac and XBMC for Windows uses libcdio as well, and not only for reading ISO/IMG/NRG images but for reading CD-TEXT too.

Wink
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#63
We don't compile from vendor. The main reason for the vendor branch is so we have something to diff against when we update.
Reply
#64
althekiller Wrote:We can just link the .o's so long as there's some file that is created at the end of a successful make. Or hack there stupid makefile and submit the patch upstream...

Done, linked with .o
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#65
I've read through this thread and several others regarding XBMC on linux/ubuntu for PowerPC. What is the status of this port? Is it ready? It's hard for me to tell from the thread whether it done or if it still has work to do. Thanks!
Reply
#66
I believe it is done, as there is a .dmg available for OSX on PPC.

I don't know if there's a PPA for Linux on PPC, but you should definitely be able to compile from source and it should work.

(unless you're trying to run on the PS3 or Xbox 360. we have no access to OpenGL HW acceleration on those platforms, so it won't work there unless you want it to be craptastically slow)

-Wes
Reply
#67
Would not be that optimistic :-)
It works on OS X, but probably need some more work on linux.
Shouldn't be too difficult though.

Will maybe give it a try when I have some time
Reply
#68
Question 
Hi everyone, I need your help, I'm trying o build XBMC over Ubuntu on PS3, really I want have running this, but I have some problems.

First, I have this:

Ubuntu 9.04 (jaunty)
2.6.28-6-powerpc64-smp #20-Ubuntu SMP Fri Apr 17 09:59:41 UTC 2009 ppc64 GNU/Linux
SVN_REV=21888

I did:

aptitude install subversion make g++ gcc gawk pmount libtool nasm automake cmake gperf unzip bison libsdl-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libsdl-sound1.2-dev libfribidi-dev liblzo-dev libfreetype6-dev libsqlite3-dev libasound-dev python-sqlite libglew-dev libcurl4-dev x11proto-xinerama-dev libxinerama-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbis-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-dev libfontconfig-dev libbz2-dev libboost-dev libfaac-dev libenca-dev libxt-dev libxtst-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev libmms-dev

svn co http://xbmc.svn.sourceforge.net/svnroot/...xport/XBMC

cd XBMC

svn up

make clean

./configure --disable-gl

------------------------
XBMC Configuration:
------------------------
Debugging: Yes
Profiling: No
Optimization: Yes
OpenGL: No (Very Slow)
VDPAU: No
Joystick: Yes
XRandR: Yes
PCRE Support: Yes
MID Support: No
ccache: No
PulseAudio: Yes
FAAC: Yes
DVDCSS: Yes
Avahi: Yes
External Libraries: No
External FFmpeg: No
External libmad: No
External liba52: No
External libdts: No
External libfaad: No
External libmpeg2: No
External libass: No
External libvorbis: No
External libogg: No
External libmpcdec: No
External libflac: No
External libwavpack: No
External Python: No
prefix: /usr/local
------------------------

make -j2

make install

But when I run the make install I have this:

Copying system files to /usr/local/share/xbmc
caution: excluded filename not matched: */Thumbs.db
Copying XBMC binary to /usr/local/share/xbmc/xbmc.bin
install: cannot stat `xbmc.bin': No such file or directory
make: *** [install] Error 1

So I did this:

make distclean

make -j2

And I have this:

root@mediacenter:/root/XBMC# make -j2
make xbmc/cores/DllLoader/exports/exports.a
make -C guilib
make[1]: Entering directory `/root/XBMC'
make -C xbmc/cores/DllLoader/exports
make[2]: Entering directory `/root/XBMC/xbmc/cores/DllLoader/exports'
g++ -MD -c -O2 -g -D_DEBUG -Wall -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_2D -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="21888"' -D_POWERPC64 -DHAVE_CONFIG_H -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so.4\"" -I. -I../../../ -I../../../linux -I../../../../guilib -I/root/XBMC -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO -DHAS_AVAHI -I/usr/include/lzo emu_dummy.cpp -o emu_dummy.o
make[1]: Entering directory `/root/XBMC/guilib'
g++ -MD -c -O2 -g -D_DEBUG -Wall -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_2D -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="21888"' -D_POWERPC64 -DHAVE_CONFIG_H -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so.4\"" -I. -I../ -Icommon -I../xbmc -I../xbmc/cores -I../xbmc/linux -I../xbmc/utils -I/usr/include/freetype2 -I/usr/include/SDL -I/root/XBMC -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO -DHAS_AVAHI -I/usr/include/lzo ActionManager.cpp -o ActionManager.o
In file included from ../../../stdafx.h:32,
from emu_dummy.cpp:22:
../../../../guilib/system.h:101:23: error: ../config.h: No such file or directory
In file included from include.h:32,
from ActionManager.cpp:22:
system.h:101:23: error: ../config.h: No such file or directory
make[2]: *** [emu_dummy.o] Error 1
make[2]: Leaving directory `/root/XBMC/xbmc/cores/DllLoader/exports'
make[1]: *** [xbmc/cores/DllLoader/exports/exports.a] Error 2
make[1]: Leaving directory `/root/XBMC'
make: *** [exports] Error 2
make: *** Waiting for unfinished jobs....
g++ -MD -c -O2 -g -D_DEBUG -Wall -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_2D -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="21888"' -D_POWERPC64 -DHAVE_CONFIG_H -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so.4\"" -I. -I../ -Icommon -I../xbmc -I../xbmc/cores -I../xbmc/linux -I../xbmc/utils -I/usr/include/freetype2 -I/usr/include/SDL -I/root/XBMC -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO -DHAS_AVAHI -I/usr/include/lzo AnimatedGif.cpp -o AnimatedGif.o
In file included from include.h:32,
from AnimatedGif.cpp:29:
system.h:101:23: error: ../config.h: No such file or directory
make[1]: *** [ActionManager.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [AnimatedGif.o] Error 1
make[1]: Leaving directory `/root/XBMC/guilib'
make: *** [guilib/guilib.a] Error 2

So I'm stuck, I need some help please.
Reply
#69
Here is your howto:

http://forum.xbmc.org/showthread.php?tid=40236

Moved to off-topic.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#70
I'm trying building XBMC from SVN on Linux with PowerPC, yes!! I KNOW!!! PPC is not supported, but just I need some comment from YOU, I want help in the work to have XBMC working on PPC, the first thing I want to know is

Why I've got this message?

Manager.cpp -o ActionManager.o
In file included from ../../../stdafx.h:32,
from emu_dummy.cpp:22:
../../../../guilib/system.h:101:23: error: ../config.h: No such file or directory
In file included from include.h:32,
from ActionManager.cpp:22:
system.h:101:23: error: ../config.h: No such file or directory
make[2]: *** [emu_dummy.o] Error 1
make[2]: Leaving directory `/root/XBMC/xbmc/cores/DllLoader/exports'
make[1]: *** [xbmc/cores/DllLoader/exports/exports.a] Error 2
make[1]: Leaving directory `/root/XBMC'
make: *** [exports] Error 2
make: *** Waiting for unfinished jobs....
g++ -MD -c -O2 -g -D_DEBUG -Wall -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_2D -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="21888"' -D_POWERPC64 -DHAVE_CONFIG_H -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so.4\"" -I. -I../ -Icommon -I../xbmc -I../xbmc/cores -I../xbmc/linux -I../xbmc/utils -I/usr/include/freetype2 -I/usr/include/SDL -I/root/XBMC -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO -DHAS_AVAHI -I/usr/include/lzo AnimatedGif.cpp -o AnimatedGif.o
In file included from include.h:32,
from AnimatedGif.cpp:29:
system.h:101:23: error: ../config.h: No such file or directory
make[1]: *** [ActionManager.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [AnimatedGif.o] Error 1
make[1]: Leaving directory `/root/XBMC/guilib'
make: *** [guilib/guilib.a] Error 2
Reply
#71
you're missing config.h
Reply
#72
Lies. You're compiling on PS3. You've been told this is unsupported and linked to why. Nice try!
Reply
#73
So I will no found any help from you if i'll try to build this on PS3??
Reply
#74
Bingo! I dunno where you got the idea that this was supported here (it's not). But I'm sure that slashdot et.al. article has a link to someone who has claimed to have made it work. Bother them instead, they must be more interested than anyone here who's capable.
Reply
#75
Why the errors building on ps3 ppc is just about lost files?? XBMC is a big bug?
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7

Logout Mark Read Team Forum Stats Members Help
[PATCHES] PPC (PowerPC) Linux support for powerpc-linux and powerpc64-linux targets1