What's new

Compile problem

sammydee

New member
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

Emulator Developer
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

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.
 
OP
S

sammydee

New 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
 

Top