On Tue, Jan 22, 2019 at 10:53 PM Tony Cook <tony@develop-help.com> wrote: > It looks like Configure isn't finding your langinfo.h header. > > There's a couple of options, first, try adding the directory > containing langinfo.h to incpth: > > sh Configure -des -Dsysroot=$SYSROOT -Alibpth="/system/lib /vendor/lib" -Dusedevel -Aincpth=/whereever/it/is > > You may need to add the existing names too: > > sh Configure -des -Dsysroot=$SYSROOT -Alibpth="/system/lib /vendor/lib" -Dusedevel -Dincpth="/data/data/com.termux/files/usr/lib/clang/7.0.1/include /data/data/com.termux/files/usr/include /whereever/it/is" No joy on either of those two, although "make minitest" got further: In file included from locale.c:48: ./perl_langinfo.h:10:13: fatal error: 'langinfo.h' file not found # include <langinfo.h> ^~~~~~~~~~~~ 1 error generated. make: *** [makefile:245: locale.o] Error 1 The preprocessor check needed "-I/data/data/com.termux/files/usr/include/libandroid-support" to succeed, and then adding that path to locincpth instead of incpth was enough to build miniperl: sh Configure -des -Dsysroot=$SYSROOT -Alibpth="/system/lib /vendor/lib" -Dusedevel -Alocincpth=/data/data/com.termux/files/usr/include/libandroid-support Is that enough? Or should the path be added to BOTH locincpth and incpth? Many thanks for the help so far. I'll try a full build later this week.Thread Previous | Thread Next