Gentoo Forums
Gentoo Forums
Quick Search: in
PCSX2 howto
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
yuwy
n00b
n00b


Joined: 22 May 2006
Posts: 38

PostPosted: Sat Aug 25, 2007 9:21 pm    Post subject: PCSX2 howto Reply with quote

Since there is no current guide for gentoo on pcsx2 installation and what not, I decided to write up a basic guide
on how to:

A: set up and compile pcsx2
B: how to configure and run

We first need to construct a 32-bit chroot as the x86_64-bit version of pcsx2 0.9.3 does not appear to work
for me.

The guide to the 32-bit chroot is here.
Make sure you emerge the necessary stuff like nvidia-drivers X (u know)
Enter the 32-bit chroot.

Next we take the source for pcsx2 0.9.3 x86 source (32-bit version) and un(7zip?) it.

we enter the directory pcsx2 and do a
Code:
chmod o+x -R plugins

which all that did was to allow compilation of the plugins

next we
Code:
sh build.sh all

if there is a build error (as there probabily will be you need to emerge a few things)
Code:
emerge nvidia-cg-toolkit gtk+
(32-bit chroot)

once the pcsx2 is compiled you just need the necessary bios
Back to top
View user's profile Send private message
unai001
n00b
n00b


Joined: 01 Feb 2008
Posts: 62

PostPosted: Tue Mar 25, 2008 7:54 am    Post subject: Reply with quote

Hi, im trying to install pcsx2 in a x86 machine, but it fails while building, and i have emerged nvidia-cg-toolkit and gtk+. I have tried installing pcsx2 by portage and manually compiling it but both of them give me a compiling error.This is the error by emerge:
Code:
>>> Compiling source in /var/tmp/portage/games-emulation/pcsx2-0.8.1/work/pcsx2-0.8.1src ...
make: Entering directory `/var/tmp/portage/games-emulation/pcsx2-0.8.1/work/pcsx2-0.8.1src/Linux'
cc -Wall -O2 -march=i686 -pipe -I. -I.. -I../IPU -I../DebugTools -D__LINUX__ -DENABLE_NLS -DPACKAGE=\"pcsx2\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -c -o ../Counters.o ../Counters.c -MD -MF ../Counters.d
cc -Wall -O2 -march=i686 -pipe -I. -I.. -I../IPU -I../DebugTools -D__LINUX__ -DENABLE_NLS -DPACKAGE=\"pcsx2\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -c -o ../DebugTools/DisR5900.o ../DebugTools/DisR5900.c -MD -MF ../DebugTools/DisR5900.d
cc -Wall -O2 -march=i686 -pipe -I. -I.. -I../IPU -I../DebugTools -D__LINUX__ -DENABLE_NLS -DPACKAGE=\"pcsx2\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -c -o ../Elfheader.o ../Elfheader.c -MD -MF ../Elfheader.d
In file included from ../Counters.c:22In file included from ../Elfheader.c:24:
../Common.h:158:23: error: ix86/ix86.h: No such file or directory
In file included from ../DebugTools/Debug.h:23:
../Common.h:158:23: error: ix86/ix86.h: No such file or directory
,
                 from ../DebugTools/DisR5900.c:23:
../Common.h:158:23: error: ix86/ix86.h: No such file or directory
make: *** [../Counters.o] Error 1
make: *** Waiting for unfinished jobs....
../Elfheader.c: In function 'parseCommandLine':
../Elfheader.c:187: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
../Elfheader.c: In function 'loadElfFile':
../Elfheader.c:580: warning: pointer targets in passing argument 2 of 'readFile' differ in signedness
../Elfheader.c:607: warning: null argument where non-null required (argument 1)
../Elfheader.c:607: warning: null argument where non-null required (argument 1)
../Elfheader.c:607: warning: null argument where non-null required (argument 2)
../Elfheader.c:607: warning: null argument where non-null required (argument 2)
../Elfheader.c:607: warning: null argument where non-null required (argument 1)
../Elfheader.c:607: warning: null argument where non-null required (argument 1)
../Elfheader.c:607: warning: null argument where non-null required (argument 2)
../Elfheader.c:607: warning: null argument where non-null required (argument 2)
../Elfheader.c:608: warning: null argument where non-null required (argument 1)
../Elfheader.c:608: warning: null argument where non-null required (argument 1)
../Elfheader.c:560: warning: unused variable 'str2'
make: *** [../Elfheader.o] Error 1
make: *** [../DebugTools/DisR5900.o] Error 1
make: Leaving directory `/var/tmp/portage/games-emulation/pcsx2-0.8.1/work/pcsx2-0.8.1src/Linux'
 *
 * ERROR: games-emulation/pcsx2-0.8.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2265:  Called die
 * The specific snippet of code:
 *       emake -C Linux OPTIMIZE="${CFLAGS}" || die "emake failed"
 *  The die message:
 *   emake failed
 *

Any idea what could i be missing?
EDIT: Fixed, i needed a package named glew.
Back to top
View user's profile Send private message
Rad
Guru
Guru


Joined: 11 Feb 2004
Posts: 358
Location: Berne, Switzerland

PostPosted: Tue Mar 25, 2008 4:25 pm    Post subject: Reply with quote

0.8.1 is very old and much less performant / compatible than the more recent versions. As you can see even the OP didn't use it more than half a year ago.

You may be interested in the updated version on bugs.gentoo.org since its significantly more compatible and performant. As much of a pain it is to install in your own local portage overlay, due to the various ps2emu plugins.
Back to top
View user's profile Send private message
lazy_bum
Guru
Guru


Joined: 16 Feb 2005
Posts: 463

PostPosted: Wed Mar 26, 2008 4:18 am    Post subject: Reply with quote

You can install overlay from my sig, my friend added latest PCSX2 ebuilds some time ago. I didn't test those (not enough CPU power), but they work fine for him. (-:
_________________
roslin uberlay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum