裝cgdb遇到readline找不到 - Linux

By Heather
at 2011-11-08T11:48
at 2011-11-08T11:48
Table of Contents
小弟要安裝cgdb 但在configure時就遇到錯誤
指令:
./configure --prefix=/usr/arton/tools/cgdb-0.0.6
--with-readline=/usr/arton/tools/readline-6.2/lib
錯誤訊息:
....略
checking for tgetent in -lncurses... yes
checking which library has the termcap functions... using libncurses
checking version of installed readline library... 4.3
configure: error: CGDB requires GNU readline 5.1 or greater to link.
If you used --with-readline instead of using the system readline library,
make sure to set the correct readline library on the linker search path
via LD_LIBRARY_PATH or some other facility.
我的ld path
LD_LIBRARY_PATH=/usr/arton/tools/readline-6.2/lib
google說像我上面這樣設定就可以了 不過我設定完還是有錯
http://www.linuxquestions.org/questions/slackware-14/configure-error-443797/
該網頁似乎還有說要執行ldconfig 但我沒有ldconfig的權限
會是這個問題嗎??
--
指令:
./configure --prefix=/usr/arton/tools/cgdb-0.0.6
--with-readline=/usr/arton/tools/readline-6.2/lib
錯誤訊息:
....略
checking for tgetent in -lncurses... yes
checking which library has the termcap functions... using libncurses
checking version of installed readline library... 4.3
configure: error: CGDB requires GNU readline 5.1 or greater to link.
If you used --with-readline instead of using the system readline library,
make sure to set the correct readline library on the linker search path
via LD_LIBRARY_PATH or some other facility.
我的ld path
LD_LIBRARY_PATH=/usr/arton/tools/readline-6.2/lib
google說像我上面這樣設定就可以了 不過我設定完還是有錯
http://www.linuxquestions.org/questions/slackware-14/configure-error-443797/
該網頁似乎還有說要執行ldconfig 但我沒有ldconfig的權限
會是這個問題嗎??
--
Tags:
Linux
All Comments
Related Posts
pdftk 指令處理多檔案

By Todd Johnson
at 2011-11-07T23:22
at 2011-11-07T23:22
快,很小的linux版本選擇?

By Vanessa
at 2011-11-07T22:04
at 2011-11-07T22:04
開機螢幕訊號

By Megan
at 2011-11-07T11:17
at 2011-11-07T11:17
請問怎麼看到第二個ap的pid呢?

By Dinah
at 2011-11-07T10:52
at 2011-11-07T10:52
CentOS with vsFTPd problem?

By David
at 2011-11-07T10:17
at 2011-11-07T10:17