Results 1 to 5 of 5

Thread: Compile problem

  1. #1
    EmuTalk Member
    Join Date
    Jan 2008
    Posts
    5

    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

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

  2. #2
    Moderator
    Join Date
    Oct 2007
    Posts
    494
    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.

  3. #3
    Mupen64Plus Dev.
    Join Date
    Jul 2006
    Location
    Middletown, CT
    Posts
    130
    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.

  4. #4
    EmuTalk Member
    Join Date
    Jan 2008
    Posts
    5
    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

  5. #5
    EmuTalk Member
    Join Date
    Jan 2008
    Posts
    5
    Alright, fixed.

    Sam

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •