teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

3

誤植の修正

2020/02/27 01:39

投稿

yochun02
yochun02

スコア76

title CHANGED
File without changes
body CHANGED
@@ -20,7 +20,7 @@
20
20
  ...
21
21
 
22
22
  # ~/localにtmuxをインストール
23
- tmux-3.0a$ ./configure --prefix=${HOME}/local LDFLAGS="-L${HOME}/local/lib -L${HOME}/local/include/ncurses -L${home}/local/include" CPPFLAGS="-I${HOME}/local/include -I${HOME}/local/include/ncurses" CFLAGS="-I${HOME}/local/include -I${HOME}/local/nclude/ncurses"
23
+ tmux-3.0a$ ./configure --prefix=${HOME}/local LDFLAGS="-L${HOME}/local/lib -L${HOME}/local/include/ncurses -L${home}/local/include" CPPFLAGS="-I${HOME}/local/include -I${HOME}/local/include/ncurses" CFLAGS="-I${HOME}/local/include -I${HOME}/local/include/ncurses"
24
24
  tmux-3.0a$ make
25
25
  -> make失敗
26
26
  ```

2

リンク追加

2020/02/27 01:39

投稿

yochun02
yochun02

スコア76

title CHANGED
File without changes
body CHANGED
@@ -1,13 +1,11 @@
1
1
  ### 前提
2
- 一般ユーザのローカルディレクトリに、最新のtmuxをインストールしたい。
2
+ 一般ユーザのローカルディレクトリに、最新のtmuxをインストールしたい。(共用サーバのためルートになれない)
3
-
4
3
  ### 現状
5
- [Qiita](https://qiita.com/iitenkida7/items/938a21ce5b5b4f984088)や[LinuxQuestions](https://www.linuxquestions.org/questions/linux-software-2/installing-tmux-from-source-as-non-root-user-857098/)を参考に以下のように手順を踏んだが、参照エラーの解決方法がわからない状態。
4
+ [Qiita](https://qiita.com/iitenkida7/items/938a21ce5b5b4f984088)や[LinuxQuestions](https://www.linuxquestions.org/questions/linux-software-2/installing-tmux-from-source-as-non-root-user-857098/)を参考に以下のように手順を踏んだが、参照エラーの解決方法がわからない状態です
6
5
 
7
6
  **ディレクトリ構成**
8
7
  ~/local -> インストール先
9
8
  ~/tmp -> 作業ディレクトリ(tmux-3.0a、libevent-2.1.11-stable、ncurses-6.2がある)
10
-
11
9
  ```plain
12
10
  # ~/localにlibevent、ncursesをインストール
13
11
  libevent-2.1.11$ ./configure --prefix=${HOME}/local
@@ -28,8 +26,6 @@
28
26
  ```
29
27
 
30
28
  ### エラー内容
31
-
32
-
33
29
  ```plain
34
30
  tty-term.o: In function `tty_term_string1':
35
31
  tty-term.c:(.text+0x1ed): undefined reference to `tparm'
@@ -51,8 +47,9 @@
51
47
  collect2: error: ld returned 1 exit status
52
48
  make: *** [tmux] Error 1
53
49
  ```
50
+ ### 試したこと
51
+ [stackOverFlow](https://superuser.com/questions/829860/undefined-reference-to-b64-ntop-tmux-compilation-error-on-centos/888515)
52
+ に沿ってみたけど解決せず...。どなたかわかる方ご教授お願いいたします。
54
53
 
55
-
56
-
57
54
  ### 補足
58
55
  centOS v7.7

1

誤字

2020/02/26 13:24

投稿

yochun02
yochun02

スコア76

title CHANGED
File without changes
body CHANGED
@@ -23,7 +23,6 @@
23
23
 
24
24
  # ~/localにtmuxをインストール
25
25
  tmux-3.0a$ ./configure --prefix=${HOME}/local LDFLAGS="-L${HOME}/local/lib -L${HOME}/local/include/ncurses -L${home}/local/include" CPPFLAGS="-I${HOME}/local/include -I${HOME}/local/include/ncurses" CFLAGS="-I${HOME}/local/include -I${HOME}/local/nclude/ncurses"
26
-
27
26
  tmux-3.0a$ make
28
27
  -> make失敗
29
28
  ```