From: Denis D. <dav...@gm...> - 2017-02-22 12:51:27
|
Apparently, the issue also appears on Ubuntu 16.04.2 with gcc@5.4.0. So it looks like it’s not related to macOS and/or apple’s Clang or headers. Below is the error with the invocation line. Although it could indeed be due to some issues with ncurses, at the moment I don’t see any indication that this is the case. That is because ncurses is used (inderectly) in many other packages (cmake, boost, etc) and everything builds fine and runs ok. Is there anything one could further investigate here? Maybe some configure flag has to be added to Gnuplot? Regards, Denis. — Ubuntu 16 error: — /home/user/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../term -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/libcerf-1.3-zbysaujg5zsfa4op6qurbu66krzft5hm/include -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/readline-6.3-euvtc2mudxd437l3g24iwjedqatmb7yp/include -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/harfbuzz-0.9.37-jmiy6shpek5qiyhiagh7mozmy6gaenxu/include/harfbuzz -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/pango-1.40.3-o25yd7z6epplaaewkbsx7qqsiomwz7jd/include/pango-1.0 -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/pixman-0.34.0-ebom3x2wc73nw63fcl2wjjtzittk3jm6/include/pixman-1 -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/pcre-8.39-vw6umqx3bve2jjiv3scfypbcrgzzageq/include -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/glib-2.49.7-qmtzivbdepe44qcxkv26mzvzaquk2njy/include/glib-2.0 -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/glib-2.49.7-qmtzivbdepe44qcxkv26mzvzaquk2njy/lib/glib-2.0/include -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/libxml2-2.9.4-4m6dx6fnyxgd4yriqxrzq6tmf6lpi2tk/include/libxml2 -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/zlib-1.2.11-zn23nl6w64spjwau3vgkaqp4f4vi2uba/include -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/libpng-1.6.27-pey6g7av2vicmu3ap4imiu2wau4ylttk/include/libpng16 -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/freetype-2.7-d6pxg3prhr7bu6whu6622632nlq6a5yb/include/freetype2 -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/fontconfig-2.11.1-urjozsfnjxo4wbr42lykqepkffz53dt6/include -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/zlib-1.2.11-zn23nl6w64spjwau3vgkaqp4f4vi2uba/include -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/libpng-1.6.27-pey6g7av2vicmu3ap4imiu2wau4ylttk/include/libpng16 -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/freetype-2.7-d6pxg3prhr7bu6whu6622632nlq6a5yb/include/freetype2 -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/libxml2-2.9.4-4m6dx6fnyxgd4yriqxrzq6tmf6lpi2tk/include/libxml2 -I/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/cairo-1.14.8-5dnv7ujnucheotmu6nle257k3i3udy5n/include/cairo -g -O2 -c -o doc2rnh.o doc2rnh.c In file included from /usr/include/termios.h:39:0, from /home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/ncurses-6.0-edxtvp6xypxklibesnv2z5gstx3rat7a/include/term.h:86, from doc2x.h:72, from checkdoc.c:58: /usr/include/x86_64-linux-gnu/bits/termios.h:23:1: error: expected expression before ‘typedef’ typedef unsigned char cc_t; ^ — Configure args: —— '/home/user/spack/var/spack/stage/gnuplot-5.0.5-bjpzudnr6jw6iogpyctzqwe6ye6djuhw/gnuplot-5.0.5/configure' '--prefix=/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/gnuplot-5.0.5-bjpzudnr6jw6iogpyctzqwe6ye6djuhw' '--prefix=/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/gnuplot-5.0.5-bjpzudnr6jw6iogpyctzqwe6ye6djuhw' '--disable-dependency-tracking' '--disable-silent-rules' '--without-tutorial' '--with-readline=/home/user/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/readline-6.3-euvtc2mudxd437l3g24iwjedqatmb7yp' '--without-bitmap-terminals' '--with-x' '--disable-wxwidgets' '--without-gd' '--without-pdf' '--with-qt=no' '--without-lua' '--without-latex' '--without-aquaterm' |