Slic3r fails to build on my machine:
Building Slic3r-XS
Processing XS typemap files...
Generating main XS file...
cc -I/usr/lib/perl5/core_perl/CORE -DVERSION="0.01" -DXS_VERSION="0.01" -fPIC -xc++ -D_FILE_OFFSET_BITS=64 -DHAS_BOOL -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -o buildtmp/XS.o buildtmp/XS.c
/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t "/home/dave/BUILD/Slic3r/xs/xsp/typemap.xspt" "/home/dave/BUILD/Slic3r/xs/xsp/Object.xsp": In function 'void XS_Slic3r__Object__XS__ZTable_upper_bound(PerlInterpreter*, CV*)':
/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t "/home/dave/BUILD/Slic3r/xs/xsp/typemap.xspt" "/home/dave/BUILD/Slic3r/xs/xsp/Object.xsp":94:18: error: 'upper_bound' is not a member of 'std'
error building buildtmp/XS.o from 'buildtmp/XS.c' at /usr/share/perl5/core_perl/ExtUtils/CBuilder/Base.pm line 177.
perl:
$ perl -v
This is perl 5, version 18, subversion 0 (v5.18.0) built for x86_64-linux-thread-multi
gcc version 4.8.1 (GCC)
Building Slic3r-XS
Processing XS typemap files...
Generating main XS file...
cc -I/usr/lib/perl5/core_perl/CORE -DVERSION="0.01" -DXS_VERSION="0.01" -fPIC -xc++ -D_FILE_OFFSET_BITS=64 -DHAS_BOOL -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -o buildtmp/XS.o buildtmp/XS.c
/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t "/home/dave/BUILD/Slic3r/xs/xsp/typemap.xspt" "/home/dave/BUILD/Slic3r/xs/xsp/Object.xsp": In function 'void XS_Slic3r__Object__XS__ZTable_upper_bound(PerlInterpreter*, CV*)':
/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t "/home/dave/BUILD/Slic3r/xs/xsp/typemap.xspt" "/home/dave/BUILD/Slic3r/xs/xsp/Object.xsp":94:18: error: 'upper_bound' is not a member of 'std'
error building buildtmp/XS.o from 'buildtmp/XS.c' at /usr/share/perl5/core_perl/ExtUtils/CBuilder/Base.pm line 177.
perl:
$ perl -v
This is perl 5, version 18, subversion 0 (v5.18.0) built for x86_64-linux-thread-multi
gcc version 4.8.1 (GCC)