从源代码编译GNU Octave时出错

问题描述 投票:0回答:1
mkdir .build                            && \
cd    .build                            && \
./../configure --prefix=$HOME/my_octave && \ [1]
make -j2                                && \ [2]
make check                              && \
make install

在运行中 使 -j2 我得到的错误是

error: print: error opening file 'extended.tex'
error: called from    print>latex_standalone at line 1029 column 5
    __opengl_print__ at line 214 column 5    
print at line 759 column 16    plotimages at line 109 column 7  
GEN      doc/interpreter/gplot.pdfMakefile:27911: recipe for target `'doc/interpreter/extended.pdf' failedmake[2]: *** [doc/interpreter/extended.pdf] Error `1make[2]: *** Waiting for unfinished jobs....make[2]: Leaving directory `'/home/bhanu/octave/.build'Makefile:26305: recipe for target 'all-recursive' failedmake[1]: *** `[all-recursive] Error 1make[1]: Leaving directory '/home/bhanu/octave/.build'Makefile:9916: 


recipe for target 'all' failedmake: *** [all] Error 2

谁能帮我解决这个错误?我在Ubuntu 18.04系统上运行。

makefile octave gnu tex
1个回答
1
投票

有时构建过程会尝试重建所有的文档。octave-5.2.0.tar.lz 文件,通常的变通办法是

touch AUTHORS BUGS INSTALL.OCTAVE

之间 configure 和第一个 make 在构建树中。

在构建阶段结束时,我只有两个PDF文件

./doc/interpreter/octave.pdf
./doc/liboctave/liboctave.pdf

0
投票

像这样创建名为'extend.tex'的文件。

touch doc/interpreter/extended.tex

你必须在octave.build目录下创建这个文件。

这样做是为了以后出现类似的错误。这样我就成功了。

© www.soinside.com 2019 - 2024. All rights reserved.