pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: failuers when building ncurses-6.1 on pkgsrc_2019Q4
The root cause is in my distribution, I am using an old version which does not have the necessary C++ function exposed.
The configure's check for g++ failed, but didn't stop there and keep going with CXX set to "".
==================================
configure:2915: g++ -c -O2 -D_FORTIFY_SOURCE=2 conftest.cc >&5
In file included from /opt/tools/gcc7/include/c++/stdlib.h:36:0,
from configure:2903:
/opt/tools/gcc7/include/c++/cstdlib:137:11: error: '::at_quick_exit' has not been declared
using ::at_quick_exit;
^~~~~~~~~~~~~
/opt/tools/gcc7/include/c++/cstdlib:160:11: error: '::quick_exit' has not been declared
using ::quick_exit;
^~~~~~~~~~
configure:2918: $? = 1
configure: failed program was:
#line 2902 "configure"
#include "confdefs.h"
#include <stdlib.h>
int
main (void)
{
exit (42);
;
return 0;
}
configure:2915: g++ -c -O2 -D_FORTIFY_SOURCE=2 conftest.cc >&5
In file included from /opt/tools/gcc7/include/c++/stdlib.h:36:0,
from configure:2903:
/opt/tools/gcc7/include/c++/cstdlib:137:11: error: '::at_quick_exit' has not been declared
using ::at_quick_exit;
^~~~~~~~~~~~~
/opt/tools/gcc7/include/c++/cstdlib:160:11: error: '::quick_exit' has not been declared
using ::quick_exit;
^~~~~~~~~~
configure:2918: $? = 1
configure: failed program was:
Home |
Main Index |
Thread Index |
Old Index