-
Notifications
You must be signed in to change notification settings - Fork 68
Known installation issues
- If you are having issues with GSL versions linking, please try the following during the configuration step:
./configure CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"
- If you move or delete the source directory after installing CCL, some functions may fail. The source directory contains files needed by CLASS (which is contained within CCL) at run-time.
- If you are planning to compile your own file that calls CCL, then you should add the following to your .bashrc:
export LD_LIBRARY_PATH=/path/to/where/ccl/is/installed/lib:$LD_LIBRARY_PATH
- In some Mac systems, the angpow installation script might fail on the first run with the message
CMake Error: The source directory "CCL/angpow" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
If this happens, try running it a second time.
-
In some Mac systems, depending on the XCode version of the C/C++ compiler, you can get a compilation error. For a proposed solution, see here.
-
If using a
sudo make install
for the C library and attempting to install the developer Python library, it may be necessary to include asudo
for your chosen Python installation. -
If you are building CCL using a conda environment, be mindful of the known issues documented here.
-
For some Mac installs, headers for homebrew have been moved, resulting in an error of
fatal error: 'stdio.h' file not found
while attempting to install CLASS. This can be resolved with the command:sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
, which will install all the required headers into/usr/include
.