compile pftpfxp 需要用到 pthreads library,但是OSX並沒有這東西,因為已經build in Darwin kernel了,所以要修改Makefile之後才能完成compile.
做法如下:
cd ~/Desktop
tar xvzf pftpfxp-v0.11.4mew6.tgz
cd ~/Desktop/pftpfxp-mew/
./configure bsd
vi ~/Desktop/pftpfxp-mew/src/Makefile
找到這一行"LINKFLAGS = -pthread -lpanel -lncurses"
然後把-pthread拿掉
make static 或是 make dynamic
ref :
http://www.macosxhints.com/article.php?story=20040413105107877
No comments:
Post a Comment