在ubuntu(主机)虚拟机上安装GNU科学库时出现“ mkdir”错误

时间:2019-05-06 15:24:52

标签: ubuntu install virtual-machine mkdir gsl

我有一个安装了ubuntu的虚拟机。我想安装GSL。我按照官方网站上的说明进行操作:我下载了gsl-2.5并运行了命令      ./configure && make &&进行安装 安装过程进行了很多,但有一点:

Making install in sys
make[1]: Entering directory '/home/camla/gsl-2.5/sys'
make[2]: Entering directory '/home/camla/gsl-2.5/sys'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/local/include/gsl'
/bin/mkdir: cannot create directory ‘/usr/local/include/gsl’: Permission denied
make[2]: *** [Makefile:638: install-pkgincludeHEADERS] Error 1
make[2]: Leaving directory '/home/camla/gsl-2.5/sys'
make[1]: *** [Makefile:918: install-am] Error 2
make[1]: Leaving directory '/home/camla/gsl-2.5/sys'
make: *** [Makefile:963: install-recursive] Error 1

(“ camla”是我的用户)

0 个答案:

没有答案