To use kpathsea we've added: CFLAGS="$CFLAGS -I/opt/texlive/2019/include" \ CXXFLAGS="$CXXFLAGS -I/opt/texlive/2019/include" \
But they are not enough: configure:18489: checking for kpse_init_prog in -lkpathsea configure:18514: gcc -o conftest -O3 -march=native -mtune=icelake-client -pipe -fgraphite-identity -floop-nest-optimize -fipa-pta -falign-functions=32 - I/opt/texlive/2019/include conftest.c -lkpathsea >&5 /usr/bin/ld: cannot find -lkpathsea collect2: error: ld returned 1 exit status Then configure script disables kpathsea. It seems we'll need LDFLAGS="$LDFLAGS -L/opt/texlive/2019/lib" -- Xi Ruoyao <xry...@mengyan1223.wang> School of Aerospace Science and Technology, Xidian University -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page