Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Gamers & Players
  • Search

PCSX2 howto

Having problems getting your favorite Linux game to work? Want to discuss strategies? This is the place!
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
Author
Message
yuwy
n00b
n00b
Posts: 38
Joined: Mon May 22, 2006 5:47 pm

PCSX2 howto

  • Quote

Post by yuwy » Sun Aug 26, 2007 2:21 am

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: Select all

chmod o+x -R plugins
which all that did was to allow compilation of the plugins

next we

Code: Select all

sh build.sh all
if there is a build error (as there probabily will be you need to emerge a few things)

Code: Select all

emerge nvidia-cg-toolkit gtk+
(32-bit chroot)

once the pcsx2 is compiled you just need the necessary bios
Top
unai001
n00b
n00b
Posts: 62
Joined: Fri Feb 01, 2008 6:24 pm

  • Quote

Post by unai001 » Tue Mar 25, 2008 12:54 pm

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: Select all

>>> 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.
Top
Rad
Guru
Guru
Posts: 403
Joined: Wed Feb 11, 2004 10:51 am
Location: Bern, Switzerland

  • Quote

Post by Rad » Tue Mar 25, 2008 9:25 pm

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.
Top
lazy_bum
l33t
l33t
User avatar
Posts: 691
Joined: Wed Feb 16, 2005 8:55 am

  • Quote

Post by lazy_bum » Wed Mar 26, 2008 9:18 am

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 | grubelek
Top
Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Gamers & Players”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic