[問題] 試著安裝 stable version 時遇到這個
我想在 RH9 上安裝 pttbbs-stable。
參考 http://opensvn.csie.org/pttbbs/stable/pttbbs/docs/INSTALL
走到第十二步時,遇到下面這個情況。
[bbs@isis ~/pttbbs]$ make BBSHOME=/home/bbs all install
which: no ccache in (//bin://bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin)
"../pttbbs.mk", line 12: warning: Couldn't read shell's output for
"which ccache|sed -e 's/^.*\///'"
which: no ccache in (//bin://bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin)
"../pttbbs.mk", line 12: warning: Couldn't read shell's output for
"which ccache|sed -e 's/^.*\///'"
gcc -O -Os -fstrength-reduce -fthread-jumps -fexpensive-optimizations -Wall
-pipe -DBBSHOME='"/home/bbs"' -I../include -D__OS_MAJOR_VERSION__="2"
-D__OS_MINOR_VERSION__="4" -fomit-frame-pointer -DPTTBBS_UTIL -Os -pipe
-Wall -L/usr/local/lib -lcrypt -lhz -o bbsmail -DUSE_ICONV bbsmail.c
../innbbsd/str_decode.c util_cache.o util_record.o util_passwd.o
util_var.o util_stuff.o util_osdep.o util_args.o util_file.o
../innbbsd/str_decode.c: In function `str_iconv':
../innbbsd/str_decode.c:180: warning: passing arg 2 of `libiconv' from
incompatible pointer type
/tmp/ccO0VY5A.o(.text+0x16f): In function `str_iconv':
: undefined reference to `libiconv_open'
/tmp/ccO0VY5A.o(.text+0x1a4): In function `str_iconv':
: undefined reference to `libiconv'
/tmp/ccO0VY5A.o(.text+0x1dc): In function `str_iconv':
: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
*** Error code 1
Stop.
*** Error code 1
Stop.
請問我該怎麼解決這個問題?
謝謝。^^"
--
╭──────────────────╮╭────────────╮╭─╮
│ 世界正崩毀離析,時間正傾倒頹壞。 ├┴╮http://distract.org/╭┴┤ │
╰─┬────────────────╯ ├──────────┤ ╰┬╯
╰──────────────────╯ ╰──╯
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.166.74.161
※ 編輯: dale 來自: 218.166.74.161 (04/08 10:19)
推
04/08 23:29, , 1F
04/08 23:29, 1F
推
04/09 02:37, , 2F
04/09 02:37, 2F