[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling issure
From: |
Eric |
Subject: |
Re: Compiling issure |
Date: |
Tue, 19 May 2020 00:46:42 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 5/18/20 11:20 PM, 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.
Take care,
Han
Hi Han,
The error:
cannot create directory ‘/usr/local/include/gsl’: Permission denied
indicates you do not have the permission to install gsl in that directory. You
can try the command:
sudo make install
if you have an administrative account. It will ask for your password and then
the install should complete.
Hope this helps,
Eric