M1 Mac + RefBox のメモ ← ダメだった…
[仮想化]Multipassで気軽にUbuntuサーバーを作ったり壊したりするって方法でM1 MACでUbuntuが使えるとのことなので,試してみました.
ただ,競技用のRefBox はFedoraの仮想マシンだから,やっぱりIntel のCPU が必要ですね.
# Brew のインストール /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/kotora/.bash_profile eval "$(/opt/homebrew/bin/brew shellenv)" brew install --cask multipass multipass launch 18.04 --name refbox multipass shell refbox
とりあえずUbuntu 18.04の端末が素早くできました.素晴らしい.
さて,インストールしてみますか.
RefBoxのインストール(2021/04/23版)に従ってみます.
sudo apt-get update sudo apt-get -y upgrade sudo apt-get -y dist-upgrade sudo apt-get install net-tools openssh-server sudo add-apt-repository ppa:timn/clips sudo apt-get -y update sudo apt-get install libmodbus-dev libclips-dev clips libclipsmm-dev \ protobuf-compiler libprotobuf-dev libprotoc-dev \ libboost-all-dev libmodbus-dev \ libglibmm-2.4-dev libgtkmm-3.0-dev \ libncursesw5-dev libyaml-cpp-dev libavahi-client-dev\ libssl-dev libgecode-dev\ lib64ncurses5-dev cmake-curses-gui git
E: Unable to locate package libclips-dev E: Package 'clips' has no installation candidate E: Unable to locate package libclipsmm-dev E: Unable to locate package lib64ncurses5-dev
あっ….CLIPSがIntelしか対応していない….
しまった….無理だ….
もう少しあがいてみるか.
sudo apt-get install build-essential mkdir Downloads cd Downloads wget http://deb.debian.org/debian/pool/main/c/clips/clips_6.30.orig.tar.gz tar xvf clips_6.30.orig.tar.gz cd clips_core_source_630/core cp ../makefiles/makefile.gcc makefile make
コメントを残す