I've run Arch Linux package manager to install sagemath many times before on Linux Manjaro and it never failed to compile before. This is the first time I've seen a compile error. This seems like a packaing issue?
Using
>uname -a
Linux me-pc 4.14.74-1-MANJARO
>cat /etc/*release
Manjaro Linux
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=18.0.0-rc
DISTRIB_CODENAME=Illyria
I select sagemath from AUR using the package manager, click install. I fail with this error
Building sagemath-git...
Cloning into 'sagemath-git'...
==> Making package: sagemath-git 8.4.beta7.r0.ga1bfef8cf3-1 (Sat 13 Oct 2018 08:04:38 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning sage git repo...
....
gcc -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python2.7/site-packages/cysignals -I/usr/include -I/usr/include/python2.7 -I/usr/lib/python2.7/site-packages/numpy/core/include -I/home/me/TMP/sagemath-git/src/sage/src -I/home/me/TMP/sagemath-git/src/sage/src/sage/ext -Ibuild/cythonized -I/usr/include/python2.7 -c build/cythonized/sage/calculus/integration.c -o build/temp.linux-x86_64-2.7/build/cythonized/sage/calculus/integration.o -fno-strict-aliasing -DCYTHON_CLINE_IN_TRACEBACK=1 -DGSL_DISABLE_DEPRECATED -std=c99
build/cythonized/sage/calculus/integration.c:609:10: fatal error: gsl/gsl_cblas.h: No such file or directory
#include "gsl/gsl_cblas.h"
^~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
[ 15/499] gcc -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python2.7/site-packages/cysignals -I/usr/include -I/usr/include/python2.7 -I/usr/lib/python2.7/site-packages/numpy/core/include -I/home/me/TMP/sagemath-git/src/sage/src -I/home/me/TMP/sagemath-git/src/sage/src/sage/ext -Ibuild/cythonized -I/usr/include/python2.7 -c build/cythonized/sage/calculus/interpolation.c -o build/temp.linux-x86_64-2.7/build/cythonized/sage/calculus/interpolation.o -fno-strict-aliasing -DCYTHON_CLINE_IN_TRACEBACK=1 -std=c99
build/cythonized/sage/calculus/interpolation.c:603:10: fatal error: gsl/gsl_interp.h: No such file or directory
#include "gsl/gsl_interp.h"
^~~~~~~~~~~~~~~~~~
compilation terminated.
I've put the complete build log file here https://www.12000.org/tmp/10132018/sage_build_log.txt (this form will not let me attach a plain text file).
I install the Linux system new, and was trying to install sagemath on it.
Posting this here in case someone wants to have a look to see why it failed to compile. It seems to be missing some prerequisites.