Thread:Extension talk:Lucene-search/problem with ./configure

when i run ./configure /var/www/mediawiki/ i get this bash: ./configure: /bin/bash^M:bad interpreter: No such file or directory.

i tried running dos2unix but doesn't solve the problem.

Any tips will be great, thanks in advance guys.

Using CentOS6 RHEL lucene search 2.1 mediawiki 1.20.4