error: GSL CBLAS library not found
I tried to compile one software. After I typed "./configure", there is an error:
error: GSL CBLAS library not found I installed GSL 1.9 library --- When I was installing, it was like this: make install Making install in gsl make[1]: Entering directory `myDir/gsl-1.9/gsl' make[2]: Entering directory `myDir/gsl-1.9/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 `myDir/gsl-1.9/gsl' make[1]: Leaving directory `myDir/gsl-1.9/gsl' Making install in utils make[1]: Entering directory `myDir/gsl-1.9/utils' make[2]: Entering directory `myDir/gsl-1.9/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 `myDir/gsl-1.9/utils' make[1]: Leaving directory `myDir/gsl-1.9/utils' Making install in sys make[1]: Entering directory `myDir/gsl-1.9/sys' make[2]: Entering directory `myDir/gsl-1.9/sys' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/local/include/gsl" || mkdir -p -- "/usr/local/include/gsl" mkdir: cannot create directory `/usr/local/include/gsl': Permission denied make[2]: *** [install-pkgincludeHEADERS] Error 1 make[2]: Leaving directory `myDir/gsl-1.9/sys' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `myDir/gsl-1.9/sys' make: *** [install-recursive] Error 1 I guess that I did not install GSL library correctly, so I got error message such as "GSL CBLAS library not found"? the Linux environment I am using is CentOS 5.4 in a vmware virtual machine. I have a virtual machine on the network running CentOS 5.4 with the GNOME desktop. I use NoMachine's NX client to connect to the VM from my Windows XP workstation. Thanks. Tony |
You need to run make install with sudo -- i.e. do
Code:
sudo make install |
Quote:
Code:
su - |
Is there no binary package for your distribution? I have debian, and I just looked in synaptic and see that I have gsl installed (I'm not even sure why, guess it was a dependency of something I installed)
|
Quote:
Code:
yum install gsl-devel |
Oops -- didn't notice that you were on CentOS. But as I said, the primary reason is that you don't have permissions to install there. But as tiemen3r said -- unless you are trying to build and install a development version, you should just install the package via your package management tool.
|
All times are GMT -5. The time now is 08:30 AM. |