-
June 26th, 2008, 13:47
#1
EmuTalk Member
Compile problem
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?
-
Advertising
-
June 27th, 2008, 14:02
#2
Moderator
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.
-
June 27th, 2008, 14:05
#3
Mupen64Plus Dev.
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.
-
June 27th, 2008, 15:13
#4
EmuTalk Member
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
-
June 27th, 2008, 15:16
#5
EmuTalk Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules