I have successfully installed and loaded devtools. Installing camb using library(devtools); install_github("cambDI/camb/camb") produces this error along the line.
removing ‘/usr/local/lib/R/site-library/camb’
Warning message:
In i.p(...) :
installation of package ‘/tmp/Rtmp84ihBD/file46a5a8a4a81/camb_1.0.tar.gz’ had non-zero exit status
Try removing xlocale in the header file src/common/base_cpp/locale_guard.h - it will compile, whether the full functionality is retained is not known at present.
I have successfully installed and loaded devtools. Installing camb using library(devtools); install_github("cambDI/camb/camb") produces this error along the line.
/usr/bin/ld: cannot find -lindigo-static /usr/bin/ld: cannot find -lcommon /usr/bin/ld: cannot find -lmolecule /usr/bin/ld: cannot find -lreaction /usr/bin/ld: cannot find -llayout /usr/bin/ld: cannot find -ltinyxml /usr/bin/ld: cannot find -lgraph /usr/bin/ld: cannot find -lindigo-inchi-static /usr/bin/ld: cannot find -lindigo-renderer-static /usr/bin/ld: cannot find -lpixman /usr/bin/ld: cannot find -lcairo /usr/bin/ld: cannot find -linchi /usr/bin/ld: cannot find -lrender2d /usr/bin/ld: cannot find -lindigo-static /usr/bin/ld: cannot find -lcommon /usr/bin/ld: cannot find -lmolecule /usr/bin/ld: cannot find -lreaction /usr/bin/ld: cannot find -llayout /usr/bin/ld: cannot find -ltinyxml /usr/bin/ld: cannot find -lgraph /usr/bin/ld: cannot find -lindigo-inchi-static /usr/bin/ld: cannot find -lindigo-renderer-static /usr/bin/ld: cannot find -lpixman /usr/bin/ld: cannot find -lcairo /usr/bin/ld: cannot find -linchi /usr/bin/ld: cannot find -lrender2d /usr/bin/ld: cannot find -lindigo-static /usr/bin/ld: cannot find -lcommon /usr/bin/ld: cannot find -lmolecule /usr/bin/ld: cannot find -lreaction /usr/bin/ld: cannot find -llayout /usr/bin/ld: cannot find -ltinyxml /usr/bin/ld: cannot find -lgraph /usr/bin/ld: cannot find -lindigo-inchi-static /usr/bin/ld: cannot find -lindigo-renderer-static /usr/bin/ld: cannot find -lpixman /usr/bin/ld: cannot find -lcairo /usr/bin/ld: cannot find -linchi /usr/bin/ld: cannot find -lrender2d collect2: error: ld returned 1 exit status /usr/share/R/share/make/shlib.mk:10: recipe for target 'camb.so' failed make[1]: [camb.so] Error 1 make[1]: Leaving directory '/tmp/Rtmp2mW6vx/R.INSTALL4c7714ed98e/camb/src' Makefile:6: recipe for target 'all' failed make: [all] Error 1 ERROR: compilation failed for package ‘camb’