The option for mathmore depends on you having GSL installed on your system or using the builtin version of GSL. If you are not using the CMake build system, it’s recommended that you install GSL with homebrew or similar prior to installing ROOT. Also, unless you really must use an old version of ROOT, it is recommended that you switch to the latest releases, which you can download in binary form for Mac from the website.
Hi! Many thanks for the answer. I am kinf od ‘forced’ to use this root version. I installed gsl through homebrew but still see in the config file that root doesn’t find the gsl libraries
Checking for gsl/gsl_version.h in directory /opt/gsl/include
Checking for gsl-config …
Result: not found
So I guess I will have to change somewhere the directory where root is looking for gsl?
The path to gsl-config should be inside the directory where you installed GSL on your computer. Probably under /usr/local/bin or similar location where homebrew would have it installed.
Ok so I know the directory where gsl was installed by homebrew but what I don’t understand is how to tell root where to look for it? by the way having El Capitan, homebrew told me to install gsllang but looking into the directory I can’t find the gsl-configure file. But maybe I just misunderstood what you mean?
You can tell ROOT by passing -DGSL_CONFIG_EXECUTABLE=<path to gsl-config> to CMake. Sorry for the misinterpretation. If you don’t have the gsl-config script, you may need to install an extra package, like gsl-dev or similar. I’m not too familiar with homebrew, so I don’t know the exact name of the package.
in the end I downloaded the latest gls version which I downloaded from the gnu webpage. I installed it directly in the directory where root is expecting to find it and checking the config.log now root finds the GLS library and therefore allows the installation of MathMore. Homebrew instead alloes me only to install glslang but in a differente directory which then I dod not manage to tell root to look at.