Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 在BLFS中构建textlive源_Linux_Makefile_Linux From Scratch - Fatal编程技术网

Linux 在BLFS中构建textlive源

Linux 在BLFS中构建textlive源,linux,makefile,linux-from-scratch,Linux,Makefile,Linux From Scratch,我正在尝试在BLFS中构建texlive源代码(从零开始超越Linux) 即使我已经安装了所有的软件包,我也会遇到以下错误 正在检查请求的系统libpaper库。。。失败 正在检查请求的系统libpng库。。。失败 正在检查请求的系统freetype2库。。。失败 正在检查请求的系统pixman库。。。失败 正在检查请求的系统库。。。失败 正在检查请求的系统gmp库。。。失败 正在检查请求的系统mpfr库。。。失败 正在检查请求的系统库。。。失败 正在检查请求的系统xpdf库。。。失败 正在检查

我正在尝试在BLFS中构建texlive源代码(从零开始超越Linux)

即使我已经安装了所有的软件包,我也会遇到以下错误

正在检查请求的系统libpaper库。。。失败 正在检查请求的系统libpng库。。。失败 正在检查请求的系统freetype2库。。。失败 正在检查请求的系统pixman库。。。失败 正在检查请求的系统库。。。失败 正在检查请求的系统gmp库。。。失败
正在检查请求的系统mpfr库。。。失败
正在检查请求的系统库。。。失败
正在检查请求的系统xpdf库。。。失败
正在检查请求的系统graphite2库。。。失败
正在检查请求的系统icu库。。。失败
正在检查请求的系统harfbuzz库。。。失败
配置:错误:某些请求的系统库失败


任何帮助都将不胜感激。

如本书所述,
freetype
harfbuzz
graphite2
之间存在循环依赖问题

因此,首先构建(如本书所述)

  • harfbuzz
然后构建另外两个库

  • freetype
  • graphite2
现在有了三个,重新构建第一个(harfbuzz),但确保将
--with-graphite2=yes
标志添加到
配置
行中,
freetype
将自动检测,但graphite2不会,因此添加标志

  • harfbuzz
    (-with-graphite2=yes)
最后重建另外两个库以确保

  • 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