Linux 在BLFS中构建textlive源
我正在尝试在BLFS中构建texlive源代码(从零开始超越Linux) 即使我已经安装了所有的软件包,我也会遇到以下错误 正在检查请求的系统libpaper库。。。失败 正在检查请求的系统libpng库。。。失败 正在检查请求的系统freetype2库。。。失败 正在检查请求的系统pixman库。。。失败 正在检查请求的系统库。。。失败 正在检查请求的系统gmp库。。。失败Linux 在BLFS中构建textlive源,linux,makefile,linux-from-scratch,Linux,Makefile,Linux From Scratch,我正在尝试在BLFS中构建texlive源代码(从零开始超越Linux) 即使我已经安装了所有的软件包,我也会遇到以下错误 正在检查请求的系统libpaper库。。。失败 正在检查请求的系统libpng库。。。失败 正在检查请求的系统freetype2库。。。失败 正在检查请求的系统pixman库。。。失败 正在检查请求的系统库。。。失败 正在检查请求的系统gmp库。。。失败 正在检查请求的系统mpfr库。。。失败 正在检查请求的系统库。。。失败 正在检查请求的系统xpdf库。。。失败 正在检查
正在检查请求的系统mpfr库。。。失败
正在检查请求的系统库。。。失败
正在检查请求的系统xpdf库。。。失败
正在检查请求的系统graphite2库。。。失败
正在检查请求的系统icu库。。。失败
正在检查请求的系统harfbuzz库。。。失败
配置:错误:某些请求的系统库失败
任何帮助都将不胜感激。如本书所述,
freetype
、harfbuzz
和graphite2
之间存在循环依赖问题
因此,首先构建(如本书所述)
harfbuzz
freetype
graphite2
--with-graphite2=yes
标志添加到配置
行中,freetype
将自动检测,但graphite2不会,因此添加标志
(-with-graphite2=yes)harfbuzz
freetype
graphite2
然后回到编译
texlive
这个问题与StackOverflow定义的编程无关。它可能更适合于相关站点(Unix和Linux)。考虑在q的底部使用<代码>标志<代码>链接,并请主持人移动它。请不要在两个不同的网站上发布相同的Q。谢谢,祝你好运。或者你可以在这里删除它,然后在Unix和Linux SE上发布。这样可以节省主持人的时间:)
export TEXARCH=$(uname -m | sed -e s/i.86/i386/ -e s/$/-linux/) &&
mkdir texlive-build &&
cd texlive-build &&
../configure \
--prefix=/opt/texlive/2015 \
--bindir=/opt/texlive/2015/bin/$TEXARCH \
--datarootdir=/opt/texlive/2015 \
--includedir=/opt/texlive/2015/include \
--infodir=/opt/texlive/2015/texmf-dist/doc/info \
--libdir=/opt/texlive/2015/lib \
--mandir=/opt/texlive/2015/texmf-dist/doc/man \
--disable-native-texlive-build \
--disable-static --enable-shared \
--with-system-cairo \
--with-system-fontconfig \
--with-system-freetype2 \
--with-system-gmp \
--with-system-graphite2 \
--with-system-harfbuzz \
--with-system-icu \
--with-system-libgs \
--with-system-libpaper \
--with-system-libpng \
--with-system-mpfr \
--with-system-pixman \
--with-system-poppler \
--with-system-xpdf \
--with-system-zlib \
--with-banner-add= - BLFS &&
make