Makefile 从源代码生成GNU倍频程时出错
运行make-j2时,我得到的错误如下Makefile 从源代码生成GNU倍频程时出错,makefile,octave,gnu,tex,Makefile,Octave,Gnu,Tex,运行make-j2时,我得到的错误如下 mkdir .build && \ cd .build && \ ./../configure --prefix=$HOME/my_octave && \ [1] make -j2 && \ [2] make check
mkdir .build && \
cd .build && \
./../configure --prefix=$HOME/my_octave && \ [1]
make -j2 && \ [2]
make check && \
make install
有人能帮我解决这个错误吗?我在Ubuntu 18.04系统上运行它 创建名为“extended.tex”的文件,如下所示:
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
您必须在octave/.build/目录中执行此操作
如果将来出现类似的错误,请执行此操作。这种方法对我很有效。有时构建过程会尝试重新构建所有文档。 我是从源
octave-5.2.0.tar.lz
文件和
通常的解决方法只是
touch.OCTAVE安装
在configure
和中的第一个make
之间
建树
在构建阶段结束时,我只有两个PDF
touch doc/interpreter/extended.tex
这听起来很可疑。我可以相信构建是通过这种方式成功完成的,但如果它完全正确,我会感到惊讶。关于所讨论的特定文件,我想用这种方法解决错误会导致生成错误的文档。我最好的猜测是octave不完全支持您尝试执行的源代码外生成。如果源代码内构建成功,那么这将是我最信任的解决方案。也就是说,跳过mkdir
和cd
命令,直接在源目录中运行/configure
和所有make
命令。Octave支持树外构建。您是否先添加了依赖项?(例如,sudo apt构建副倍频程)。还有,你想建立哪个八度音阶?我还没有在我的Makefile中看到类似的带有“extended.tex”的行。。。
./doc/interpreter/octave.pdf
./doc/liboctave/liboctave.pdf