> #! /bin/sh with whitspace between #! and /bin/sh Many scripts do this (in fact, some people believe it is more portable than #!/bin/sh), and have done so for decades, so hopefully this isn't the problem. Perhaps /bin/sh is not executable, or configure isn't executable, or the line ending is wrong?