作者angusyu (蒼穹的昕空)
看板PttCurrent
標題[問題] 我真的不會在linux 下make -.-
時間Tue Jul 5 12:56:16 2005
root@bbs:~/trunk/pttbbs# pmake
"Makefile", line 9: Missing dependency operator
pmake: Fatal errors encountered -- cannot continue.
============== makefile =================
SUBDIR= mbbsd util innbbsd
all install clean:
.if !exists(/usr/local/lib/libhz.so) && !exists(/usr/lib/libhz.so)
@echo "sorry, libhz not found."
@echo "above FreeBSD, please install /usr/ports/chinese/autoconvert"
@echo "above Debian/Linux, please install package libhz0"
@exit 1
.endif <---第九行
@for i in $(SUBDIR); do\
cd $$i;\
$(MAKE) $@;\
cd ..;\
done
===========================================
打 pmake -h:
System configuration information:
Directory for system makefiles: /usr/share/mk
System makefile: system.mk
Default shell: Bourne
PMake version 2.1.35
============================================
OS Version: Slackware 10.1.0
裝好 autoconvert-0.3.13 ,順便提一下, 我看到 Makefile 寫:
.if !exists(/usr/local/lib/libhz.so) && !exists(/usr/lib/libhz.so)
可是我裝好autoconvert 其實只有 /usr/lib/libhz.so.0.0 :
root@bbs:~/trunk/pttbbs# ls -l /usr/lib/libhz*
-rwxr-xr-x 1 root root 458588 2005-07-05 12:24 /usr/lib/libhz.a*
lrwxrwxrwx 1 root root 10 2005-07-05 12:24 /usr/lib/libhz.so -> libhz.so.0*
lrwxrwxrwx 1 root root 12 2005-07-05 12:24 /usr/lib/libhz.so.0 -> libhz.so.0.0*
-rwxr-xr-x 1 root root 426086 2005-07-05 12:24 /usr/lib/libhz.so.0.0*
感覺有點難在linux 下使用.. @@a
--
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.166.116.146
→ angusyu:對了.. svn 好像壞了..? 連不進去..218.166.116.146 07/05