сделать ошибку при сборке GNU Octave из исходников - PullRequest
0 голосов
/ 26 апреля 2020
mkdir .build                            && \
cd    .build                            && \
./../configure --prefix=$HOME/my_octave && \ [1]
make -j2                                && \ [2]
make check                              && \
make install

Во время работы make -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.

Ответы [ 2 ]

1 голос
/ 28 апреля 2020

Иногда процесс сборки пытается пересобрать всю документацию. Я строю из исходного octave-5.2.0.tar.lz файла, и обычный обходной путь - это просто

touch AUTHORS BUGS INSTALL.OCTAVE

между configure и первым make в дереве сборки.

В конце фазы сборки у меня есть только два файла PDF

./doc/interpreter/octave.pdf
./doc/liboctave/liboctave.pdf
0 голосов
/ 26 апреля 2020

Создайте файл с именем 'extended.tex', например, так:

touch doc/interpreter/extended.tex

Вы должны сделать это в каталоге octave / .build /.

Сделайте это для любых ошибок, подобных это в будущем. У меня так получилось.

...