這裏編譯Octave是的,我爲了做嘗試CentOS中7安裝倍頻4.2.1步驟列表(回購版本是3.8.2現在真的老了)錯誤的Centos 7
1) yum update
2) yum-builddep -y octave
3) yum -y install qt-devel mercurial gcc-c++ lapack-devel libtool
4) yum -y install epstool transfig pstoedit qscintilla-devel
(NOTE: First problem was right here as there is NO pstoedit in Centos 7, as far as I know)
5) sudo yum install bzip2-devel atlas-devel libsndfile-devel portaudio-devel GraphicsMagick-c++-devel
6) ln -s /usr/lib64/atlas/libtatlas.so /usr/lib64/libatlas.so (One of the tutorials recommended doing this to fix a place where a library was being searched for or something like that. It seemed harmless enough)
7) wget ftp://ftp.gnu.org/gnu/octave/octave-4.2.1.tar.gz
8) tar-xvf octave-4.2.1.tar.lz
9) cd octave-4.2.1
10) export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
11) ./configure --prefix=/usr/local/octave/versions/4.2.1
12) make -j4
它失敗與此錯誤:
In file included from libgui/src/settings-dialog.cc:31:0:
libgui/src/ui-settings-dialog.h:13:29: fatal error: QtWidgets/QAction: No such file or directory
#include <QtWidgets/QAction>
有沒有人想出這個問題,有一些辦法或解決方案?謝謝
我認爲這意味着調用make而不僅僅是使-j4,對吧? – aarelovich
./configure很好?發現的一切? – Andy
我沒有看到任何問題。我已經按照建議嘗試過,現在還在繼續。所以我不知道,也許這是固定的?我會盡快彙報... – aarelovich