How to fix syntax error near unexpected token?

Discussion in 'Linux & BSD' started by blade59, Apr 19, 2006.

  1. blade59

    blade59 OSNN One Post Wonder

    Messages:
    1
    After I type this:
    $ ./configure --target-list=i386-softmmu --static --enable-adlib
    I get this:
    ./configure: line 439: syntax error near unexpected token `fi'
    ./configure: line 439: `fi'
    Can somebody explain how to fix this- I'm pretty green @ Linux.
    Thanks
     
  2. Mainframeguy

    Mainframeguy Debiant by way of Ubuntu Folding Team

    Messages:
    3,763
    Location:
    London, UK
    we need to see what is in the configure script to offer any possible help - go to the directory you were in and type "pr configure" (maybe pipe the output to a file) and you'll find line 439 has a command with that syntax error. But from what you have posted it is not possible to help beyond that.....
     
  3. X-Istence

    X-Istence * Political User

    Messages:
    6,498
    Location:
    USA
    Get an updated version of the software, you are not going to be able to fix that configure file yourself without shooting someone.