我想构建AsciiAsciiRevolution所以我检查了它并输入make
$ make
rebuild AAR.d -oqobj -I~/tango/ -Iycurses/modules -L-lncursesw -dc=ldc-posix-tango -version=Tango
/bin/sh: 1: rebuild: not found
嗯?什么是重建?
$ ls
AAR.d asciiSprite.d graphics levels.txt README util
animatedAsciiSprite.d backupDancer.d input.d Makefile selectScreen.d warningBar.d
arrow_charts dancingMan.d level.d music sounds ycurses
arrowSection.d dataScore.d levelScreen.d narwhal.d types.d
这……这就是我听说过的那个神秘的D语言吗?
$ cat Makefile
all:
rebuild AAR.d -oqobj -I~/tango/ -Iycurses/modules -L-lncursesw -dc=ldc-posix-tango -version=Tango
james:
drebuild AAR.d -oqobj -I/usr/include/d/ldc -Iycurses/modules -L-lncursesw -dc=ldc-posix-tango -version=Tango -I~/repos/tango
clean:
rm AAR obj/*.o
好的,我只需要安装rebuild
和drebuild
!
$ sudo apt-get install rebuild drebuild
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package rebuild
此时我尝试apt-cache search rebuild
了,但似乎没有任何相关内容dlang
。什么是rebuild
,以及如何使用apt-get
or安装它yum
?