You are not logged in.
Pages: 1
Topic closed
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
It look like psx.real is not an x86_64 binary. To check, run:
$ file /usr/bin/psx.real
Offline
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
Oh, okay. That's a shame, but oh well. At least I wasn't doing something wrong.
Offline
pSX works mostly fine on my computer and I'm running the x86_64 version too. Not sure what the problem could be.
Offline
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
Pages: 1
Topic closed