sammydee
June 26th, 2008, 14:47
I'm trying to compile mupen64plus 1.4 on ubuntu hardy, and it's giving me this error when I do make install:
Installing Mupen64Plus to /usr/local
[: 60: ==: unexpected operator
Done.
sam@laptop:~/src/Mupen64Plus-1-4-src$
Any ideas?
Richard42
June 27th, 2008, 15:02
Which shell are you using? If you look at the end of the install.sh file, you will see these 3 lines:
if [ "${GUI}" == "KDE4" ]; then
$INSTALL -m 0644 main/gui_kde4/mupen64plusui.rc "${INSTALLDIR}" || exit $?
fi
If you remove these lines, the installation should complete.
Tillin9
June 27th, 2008, 15:05
Unless you're using the KDE4 GUI, you should be able to safely ignore this.
Might I ask what shell you're using? /bin/sh --version
The script is taking issue with the fi termination of the if statement. If you're using the older C shell, that's one possible explanation for the error.
sammydee
June 27th, 2008, 16:13
Figured it out, ubuntu hardy seems to use dash by default instead of bash. I will symlink bash into /bin/sh in place of dash and try again.
Why ubuntu does this I have no idea.
Sam
sammydee
June 27th, 2008, 16:16
Alright, fixed.
Sam
vBulletin v3.6.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.