Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to compile freetds according to these instructions:

However configure is failing. My command is:

./configure --enable-msdblib -–prefix=/usr/local/freetds

I'm getting

configure: error: unrecognized option: `-–prefix=/usr/local/freetds'
Try `./configure --help' for more information.

for all command line options, even --help

I have build-essentials, gcc and make installed. I also tried sudo, even though I am logged in as root. It seems to me something is still missing?

share|improve this question
up vote 3 down vote accepted

You have to use --prefix ("minus minus"), not -–prefix ("minus dash")

share|improve this answer

You've copy-pasted the command from a webpage and, if you look closely, you've got a funny character instead of one of the dashes in --prefix.

Just type it in manually :)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.