[QScintilla] Problem building Python bindings

Henrik Uggla Henrik.Uggla at kristianstad.se
Mon Aug 12 10:36:56 BST 2019


Hi!

I'm having a bit of problem building the QScintilla Python bindings on Alpine Linux. Here is the make output:


In file included from /usr/include/c++/8.3.0/cstdlib:75,
from /usr/include/c++/8.3.0/bits/stl_algo.h:59,
from /usr/include/c++/8.3.0/algorithm:62,
from /usr/include/QtCore/qglobal.h:142,
from /usr/include/QtCore/qmetatype.h:45,
from /usr/include/QtCore/QMetaType:1,
from sipAPIQsci.h:33,
from sipQsciQList0100QsciStyledText.cpp:24:
/usr/include/fortify/stdlib.h:22:15: fatal error: stdlib.h: No such file or directory
#include_next <stdlib.h>
^~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:632: sipQsciQList0100QsciStyledText.o] Error 1
make: *** [Makefile:47: sub-Qsci-make_first-ordered] Error 2


I get no errors if I change #include_next <stdlib.h> to #include <stdlib.h> in /usr/include/fortify/stdlib.h before I run make. But is there some other way that doesn't involve editing header files?

Regards
/Henrik


More information about the QScintilla mailing list