
11 Dec
2006
11 Dec
'06
11:33 p.m.
Hi, When I try running the configure script on Ubuntu I get: daniel@bah:~/src/boost$ ./configure --prefix=/usr/local/boost test: 180: ==: unexpected operator test: 193: ==: unexpected operator test: 213: ==: unexpected operator test: 218: ==: unexpected operator test: 222: ==: unexpected operator test: 226: ==: unexpected operator test: 243: ==: unexpected operator This is because Ubuntu now links /bin/sh to dash (the script works fine when called with bash). The bash man page says: string1 == string2 True if the strings are equal. = may be used in place of == for strict POSIX compliance. So I've attached a patch which uses '=' instead of '==' which seems to do the trick. Daniel