配置gmp时出错

Mat*_*nti 21 c c++ makefile g++ gmp

希望这只是一个非常简单的问题.好的,这就是我所做的:我想在我的Linux Ubuntu 11.10下安装gmp.我的系统上有g ++和gcc.所以我从gmp官方网站(gmp 5.0.2)下载了最新版本,提取它然后,因为我需要c ++ gmp接口,我只需运行:

./configure --enable-cxx
Run Code Online (Sandbox Code Playgroud)

但它会继续工作一段时间然后打印出来:

checking for suitable m4... configure: error: No usable m4 in $PATH or /usr/5bin (see config.log for reasons).
Run Code Online (Sandbox Code Playgroud)

我做错什么了吗?非常感谢你!

马特奥

ev-*_*-br 43

尝试sudo apt-get install m4重新运行./configure