Post date: 2017/08/30 13:51:54
xというか、Wine。
普通に apt-get install wineすると以下のエラー
The following packages have unmet dependencies:
wine : Depends: wine1.6 but it is not going to be installed
apt-get install wine1.6だと、
Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu14.2) but it is not installable
E: Unable to correct problems, you have held broken packages
apt-get install -f すればよいという説もあるが、WineHQにあった情報にしたがい以下で入れた:
dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/Release.key
apt-key add Release.key
apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
apt-get update
apt-get install --install-recommends winehq-stable
注意: apt-add-repositoryコマンドが無いといわれる場合は:
apt-get install software-properties-common
alta自体は、alta_env_linuxのrecipeで動いた。
qt-4は、systemのものを使い、qtbindings (4.8.6.2)で動いた。
上記のwineで、LTspiceIVもLTspiceXIIも動いた。
2017.11.1追記:
dockerコンテナから実行した時は、apt-get install wget software-properties-common apt-transport-https
が必要だった。700Mega Byte必要と表示された!
2017.10.7にALTAを動かそうとしたが、qtbindingsがインストールされてない、cmakeも入ってないという状態なので、
本当にalta_env_linuxのrecipeで入ったのか不明。apt-get install qt4-default を実行後、bundle updateでqtbindingsは入ったが、
以下のライブラリをインストールする必要があった。
apt-get install libqtruby4shared2
apt-get install libsmokeqtxml4-3
apt-get install libsmokeqtopengl4-3
apt-get install libsmokeqtsql.so.3
apt-get install libsmokeqtsql4-3
apt-get install libsmokeqtnetwork4-3
apt-get install libsmokeqtdbus4-3
apt-get install libsmokeqtsvg4-3
また、require 'github_api'が、uninitialized constant Github::VERSIONのエラーになるので、とりあえずコメントアウトしたらaltaは動いた。