作者dale (冰城城主)
看板PttCurrent
标题[问题] 试着安装 stable version 时遇到这个
时间Sat Apr 8 10:16:41 2006
我想在 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)
1F:推 Alica:iconv不合... 可能是RH9太旧 换个新一点的Linux distro吧 04/08 23:29
2F:推 dale:呜呜……O_Q 谢谢! 04/09 02:37