我已经chemtool-1.6.14.tar.gz
从这里。然后我将其内容解压到目录中:/home/fusion809/Downloads/chemtool-1.6.14
然后我打开终端,cd 到这个目录,运行./configure
(没有错误),然后make
从终端运行并收到此输出:
make all-recursive
make[1]: Entering directory `/home/fusion809/Downloads/chemtool-1.6.14'
Making all in m4
make[2]: Entering directory `/home/fusion809/Downloads/chemtool-1.6.14/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/fusion809/Downloads/chemtool-1.6.14/m4'
Making all in po
make[2]: Entering directory `/home/fusion809/Downloads/chemtool-1.6.14/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/fusion809/Downloads/chemtool-1.6.14/po'
Making all in src-cht
make[2]: Entering directory `/home/fusion809/Downloads/chemtool-1.6.14/src-cht'
gcc -g -O2 cht.c -o cht
make[2]: Leaving directory `/home/fusion809/Downloads/chemtool-1.6.14/src-cht'
make[2]: Entering directory `/home/fusion809/Downloads/chemtool-1.6.14'
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c main.c
main.c:18:22: fatal error: gdk/gdkx.h: No such file or directory
#include <gdk/gdkx.h>
^
compilation terminated.
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/fusion809/Downloads/chemtool-1.6.14'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fusion809/Downloads/chemtool-1.6.14'
make: *** [all] Error 2
我该如何度过这一难关?