我的環境是FreeBSD 11.1
中文環境已經改成UTF-8
照著這個步驟
https://github.com/ptt/pttbbs/blob/master/docs/INSTALL
安裝ptt時,執行make 要安裝的時候之後發生link error如下:
root@X10A:/home/bbs/pttbbs # make OSTYPE=FreeBSD BBSHOME=/home/bbs all
install
===> common (all)
===> common/bbs (all)
Warning: Object directory not changed from original
/usr/home/bbs/pttbbs/common/bbs
===> common/osdep (all)
Warning: Object directory not changed from original
/usr/home/bbs/pttbbs/common/osdep
===> common/sys (all)
Warning: Object directory not changed from original
/usr/home/bbs/pttbbs/common/sys
===> mbbsd (all)
sh ../util/newvers.sh
ccache clang vers.c -o mbbsd admin.o assess.o edit.o xyz.o var.o vote.o
voteboard.o comments.o bbs.o announce.o read.o board.o brc.o mail.o record.o
fav.o captcha.o user.o acl.o register.o passwd.o emaildb.o mbbsd.o io.o
term.o telnet.o nios.o friend.o talk.o ccw.o stuff.o kaede.o convert.o name.o
syspost.o cache.o cal.o menu.o vtuikit.o psb.o more.o pmore.o ordersong.o
angel.o timecap.o chess.o chc.o chc_tab.o ch_go.o ch_gomo.o ch_dark.o
ch_reversi.o ch_conn6.o chicken.o gamble.o screen.o -Os -Wl,