Hello wanghannimei, On 19/05/2020 10:20, wanghannimei wrote: > Dear GSL support team, > > > I am having a problem compiling GSL-2.6 using Ubuntu. The problem is as > follow: > > > hwang@WANGlaptop:/mnt/c/gsl-2.6$ make install > Making install in gsl > make[1]: Entering directory '/mnt/c/gsl-2.6/gsl' > make[2]: Entering directory '/mnt/c/gsl-2.6/gsl' > make[2]: Nothing to be done for 'install-exec-am'. > make[2]: Nothing to be done for 'install-data-am'. > make[2]: Leaving directory '/mnt/c/gsl-2.6/gsl' > make[1]: Leaving directory '/mnt/c/gsl-2.6/gsl' > Making install in utils > make[1]: Entering directory '/mnt/c/gsl-2.6/utils' > make[2]: Entering directory '/mnt/c/gsl-2.6/utils' > make[2]: Nothing to be done for 'install-exec-am'. > make[2]: Nothing to be done for 'install-data-am'. > make[2]: Leaving directory '/mnt/c/gsl-2.6/utils' > make[1]: Leaving directory '/mnt/c/gsl-2.6/utils' > Making install in sys > make[1]: Entering directory '/mnt/c/gsl-2.6/sys' > make[2]: Entering directory '/mnt/c/gsl-2.6/sys' > make[2]: Nothing to be done for 'install-exec-am'. > /usr/bin/mkdir -p '/usr/local/include/gsl' > /usr/bin/mkdir: cannot create directory ‘/usr/local/include/gsl’: Permission > denied > make[2]: *** [Makefile:638: install-pkgincludeHEADERS] Error 1 > make[2]: Leaving directory '/mnt/c/gsl-2.6/sys' > make[1]: *** [Makefile:918: install-am] Error 2 > make[1]: Leaving directory '/mnt/c/gsl-2.6/sys' > make: *** [Makefile:963: install-recursive] Error 1 > > > I am pretty new to this. Any help would be appreciated. Thank you so much.
Okay. This is not a GSL issue. If you want to install GSL in your /usr/local hierarchy, you must install GSL as superuser. Having said that, I would suggest to install the GSL deb package instead. If you really need GSL 2.6, you want to consider to build your own GSL 2.6 deb balls from the debian source. (This approach will avoid some unnecessary library conflicts.) Cheers, Jerome > > > Take care, > Han > > > > > >