I think I had a similar problem and was just able to solve it. I tried to compile WepAttack which needs libcrypto to include <openssl/md5.h>
By chance, I found out that this is provided by libssl-dev
So,apt-get install libssl-dev
环境是unbuntu 10.0.4 测试成功。可以安装。