13,228
回編集
(→準備) |
(→準備) |
||
| 46行目: | 46行目: | ||
*#: <code>export LD_LIBRARY_PATH="/<libusb-0_1-4のインストールディレクトリ>/lib64:$LD_LIBRARY_PATH"</code> | *#: <code>export LD_LIBRARY_PATH="/<libusb-0_1-4のインストールディレクトリ>/lib64:$LD_LIBRARY_PATH"</code> | ||
*#: <code>export PKG_CONFIG_PATH="/<libusb-0_1-4のインストールディレクトリ>/lib64/pkgconfig:$(pkg-config --variable pc_path pkg-config)"</code> | *#: <code>export PKG_CONFIG_PATH="/<libusb-0_1-4のインストールディレクトリ>/lib64/pkgconfig:$(pkg-config --variable pc_path pkg-config)"</code> | ||
<br> | |||
* libncurses5のインストール | |||
*# [https://invisible-mirror.net/archives/ncurses/ libncurses5の公式Webサイト]にアクセスして、libncurses5のソースコードをダウンロードする。<br>または、<code>wget</code>コマンドを実行して、libncurses5のソースコードをダウンロードする。 | |||
*#: <code>wget https://invisible-mirror.net/archives/ncurses/ncurses-5.x.tar.gz</code> | |||
*# ダウンロードしたファイルを解凍する。 | |||
*#: <code>tar ncurses-5.x.tar.gz</code> | |||
*#: <code>cd ncurses-5.x</code> | |||
*# ビルドディレクトリを作成する。 | |||
*#: <code>mkdir build && cd build</code> | |||
*# libncurses5をビルドおよびインストールする。 | |||
*#: <code>../configure --with-shared --with-normal --with-debug --prefix=<libncurses5のインストールディレクトリ></code> | |||
*#: <code>make -j $(nproc)</code> | |||
*#: <code>make install</code> | |||
*# ~/.profileファイル等に、以下の環境変数を追記する。 | |||
*#: <code>export PATH="/<libncurses5のインストールディレクトリ>/bin:$PATH"</code> | |||
*#: <code>export LD_LIBRARY_PATH="/<libncurses5のインストールディレクトリ>/lib64:/<libncurses5のインストールディレクトリ>/lib:$LD_LIBRARY_PATH"</code> | |||
*#: <code>export PKG_CONFIG_PATH="/<llibncurses5のインストールディレクトリ>/lib64/pkgconfig:$(pkg-config --variable pc_path pkg-config)"</code> | |||
<br><br> | <br><br> | ||