|
From: Denis D. <dav...@gm...> - 2017-02-18 22:47:59
|
Dear all, I am building Gnuplot using Spack package manager on macOS and came across this error: Making all in docs /Applications/Xcode.app/Contents/Developer/usr/bin/make all-am /Users/davydden/spack/lib/spack/env/clang/clang -DHAVE_CONFIG_H -I. -I.. -I../src -I../term -I/Users/davydden/spack/opt/spack/darwin-sierra-x86_64/clang-8.0.0-apple/readline-6.3-lc6wbyj2gqw2nvkmixulzlnxgmvmbbo6/include -g -O2 -c -o checkdoc.o checkdoc.c In file included from checkdoc.c:58: In file included from ./doc2x.h:72: In file included from /Users/davydden/spack/opt/spack/darwin-sierra-x86_64/clang-8.0.0-apple/ncurses-6.0-f5ft4ie4brbq44gkyjhr7r42xnfjkhgt/include/term.h:86: In file included from /usr/include/termios.h:27: /usr/include/sys/termios.h:263:1: error: expected expression typedef unsigned long tcflag_t; ^ 1 error generated. The config is minimalistic for now: $ ./configure --prefix=/Users/davydden/spack/opt/spack/darwin-sierra-x86_64/clang-8.0.0-apple/gnuplot-5.0.5-duvihibefbdov3sf33n5w55wrwxf6dax --disable-dependency-tracking --disable-silent-rules --with-readline=/Users/davydden/spack/opt/spack/darwin-sierra-x86_64/clang-8.0.0-apple/readline-6.3-lc6wbyj2gqw2nvkmixulzlnxgmvmbbo6 --without-tutorial --without-bitmap-terminals --without-x --disable-wxwidgets --without-gd --without-cairo --without-pdf --with-qt=no --without-lua --without-latex --without-aquaterm I would appreciate any suggestion on how to make it work. p.s. XCode 8.2.1 and Clang8.0.0 p.p.s. I have a feeling that I came across a similar problem in the past and it was related to some issues in Apple’s system headers. Regards, Denis |