LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-16-2010, 03:45 PM   #1
tony_lincon
LQ Newbie
 
Registered: Jun 2010
Posts: 7

Rep: Reputation: 0
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
 
Old 06-16-2010, 04:43 PM   #2
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 365
Blog Entries: 1

Rep: Reputation: 44
You need to run make install with sudo -- i.e. do
Code:
sudo make install
You don't have permissions to write to the /usr directory.

Last edited by jrtayloriv; 06-16-2010 at 04:45 PM.
 
Old 06-17-2010, 07:42 PM   #3
tiemen3r
LQ Newbie
 
Registered: Jun 2010
Location: Amsterdam
Distribution: CentOS, Debian
Posts: 15

Rep: Reputation: 1
Quote:
Originally Posted by jrtayloriv View Post
You need to run make install with sudo -- i.e. do
Code:
sudo make install
You don't have permissions to write to the /usr directory.
Actually, CentOS does not (like Ubuntu) use sudo by default. Tony, you need to switch to the root user by typing
Code:
su -
then issue make install.
 
Old 06-17-2010, 07:53 PM   #4
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 180

Rep: Reputation: 31
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)
 
Old 06-18-2010, 05:44 AM   #5
tiemen3r
LQ Newbie
 
Registered: Jun 2010
Location: Amsterdam
Distribution: CentOS, Debian
Posts: 15

Rep: Reputation: 1
Quote:
Originally Posted by alan99 View Post
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)
Actually, there is. You can install it by switching to the root user and isuing
Code:
yum install gsl-devel
 
Old 06-18-2010, 03:14 PM   #6
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 365
Blog Entries: 1

Rep: Reputation: 44
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gsl .h files not found ekdya Debian 3 07-21-2006 02:05 AM
configure: error: Qt (>= Qt 3.3 and < 4.0) (library qt-mt) not found jaygee02 Linux - Software 2 05-01-2006 12:59 AM
gsl_sf_coulomb_wave_FG_e in gsl library darknails Programming 0 05-09-2005 11:32 AM
error: Qt (>= Qt 3.0.2) (library qt-mt) not found bogdanf25 Linux - Newbie 16 04-03-2005 03:53 AM
knoda configure error re: qt-mt library not found tr6boy Linux - Software 0 07-12-2004 11:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration