Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

bibutils 4.17 configure problem on ubuntu 10.04

JeffH
2013-02-28
2013-03-01
  • JeffH
    JeffH
    2013-02-28

    In order to get ./configure to work on ubuntu 10.04
    [Linux 2.6.32-45-generic #104-Ubuntu SMP Tue Feb 19 21:20:09 UTC 2013 x86_64 GNU/Linux] (which uses "dash"),
    I had to change all the occurrences of "==" to "=" within the configure script.

    otherwise I was getting:

    ./configure
    [: 57: dynamic: unexpected operator
    [: 315: Linux_x86_64: unexpected operator
    [: 315: Linux_x86_64: unexpected operator
    [: 315: Linux_x86_64: unexpected operator
    [: 315: Linux_x86_64: unexpected operator
    [: 315: Linux_x86_64: unexpected operator
    [: 315: Linux_x86_64: unexpected operator
    [: 315: Linux_x86_64: unexpected operator
    [: 315: Linux_x86_64: unexpected operator
    [: 315: Linux_x86_64: unexpected operator
    [: 315: Linux_x86_64: unexpected operator
    [: 315: Linux_x86_64: unexpected operator
    [: 315: Linux_x86_64: unexpected operator
    [: 315: Linux_x86_64: unexpected operator
    [: 315: Linux_x86_64: unexpected operator
    [: 315: dynamic: unexpected operator
    [: 330: dynamic: unexpected operator

     
  • Chris Putnam
    Chris Putnam
    2013-03-01

    Sorry. When I was given "sh" versions of my scripts to support MingW systems without csh, I was unaware that "==" is a bashism. This will be fixed in the next version.