![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2007
Beans: 29
Kubuntu 7.10 Gutsy Gibbon
|
Compiling PCSX2 from SVN
This should work on Feisty, Gutsy and Hardy, just make sure to read the NOTE in step 1.
The following will download the full SVN source code, and compile the emulator + available plugins. You can simply select+middle-click the following blocks of code into a console to execute them (click Enter to complete each command in the console). *Update - 2008-04-28 - If you have just upgraded from Gutsy/Feisty to Hardy you will find that PCSX2 will not run anymore. This is because libglew1.4-dev has been replaced with libglew1.5-dev. All you need to do is make sure libglew1.5-dev is installed and recompile (or just redo the 4 steps below). *Update - 2008-01-09 - Added a 'Common Questions and Answers' section below. *Update - 2007-12-14 - Added the library 'libsdl1.2-dev' to step (1) because the pkgconfig file 'sdl.pc' is now needed by the zeropad plugin v0.2.0. - The recent addition of Zeropad v0.2.0 seems to have caused a strange bug during compilation. The problem seems to happen only if you've already downloaded a previous version of the SVN code. The error will look something like this: Code:
... mv -f .deps/libZeroPAD_a-zeropad.Tpo .deps/libZeroPAD_a-zeropad.Po make: *** No rule to make target `linux.cpp', needed by `libZeroPAD_a-linux.o'. Stop. Error with building plugins --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- (1) Install the needed libraries. NOTES: replace libglew1.5-dev with Gutsy: libglew1.4-dev Feisty: libglew-dev Code:
sudo apt-get install subversion libsdl1.2-dev libjpeg62-dev build-essential \ libgtk2.0-dev libxxf86vm-dev x11proto-xf86vidmode-dev automake1.9 \ libbz2-dev libasound-dev nvidia-cg-toolkit libglu1-mesa-dev libglew1.5-dev; Code:
cd ~/; mkdir pcsx2; svn co https://pcsx2.svn.sourceforge.net/svnroot/pcsx2 pcsx2 Code:
cd pcsx2; chmod +x build.sh; sh build.sh all Code:
cd bin; echo \#\!'/bin/bash' > play.sh;echo 'cd ~/pcsx2/bin'>>play.sh;\ echo 'LD_LIBRARY_PATH="./" ./pcsx2' >> play.sh; chmod +x play.sh Code:
./play.sh You can update your installation by doing steps 2 and 3 over again at any time. Notes for newbs:
Compilation problems:
Personal Experience:
Common Questions and Answers:
Links:
Last edited by barius; April 28th, 2008 at 10:49 PM.. Reason: Updated for Hardy |
|
|
|
|
|
#2 |
|
5 Cups of Ubuntu
![]() Join Date: Oct 2007
Location: i really dont know...
Beans: 40
Ubuntu 7.10 Gutsy Gibbon
|
Re: Compiling PCSX2 from SVN
Mucho gracious! I cant wait to play my games! All i have to do now is get the bios from my ps2
|
|
|
|
|
|
#3 |
|
A Carafe of Ubuntu
![]() Join Date: Jun 2006
Location: UnderTheSea
Beans: 111
|
Re: Compiling PCSX2 from SVN
Can u upload your working PCSX2 file somewhere.
I try compiling with the guide still getting errors. |
|
|
|
|
|
#4 |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2007
Beans: 29
Kubuntu 7.10 Gutsy Gibbon
|
Re: Compiling PCSX2 from SVN
No, it's too large to post here.
Make sure that you have all the packages from step 1 installed. Also, don't put your bios/plugins under too many folders since there are some path length limitations. If you still get errors when compiling then post your errors and what hardware you have in the PCSX2 forums. They are usually pretty helpful to Linux SVN users. |
|
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() Join Date: Jun 2006
Location: UnderTheSea
Beans: 111
|
Re: Compiling PCSX2 from SVN
Well u can upload it to mediafire or megaupload or rapidshare. I would join the PCSX2 forum but seems like they banning everyone that trys to sign up. So I cant sign up so this is the only forum I can get help from.
I did manage to compile from the Official Source package. But it didnt have the plugins. And it was giving me all these GS errors and such. However on the SVN always gives me errors. So I never manage to pass the point on compiling that. make[2]: Entering directory `/home/bonster/Desktop/gtg/plugins/gs/zerogs/opengl' make[2]: Nothing to be done for `install-exec-am'. test -z "" || mkdir -p -- "" /usr/bin/install -c 'libZeroGSoglr.so.0.96.2' '/libZeroGSoglr.so.0.96.2' /usr/bin/install: cannot create regular file `/libZeroGSoglr.so.0.96.2': Permission denied make[2]: *** [install-traplibPROGRAMS] Error 1 make[2]: Leaving directory `/home/bonster/Desktop/gtg/plugins/gs/zerogs/opengl' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/bonster/Desktop/gtg/plugins/gs/zerogs/opengl' make: *** [install-recursive] Error 1 |
|
|
|
|
|
#6 |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2007
Beans: 29
Kubuntu 7.10 Gutsy Gibbon
|
Re: Compiling PCSX2 from SVN
The only reason anyone gets kicked from the PCSX2 forum is for talking about pirated games/bioses. The development team has a very strict no-piracy stance, for obvious reasons (..Sony legal dept.). If you want help, make sure you are using a legally obtained bios and games, it's that simple. It's not like a PS2 is crazy expensive anymore anyways, you'll have a lot more fun playing games on the real thing for a few years yet because the emulator still has a ways to go before it's as stable as the old PS1 emus.
As to your compiling problem, judging by the paths in the error report you did not follow the guide exactly. The error is quite clearly a permissions issue due to something you've done differently. Delete what you have, and follow the guide above by simply copy/pasting the commands into a terminal. |
|
|
|
|
|
#7 |
|
5 Cups of Ubuntu
![]() |
Re: Compiling PCSX2 from SVN
Gods amongst men reside within this forum.
Thanks! |
|
|
|
|
|
#8 |
|
A Carafe of Ubuntu
![]() Join Date: Jun 2006
Location: UnderTheSea
Beans: 111
|
Re: Compiling PCSX2 from SVN
I didnt get kick from the PCSX2 forum. I was never even in it. They dont let me sign up. Keeps saying ban when I try to sign up. Maybe u can tell those guys to fix this. I emailed them like 1week ago but the problem still the same. Is not only me others experience this also.
Thanks BTW: I think it was the long path limit you said. Last edited by Bonster; December 12th, 2007 at 02:48 AM.. |
|
|
|
|
|
#9 | |
|
Dipped in Ubuntu
![]() |
Re: Compiling PCSX2 from SVN
Quote:
Code:
chris@ubuntu:~/Desktop/pcsx2$ cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 43 model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping : 1 cpu MHz : 2200.222 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm cmp_legacy bogomips : 4403.13 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp processor : 1 vendor_id : AuthenticAMD cpu family : 15 model : 43 model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping : 1 cpu MHz : 2200.222 cache size : 512 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm cmp_legacy bogomips : 4400.72 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp chris@ubuntu:~/Desktop/pcsx2$
__________________
Linux HowTos and Free Support! http://linuxinovations.blogspot.com/ Green means go, Yellow means faster, Red means don't stop. |
|
|
|
|
|
|
#10 |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2007
Beans: 29
Kubuntu 7.10 Gutsy Gibbon
|
Re: Compiling PCSX2 from SVN
When I wrote SSE2+ what I meant was you need SSE2 *or better*. Your CPU is fine.
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|