ユーザ用ツール

サイト用ツール


tools:m4:インストール:1.4.18

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
tools:m4:インストール:1.4.18 [2021/01/14 06:20]
michiya
tools:m4:インストール:1.4.18 [2021/01/19 08:38] (現在)
michiya
行 24: 行 24:
 <code> <code>
 #!/bin/bash #!/bin/bash
- 
-if [ $# -ne 2 ]; 
-then 
-    echo "Invalid argument" 
-    echo "arg1 : /path/to/install/" 
-    echo "arg2 : version" 
-    exit 1 
-fi 
  
 ############################################################# #############################################################
-inst_ver=$2 +inst_ver=1.4.18 
-inst_target=$1/${inst_ver}+inst_target=/opt/m4/${inst_ver}
 arch_file="m4-"${inst_ver}".tar.gz" arch_file="m4-"${inst_ver}".tar.gz"
 target_web="https://ftp.gnu.org/pub/gnu/m4/"${arch_file} target_web="https://ftp.gnu.org/pub/gnu/m4/"${arch_file}
 working_dir=$(cd $(dirname $0); pwd)/m4-${inst_ver} working_dir=$(cd $(dirname $0); pwd)/m4-${inst_ver}
 ############################################################# #############################################################
 +
 if [ -d ${inst_target} ]; if [ -d ${inst_target} ];
 then then
行 72: 行 65:
 make install make install
 </code> </code>
 +
 +==== libc 2.27以上の場合うまく動かない ====
 +
 +https://github.com/michiya-lab/m4-1.4.18-libc2.27_or_above
 +\\
 +に修正したものをアップしているため,ダウンロードし,同様の手順でインストールする.
tools/m4/インストール/1.4.18.1610605232.txt.gz · 最終更新: 2021/01/14 06:20 by michiya