Question

I'm trying to install a custom c++ library - Milia http://guaix.fis.ucm.es/projects/milia/wiki

When I run ./configure I get the error

configure: error: Package requirements (gsl) were not met:

No package 'gsl' found

I have GSL installed in the /usr/local directory and it works fine. Not exactly sure why it can't find gsl.

Any ideas?

Was it helpful?

Solution

Based on your comment, the solution of your problem is here (just follow the steps of the updated answer that is written inside the question and adapt the flags to the GSL flags).

PS: if you only want to make Milia work and not fix the fact the dpkg can't find your gsl installation, then you can just update GSL_CFLAGS and GSL_LIBS environment variables. If defined, Milia will use them instead of asking dpkg for the gsl path

Extract from configure file

GSL_CFLAGS C compiler flags for GSL, overriding pkg-config

GSL_LIBS linker flags for GSL, overriding pkg-config

After that, just relax and let Milia show you how dark energy impacts distances and ages in FRWL metric! :)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top