[[email protected] /usr/local/src/cmatrix-1.2a]$ tar xf cmatrix-1.2a.tar.gz
[[email protected]/usr/local/src/cmatrix-1.2a]$ cd cmatrix-11.2a]$ yum install ncurses-devel
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speedsfromcached hostfile* base: centos.ustc.edu.cn*epel: mirror.premi.st*extras: centos.ustc.edu.cn*updates: ftp.sjtu.edu.cn
Setting up Install Process
Package ncurses-devel-5.7-4.20090207.el6.x86_64 already installed and latest version
Nothing todo1.2a]$ ./configure && make &&make install
loading cache ./config.cache
checkingfor a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environmentissane... yes
checking whether make sets ${MAKE}... (cached) yes
checkingforworking aclocal... missing
checkingforworking autoconf... missing
checkingforworking automake... missing
checkingforworking autoheader... missing
checkingforworking makeinfo... missing
checkingforgcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc )is a cross-compiler... no
checking whether we areusingGNU C... (cached) yes
checking whether gcc accepts-g... (cached) yes
checkingfor a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checkingfor main in -lncurses... (cached) yes
checking how to run the C preprocessor... (cached) gcc-E
checkingforANSI C header files... (cached) yes
checkingforfcntl.h... (cached) yes
checkingfor sys/ioctl.h... (cached) yes
checkingforunistd.h... (cached) yes
checkingfortermios.h... (cached) yes
checkingfortermio.h... (cached) yes
checkingreturn type of signal handlers... (cached) voidcheckingforputenv... (cached) yes
checkingforcurses.h... (cached) yes
checkingforncurses.h... (cached) yes
checkingfor tgetent in -lncurses... (cached) yes
Using ncursesasthe termcap library
checkingfor use_default_colors in -lncurses... (cached) yes
checkingfor resizeterm in -lncurses... (cached) yes
checkingfor wresize in -lncurses... (cached) yes
checkingforconsolechars... (cached) no
checkingfor setfont... (cached) /bin/setfont
checkingfor /usr/lib/kbd/consolefonts... (cached) no
checkingfor /usr/share/consolefonts... (cached) no
configure: warning:*** You do not appear to have a consolefonts directory ina standard location*** (/usr/lib/kbd or /usr/share), even though you appear to have the*** consolechars and/or setfont command. The matrix font forthe console***will not be installed. This means you will not be able to use the*** matrix console font (and the -l command line switch) unless the font*** is located inyour current directory when you run CMatrix.
checkingfor mkfontdir... (cached) /usr/bin/mkfontdir
checkingfor /usr/lib/X11/fonts/misc... (cached) no
checkingfor /usr/X11R6/lib/X11/fonts/misc... (cached) no
configure: warning:*** You do not appear to have an X window fonts directory inthe standard*** locations (/usr/lib/X11/fonts/misc or /usr/X11R6/lib/X11/fonts/misc). The***mtx.pcf font will not be installed. This means you will probably not*** be able to use the mtx fonts inyour x terminals, and hence be unable*** to use the -x command line switch. Sorry about that...
creating ./config.status
creating Makefile
creating cmatrix.spec
creating config.h
config.hisunchanged
gcc-DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -Wno-comment -c cmatrix.c
gcc-g -O2 -Wall -Wno-comment -o cmatrix cmatrix.o -lncurses -lncurses
make[1]: Entering directory `/usr/local/src/cmatrix-1.2a‘/bin/sh ./mkinstalldirs /usr/local/bin/usr/bin/install -c cmatrix /usr/local/bin/cmatrix
make install-man1
make[2]: Entering directory `/usr/local/src/cmatrix-1.2a‘/bin/sh ./mkinstalldirs /usr/local/man/man1/usr/bin/install -c -m 644 ./cmatrix.1 /usr/local/man/man1/cmatrix.1make[2]: Leaving directory `/usr/local/src/cmatrix-1.2a‘make[1]: Leaving directory `/usr/local/src/cmatrix-1.2a‘[[email protected] /usr/local/src/cmatrix-1.2a]$ ./configure && make &&make install
loading cache ./config.cache
checkingfor a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environmentissane... yes
checking whether make sets ${MAKE}... (cached) yes
checkingforworking aclocal... missing
checkingforworking autoconf... missing
checkingforworking automake... missing
checkingforworking autoheader... missing
checkingforworking makeinfo... missing
checkingforgcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc )is a cross-compiler... no
checking whether we areusingGNU C... (cached) yes
checking whether gcc accepts-g... (cached) yes
checkingfor a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checkingfor main in -lncurses... (cached) yes
checking how to run the C preprocessor... (cached) gcc-E
checkingforANSI C header files... (cached) yes
checkingforfcntl.h... (cached) yes
checkingfor sys/ioctl.h... (cached) yes
checkingforunistd.h... (cached) yes
checkingfortermios.h... (cached) yes
checkingfortermio.h... (cached) yes
checkingreturn type of signal handlers... (cached) voidcheckingforputenv... (cached) yes
checkingforcurses.h... (cached) yes
checkingforncurses.h... (cached) yes
checkingfor tgetent in -lncurses... (cached) yes
Using ncursesasthe termcap library
checkingfor use_default_colors in -lncurses... (cached) yes
checkingfor resizeterm in -lncurses... (cached) yes
checkingfor wresize in -lncurses... (cached) yes
checkingforconsolechars... (cached) no
checkingfor setfont... (cached) /bin/setfont
checkingfor /usr/lib/kbd/consolefonts... (cached) no
checkingfor /usr/share/consolefonts... (cached) no
configure: warning:*** You do not appear to have a consolefonts directory ina standard location*** (/usr/lib/kbd or /usr/share), even though you appear to have the*** consolechars and/or setfont command. The matrix font forthe console***will not be installed. This means you will not be able to use the*** matrix console font (and the -l command line switch) unless the font*** is located inyour current directory when you run CMatrix.
checkingfor mkfontdir... (cached) /usr/bin/mkfontdir
checkingfor /usr/lib/X11/fonts/misc... (cached) no
checkingfor /usr/X11R6/lib/X11/fonts/misc... (cached) no
configure: warning:*** You do not appear to have an X window fonts directory inthe standard*** locations (/usr/lib/X11/fonts/misc or /usr/X11R6/lib/X11/fonts/misc). The***mtx.pcf font will not be installed. This means you will probably not*** be able to use the mtx fonts inyour x terminals, and hence be unable*** to use the -x command line switch. Sorry about that...
creating ./config.status
creating Makefile
creating cmatrix.spec
creating config.h
config.hisunchanged
make[1]: Entering directory `/usr/local/src/cmatrix-1.2a‘/bin/sh ./mkinstalldirs /usr/local/bin/usr/bin/install -c cmatrix /usr/local/bin/cmatrix
make install-man1
make[2]: Entering directory `/usr/local/src/cmatrix-1.2a‘/bin/sh ./mkinstalldirs /usr/local/man/man1/usr/bin/install -c -m 644 ./cmatrix.1 /usr/local/man/man1/cmatrix.1make[2]: Leaving directory `/usr/local/src/cmatrix-1.2a‘make[1]: Leaving directory `/usr/local/src/cmatrix-1.2a‘
安装成功
[[email protected] /usr/local/src]$ cmatrix -b -u 3 -C blue