12,964
回編集
111行目: | 111行目: | ||
# スーパーユーザでインストールしているため、オーナーを一般ユーザに変更する | # スーパーユーザでインストールしているため、オーナーを一般ユーザに変更する | ||
sudo chown -R $USER:$ | sudo chown -R $USER:$(id -gn) <libncurses5のインストールディレクトリ> | ||
# 不要なファイルを削除する | # 不要なファイルを削除する | ||
138行目: | 138行目: | ||
sudo mv \ | sudo mv \ | ||
/usr/lib/pkgconfig/form.pc \ | /usr/lib/pkgconfig/form.pc \ | ||
/usr/lib/pkgconfig/form_g.pc \ | |||
/usr/lib/pkgconfig/menu.pc \ | /usr/lib/pkgconfig/menu.pc \ | ||
/usr/lib/pkgconfig/menu_g.pc \ | |||
/usr/lib/pkgconfig/ncurses.pc \ | |||
/usr/lib/pkgconfig/ncurses_g.pc \ | |||
/usr/lib/pkgconfig/ncurses++.pc \ | /usr/lib/pkgconfig/ncurses++.pc \ | ||
/usr/lib/pkgconfig/panel.pc \ | /usr/lib/pkgconfig/panel.pc \ | ||
/usr/lib/pkgconfig/panel_g.pc \ | |||
/usr/lib/pkgconfig/tic.pc \ | /usr/lib/pkgconfig/tic.pc \ | ||
/usr/lib/pkgconfig/tic_g.pc \ | |||
/usr/lib/pkgconfig/tinfo.pc \ | |||
/usr/lib/pkgconfig/tinfo_g.pc \ | |||
/<libncurses5のインストールディレクトリ>/lib/pkgconfig | /<libncurses5のインストールディレクトリ>/lib/pkgconfig | ||
# スーパーユーザでインストールしているため、オーナーを一般ユーザに変更する | # スーパーユーザでインストールしているため、オーナーを一般ユーザに変更する | ||
sudo chown -R $USER:$ | sudo chown -R $USER:$(id -gn) <libncurses5のインストールディレクトリ> | ||
# 不要なファイルを削除する | # 不要なファイルを削除する | ||
156行目: | 163行目: | ||
CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc" \ | CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc" \ | ||
CXX="/<GCC6.5以前のインストールディレクトリ>/bin/g++" \ | CXX="/<GCC6.5以前のインストールディレクトリ>/bin/g++" \ | ||
--with-shared --with-normal --with-ticlib --with-debug --enable-widec --enable-pc-files \ | --with-shared --with-cxx-shared --with-normal --with-ticlib --with-debug \ | ||
--prefix=<libncurses5のインストールディレクトリ> \ | --without-tests --without-manpages \ | ||
-- | --enable-widec --enable-pc-files \ | ||
--prefix=<libncurses5のインストールディレクトリ> \ | |||
--libdir=/<libncurses5のインストールディレクトリ>/lib64 \ | |||
CPPFLAGS="-P" | CPPFLAGS="-P" | ||
168行目: | 177行目: | ||
CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc" \ | CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc" \ | ||
CXX="/<GCC6.5以前のインストールディレクトリ>/bin/g++" \ | CXX="/<GCC6.5以前のインストールディレクトリ>/bin/g++" \ | ||
--with-shared --with-normal --with-ticlib --with-debug --with-termlib --disable-widec --enable-pc-files \ | --with-shared --with-cxx-shared --with-normal --with-ticlib --with-debug --with-termlib \ | ||
--prefix=<libncurses5のインストールディレクトリ> \ | --without-tests --without-manpages \ | ||
-- | --disable-widec --enable-pc-files \ | ||
--prefix=<libncurses5のインストールディレクトリ> \ | |||
--libdir=/<libncurses5のインストールディレクトリ>/lib64 \ | |||
CPPFLAGS="-P" | CPPFLAGS="-P" | ||