0

我试图在我的 Ubunute 18.04 上安装 JModelica,但我总是得到一个 make 错误。(我已经安装了 python 和 python3 所需的包)

我按照其 userGuide.pdf ( https://jmodelica.org/downloads/UsersGuide.pdf ) 中的安装指南进行操作,直到我不得不安装它。

$ sudo make install

我得到以下错误输出(最后几行):

Makefile:1127: recipe for target 'install-python-packages' failed
make[2]: *** [install-python-packages] Error 1
make[2]: Verzeichnis „/home/user/FMU/jmodelica/JModelica.org/build“ wird verlassen
Makefile:757: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Verzeichnis „/home/user/FMU/jmodelica/JModelica.org/build“ wird verlassen
Makefile:443: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1

编辑: 几乎一切都在建设,但目标:

构建-python-packages

$ sudo make install-python-packages

这会从上面抛出错误。但我无法识别错误的行。

4

1 回答 1

0

也许你可以试试 https://gitlab.com/christiankral/install_jmodelica/blob/master/install_jmodelica.sh

有关更多信息,请参阅讨论: Ubuntu 18.04 上的 JModelica

于 2019-09-12T07:23:03.940 回答