On Sunday, March 12, 2017 at 8:38:02 AM UTC, Jeroen Demeyer wrote: > > On 2017-03-12 09:35, Dima Pasechnik wrote: > > X11? > > That can be disabled with --disable-gui >
this does not work, still (here is a slightly weird error I get on OSX (with Sage's gcc 5.4)): g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DYYTEXT_POINTER=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DNO_GUI=1 -DX_DISPLAY_MISSING=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"\" -g -O2 -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -c xwd.cc g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DYYTEXT_POINTER=1 -DHAVE_EXPLICIT_TEMPLATE_INSTANTIATION=1 -DNO_GUI=1 -DX_DISPLAY_MISSING=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBGMP=1 -I. -I. -I../src -I../drawfunc -I../yaccsrc -I../image-formats -I../curve -I../mt -I../draw -I../misc -I../debug -I../xpm -I../dither -DDATADIR=\"\" -g -O2 -fno-rtti -fno-exceptions -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused -Woverloaded-virtual -Wno-deprecated -c jpeg.cc jpeg.cc: In function 'bool write_jpeg_file(byte*, byte*, byte*, int, int, FILE*)': jpeg.cc:59:41: error: cannot convert 'bool' to 'boolean' for argument '3' to 'void jpeg_set_quality(j_compress_ptr, int, boolean)' jpeg_set_quality (&cinfo, quality, true); ^ jpeg.cc:60:35: error: cannot convert 'bool' to 'boolean' for argument '2' to 'void jpeg_start_compress(j_compress_ptr, boolean)' jpeg_start_compress (&cinfo, true); ^ make[1]: *** [jpeg.o] Error 1 make[1]: *** Waiting for unfinished jobs.... xwd.cc:54:22: fatal error: X11/Xlib.h: No such file or directory compilation terminated. make[1]: *** [xwd.o] Error 1 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.