Ask Your Question

error with cmake gsl, fedora-15

asked 2013-09-05 12:15:49 -0600

pascuale gravatar image

updated 2013-09-05 20:01:03 -0600

FranciscoD_ gravatar image

Hello people ! I am a beginner at this, please help !

I have installed some packages, and tested with console that they are already there and updated. I need to cmake but I get errors. It seems that there is some problem with gsl.

Here's what I get :

    -- Could NOT find GALIB (missing:  GALIB_LIBRARY GALIB_INCLUDE_DIR) 
-- GSL using pkgconfig
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- PKGCONFIG() indicates that gsl is not installed (install the package which contains gsl.pc if you want to support this feature)
FindGSL.cmake: gsl-config/pkg-config gsl not found. Please set it manually. GSL_CONFIG=GSL_CONFIG-NOTFOUND
CMake Error at cmake/FindGSL.cmake:174 (MESSAGE):
  GSL required, please specify it's location.
Call Stack (most recent call first):
  CMakeLists.txt:22 (find_package)

-- Configuring incomplete, errors occurred!
CMake Error: Unable to open cache file for save. /home/user/Documents/Folder/folder1/folder2/build/CMakeCache.txt
CMake Error: : System Error: Permission denied

I don't undestand what's the problem, I had done the same thing at another distribution but it seems there is some huge problem with Fedora 15. Can you please help me what I should do with this "obsolete pkgconfig package"?

I am not very familiar with linux, but I will sue it as a tool to do my work.Thank you in advance!

edit retag flag offensive close merge delete


Please update to Fedora 19 and tell us what errors you run into. cmake is a lot more verbose and tells you how to deal with the issue most times.

FranciscoD_ gravatar imageFranciscoD_ ( 2013-09-05 20:08:25 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-09-05 14:21:25 -0600

rheldaemon gravatar image

Have you installed gsl via yum or downloaded and compiled it - the problem is that I dig somehow in the dark as you have posted not much information. Fedora 15 is EOL and for scientific number crunching I suggest you to use CentOS or Scientific Linux as most people use this distributions. However are you able to compile your application via: g++ pkg-config --libs --cflags gsl test.cpp and another try is: but as I wrote I dig at the moment in the dust.

edit flag offensive delete link more

Question Tools


Asked: 2013-09-05 12:15:49 -0600

Seen: 815 times

Last updated: Sep 05 '13