[問題] 裝cgdb遇到readline找不到
小弟要安裝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的權限
會是這個問題嗎??
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 203.192.162.252