You are not logged in.

#1 2008-06-12 02:06:45

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Weird pSX problem on Arch64

So, I installed pSX from AUR and it builds and installs smoothly.

But when I run it, this happens:

[rob@Archbox ~]$ psx
/usr/bin/psx: line 5: /usr/bin/psx.real: No such file or directory
[rob@Archbox ~]$

But there is a /usr/bin/psx.real!!

[rob@Archbox ~]$ ls /usr/bin/psx.real 
/usr/bin/psx.real
[rob@Archbox ~]$

Here is the psx bash script:

#!/bin/sh

# Launch pSX
cd ~/.pSX
psx.real $*

Line 5 is that psx.real $* that apparently can't find psx.real.

Then if I open Thunar and double click the /usr/bin/psx.real it says: Failed to execute child process "/usr/bin/psx.real" (No such file or directory). So.... it can't find itself??

Here is the PKGBUILD:

# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
pkgname=psx
pkgver=1.13
pkgrel=4
pkgdesc="PlayStation emulator, not plugin based."
arch=('x86_64')
url="http://psxemulator.gazaxian.com/"
license=('unknown')
depends=('gtkglext' 'libxmu' 'libgl' 'alsa-lib' 'libglade' 'mesa')
install="psx.install"
source=('http://psxemulator.gazaxian.com/pSX_linux_1_13.tar.bz2' 'psx.sh' 'psx.desktop')
md5sums=('0812408db22184ceb8cb29ae7601298f' '0eea7017ddeee31c44407872fa57b518' '96ee20caa46a86efe5a761f615a9b9b6')

build() {
    # Install small script for executing pSX
    install -D $startdir/src/psx.sh $startdir/pkg/usr/bin/psx

    # Install the real executable
    install -D $startdir/src/pSX/pSX $startdir/pkg/usr/bin/psx.real

    # Install the .desktop file
    install -D --mode=644 $startdir/src/${pkgname}.desktop $startdir/pkg/usr/share/applications/${pkgname}.desktop
}

So, what is the problem here???

Offline

#2 2008-06-12 03:04:28

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Weird pSX problem on Arch64

It look like psx.real is not an x86_64 binary. To check, run:
$ file /usr/bin/psx.real

Offline

#3 2008-06-12 03:18:50

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,395
Website

Re: Weird pSX problem on Arch64

Thats right.  It is distributed as a binary blob so will not work on x86_64.  In these cases, you can't just change the arch variable to get i686 PKGBUILDs to work...

Offline

#4 2008-06-12 14:32:34

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: Weird pSX problem on Arch64

Oh, okay. That's a shame, but oh well. At least I wasn't doing something wrong.

Offline

#5 2012-01-06 09:31:53

Orodruin
Member
Registered: 2012-01-06
Posts: 4

Re: Weird pSX problem on Arch64

pSX works mostly fine on my computer and I'm running the x86_64 version too.  Not sure what the problem could be.

Offline

#6 2012-01-06 12:57:43

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Weird pSX problem on Arch64

Orodruin, did you notice how old this thread is? Please keep to our Necro-Bumping Rules.

Closing.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB