Trying to build Showtime
Added by Girish Patel almost 12 years ago
I've decided to have a go at building showtime from the source. I've installed VirtualBox Manager with PSl1ght.
I followed the text regarding installing Ps3toolchain and it took hours but I think worked.
But when I try with showtime I get this
~/showtime$ support/ps3setup
Initialized empty Git repository in /home/evilsperm/showtime/ps3support/ffmpeg/src/.git/
remote: Counting objects: 148973, done.
remote: Compressing objects: 100% (32764/32764), done.
remote: Total 148973 (delta 116178), reused 148683 (delta 116012)
Receiving objects: 100% (148973/148973), 31.38 MiB | 1.43 MiB/s, done.
Resolving deltas: 100% (116178/116178), done.
Branch showtime set up to track remote branch showtime from origin.
Switched to a new branch 'showtime'
Configuring FFmpeg...
/usr/local/ps3dev/host/ppu/bin/ppu-gcc is unable to create an executable file.
C compiler test failed.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
[email protected] mailing list or IRC #libav on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
Have I missed something or installed something wrong?
Any help would be great.
Thanks - Girish.
Replies (24)
RE: Trying to build Showtime
-
Added by Björn Dahlgren almost 12 years ago
RE: Trying to build Showtime
-
Added by Girish Patel almost 12 years ago
Thanks for that.
I followed the instructions by copy and pasting. Left it overnight and the last few lines say
checking for zlibVersion in -lz... no
configure: error: zlib not installed
../scripts/002-libpng-1.4.4.sh: Failed.
../scripts/012-ps3libraries.sh: Failed.
Attached is the terminal if that helps.
Terminal.txt
(19.5 KB)
RE: Trying to build Showtime
-
Added by Girish Patel almost 12 years ago
I'm going to start over again from scratch and go through each step slowly
RE: Trying to build Showtime
-
Added by Girish Patel almost 12 years ago
Björn Dahlgren wrote:
Ok, I've re-installed Ubuntu v10.04 in VirtualBox.
Nothing else has been installed. So if I follow the instructions on the link above the build should work? Or is there something else I need to do?
Thank you in advance.
RE: Trying to build Showtime
-
Added by Max Jänsch almost 12 years ago
Girish Patel wrote:
Björn Dahlgren wrote:
Ok, I've re-installed Ubuntu v10.04 in VirtualBox.
Nothing else has been installed. So if I follow the instructions on the link above the build should work? Or is there something else I need to do?
Thank you in advance.
just had a quick look at the link, follow the instructions and everything should be fine. make sure your variables are defined right before you start building.
RE: Trying to build Showtime
-
Added by Girish Patel almost 12 years ago
I thought I was doing well as things were going right until this part!
[email protected]:~/showtime$ cd ps3toolchain_V1 && ./toolchain.sh
touch: cannot touch '/usr/local/ps3dev/test.tmp' : permission denied
ERROR: Grant write permissions for /usr/local/ps3dev before continuing
../depends/check-ps3dev.sh: Failed.
[email protected]:~/showtime/ps3toolchain_V1$
I've been using ubuntu only for a few days but I'm starting to understand gradually how it works. I know I've jumped in at the deep end haha!
I've tried using the sudo command but get back sudo: cd: command not found
The other problems I've ran into I've sorted but this one I'm a bit stuck!
Would this work?
cd ~/ps3toolchain_V1
./toolchain.sh
or does it have to have both of the commands with the &&
RE: Trying to build Showtime
-
Added by Björn Dahlgren almost 12 years ago
It's definately doable using sudo to run the installer but changing ownership of the target folder has worked out better for me. Run the following before the toolchain script,
sudo chown girish:girish /usr/local/ps3dev
RE: Trying to build Showtime
-
Added by Girish Patel almost 12 years ago
Fantastic!!!
Thank you so much as that is now running the toolchain!!
I'll take a look in the morning now to see what its done
RE: Trying to build Showtime
-
Added by Girish Patel almost 12 years ago
The toolchain worked thank you.
ps3setup and configure worked too but when making
I get this error right at the end!
make_self_npdrm build.ps3/showtime.elf build.ps3/pkg/USRDIR/EBOOT.BIN UP0001-HTSS00003_00-0000000000000000
make: make_self_npdrm: Command not found
make: *** [build.ps3/pkg/USRDIR/EBOOT.BIN] Error 127
I just hope I don't have to build the toolchain as that took forever!
So I'm guessing everything was right up until the make install?
so once sorted all I will need to do is make -j4 && make install and not configure everytime?
All your help has been very much appreciated. Thank you
RE: Trying to build Showtime
-
Added by Max Jänsch almost 12 years ago
Girish Patel wrote:
The toolchain worked thank you.
ps3setup and configure worked too but when making
I get this error right at the end!make_self_npdrm build.ps3/showtime.elf build.ps3/pkg/USRDIR/EBOOT.BIN UP0001-HTSS00003_00-0000000000000000
make: make_self_npdrm: Command not found
make: *** [build.ps3/pkg/USRDIR/EBOOT.BIN] Error 127
Hi,
i think there are two possible reasons for this error, first is you didn't setup your path right. find make_self_npdrm and try to start it from a terminal. If this works it's prpoably not in your path, change your path or edit the makefile to point to the right place for it.
If you can't i think something went wrong with your installation and the programm isn't there or installed correct.
RE: Trying to build Showtime
-
Added by Kal-El Junior almost 12 years ago
Hey Girish
Just wanted to ask why you're "building showtime" is there a specific feature you want to incorporate into Showtime?
Also how's it going? Have you made any progress towards your goal?
RE: Trying to build Showtime
-
Added by Girish Patel almost 12 years ago
Kal-El Junior wrote:
Hey Girish
Just wanted to ask why you're "building showtime" is there a specific feature you want to incorporate into Showtime?
Also how's it going? Have you made any progress towards your goal?
Hi,
once I've finally got it built (which I still haven't!) I'm going to try to get showtime to recognize cover art for video files. The way ps3media server does e.g. the video file is called 'movie.mkv' and the image file would be called 'movie.mkv.cover.jpg'
I've got no idea if it will work but I would like to try! It could be waste of time but I'm enjoying trying to work it out. It's the only thing that's missing in my opinion. I'm not too fussed over actor details, film info etc. I just want covers. Mainly because it will look nice and my young boys will be able to use showtime a lot easier themselves, rather than having to read they can simply see the cover for the film they want to watch.
RE: Trying to build Showtime
-
Added by Girish Patel almost 12 years ago
Hi,
i think there are two possible reasons for this error, first is you didn't setup your path right. find make_self_npdrm and try to start it from a terminal. If this works it's prpoably not in your path, change your path or edit the makefile to point to the right place for it.
If you can't i think something went wrong with your installation and the programm isn't there or installed correct.
I think I've worked out where the make_self_npdrm is.
~/showtime/ps3toolchain_V1/build/psl1ght/tools/geohot/
There is a make and make_self file there that mention make_self_npdrm
Also it mentions in the read me "be sure that the elf you are make_self_npdrming is sprxlinked"??
Which makefile do I edit to point to the right place and what and where in the makefile text do I put?
Thanks in advance.
RE: Trying to build Showtime
-
Added by Max Jänsch almost 12 years ago
hi,
in my installation make_self_npdrm is in:
/home/friday/dev/ps3/pslight/host/bin/make_self_npdrm
/home/friday/dev/ps3/PSL1GHT/host/bin/make_self_npdrm
/home/friday/dev/ps3/PSL1GHT/tools/geohot/make_self_npdrm
i've installed the toolchain in my home-directoy, so don't wonder about the different path. if this file is there and your path is set correct everything should be fine.
run:
sudo find / -name make_self_npdrm
to find it on your system. if it is there check if your path is pointing there or change the makefile, in this case it's .../showtime/support/ps3.mk, to use the command with full path.
RE: Trying to build Showtime
-
Added by Girish Patel almost 12 years ago
I started all over again and once again got to the make -j4 && make install
but once again right at the end I got this
package_finalize build.ps3/showtime.pkg
cp build.ps3/showtime.pkg /showtime.pkg
cp: cannot create regular file `/showtime.pkg': Permission denied
make: *** [install] Error 1
I'm guessing as its something to do with permission I'll set myself as root then try make -4 && make install again?
Tried that and got
roo[email protected]:~/showtime# make -j4 && make install
Makefile:19: /root/showtime/config.default: No such file or directory
Makefile:25: build./config.mak: No such file or directory
Makefile:623: support/.mk: No such file or directory
make: *** No rule to make target `support/.mk'. Stop.
Tried sudo and got
[email protected]:~/showtime$ sudo make -j4 && make install
cp build.ps3/showtime.pkg /showtime.pkg
cp: cannot create regular file `/showtime.pkg': Permission denied
make: *** [install] Error 1
Tried sudo su and got
[email protected]:~/showtime$ sudo su
[email protected]:/home/girish/showtime# make -j4 && make install
cp build.ps3/showtime.pkg /showtime.pkg
sync
[email protected]:/home/girish/showtime#
Does that mean its done??????
Thank you everyone for your help!!!!
RE: Trying to build Showtime
-
Added by Max Jänsch almost 12 years ago
looks like you've made it. the problems are about permissions, you try to copy the showtime.pkg to /, normal users van't acces this. avtually it should be copied to $PS3INSTALL/showtime.pkg, so i guess you didn't set up $PS3INSTALL correct or change the ps3.mk to copy it to a different location so you could run make as normal user again.i think this is the best possibility, cause you can't mess up anything by using root anymore.
RE: Trying to build Showtime
-
Added by Girish Patel almost 12 years ago
I appreciate all your help in sorting this out. I saved it over to a pc folder and loaded it on a usb stick. Installed it on the ps3 and it worked!
Now one last question. When the showtime files get updated what is the best thing to do? Is there a way to download only the newest files? or do I git clone git again the whole thing? The tutorial link showing how to install everything never mentions how to keep the showtime files up to date.
Also the tutorial link never mentioned $PS3INSTALL. The tutorial is good but putting the text into the bashrc file did not work so I put it directly in the terminal.
Anyhow It's finally done and now I can have a play with the code
Thank you - Girish
RE: Trying to build Showtime
-
Added by Björn Dahlgren almost 12 years ago
Use git pull to download changed files.
RE: Trying to build Showtime
-
Added by Max Jänsch almost 12 years ago
to update just change to the showtime dir and run: "git pull".
in the showtime buildinstructions it is mentioned that you find the .pkg-file in $PS3INSTALL, so you have to read between the lines a little bit to find out you need to set it.
RE: Trying to build Showtime
-
Added by Kal-El Junior almost 12 years ago
Girish Patel wrote:
I appreciate all your help in sorting this out. I saved it over to a pc folder and loaded it on a usb stick. Installed it on the ps3 and it worked!
Now one last question. When the showtime files get updated what is the best thing to do? Is there a way to download only the newest files? or do I git clone git again the whole thing? The tutorial link showing how to install everything never mentions how to keep the showtime files up to date.
Also the tutorial link never mentioned $PS3INSTALL. The tutorial is good but putting the text into the bashrc file did not work so I put it directly in the terminal.
Anyhow It's finally done and now I can have a play with the code
Thank you - Girish
So you've done it?
You're going to be releasing what you've done right?
Have you tried the Covers? isit working?
RE: Trying to build Showtime
-
Added by Girish Patel almost 12 years ago
Kal-El Junior wrote:
So you've done it?
You're going to be releasing what you've done right?
Have you tried the Covers? isit working?
I've managed to build showtime yes.
I'm currently researching how other apps get their covers. I'm not looking at getting showtime to automatically gather covers as I know that will be coming at some point. But I'm just looking at a quick solution to display covers. The same way ps3 media server does, movie.mkv and movie.mkv.cover.jpg etc.
I'm not a programmer but a designer so all I do is put in some code and see if it works. A lot of trial and error.
If I get it working then of course I'll release it.
RE: Trying to build Showtime
-
Added by Kal-El Junior almost 12 years ago
Any progress?
Girish Patel
RE: Trying to build Showtime
-
Added by Girish Patel almost 12 years ago
Kal-El Junior wrote:
Any progress?
I replaced the movie icon with a cover as a quick test but when I looked at it on screen I have to say the covers looked too small.
So I've thrown that idea out the window.
So now I'm looking at the display it gives when you have the list of movies. The large space on the right hand side to show a poster or cover. Similar to the way the photos are viewed in a list. The image names you scroll and it displays on the right.
It's fun working out how it all works then editing it slightly to do what you want it to do.
RE: Trying to build Showtime
-
Added by Kal-El Junior almost 12 years ago
Girish Patel wrote:
Kal-El Junior wrote:
Any progress?
I replaced the movie icon with a cover as a quick test but when I looked at it on screen I have to say the covers looked too small.
So I've thrown that idea out the window.
So now I'm looking at the display it gives when you have the list of movies. The large space on the right hand side to show a poster or cover. Similar to the way the photos are viewed in a list. The image names you scroll and it displays on the right.
It's fun working out how it all works then editing it slightly to do what you want it to do.
O okay, yeah, that would be a good place to put the covers on the right.
How long do you think it'll be until you finish? I can't wait
(1-24/24)