[英]how to install xgap in ubuntu linux
当我尝试在 linux 的终端中安装 xgap 时,步骤 ((make)) 中出现错误,如下所示:
root@heino-VirtualBox:~/Downloads/xgap-4.30# make
( cd bin/x86_64-unknown-linux-gnu-gcc ; make CC=gcc )
make[1]: Verzeichnis „/home/heino/Downloads/xgap-4.30/bin/x86_64-unknown-linux-gnu-gcc“ wird betreten
gcc -I. -g -O2 -o xcmds.o -c ../../src.x11/xcmds.c
In file included from ../../src.x11/xcmds.c:9:0:
../../src.x11/utils.h:134:13: **fatal error: X11/StringDefs.h: Datei oder Verzeichnis nicht gefunden
#include <X11/StringDefs.h>**
compilation terminated.
Makefile:31: recipe for target 'xcmds.o' failed
make[1]: *** [xcmds.o] Error 1
make[1]: Verzeichnis „/home/heino/Downloads/xgap-4.30/bin/x86_64-unknown-linux-gnu-gcc“ wird verlassen
Makefile:47: recipe for target 'compile' failed
make: *** [compile] Error 2
那我现在该怎么办? 然后我应该写哪个命令来安装启动脚本? 非常感谢!
编辑:突出显示
(另请参考之前的xgap问题How to install xgap 4.30 in Ubuntu using the terminal? by @Elias )。
致命错误:X11/StringDefs.h:Datei oder Verzeichnis nicht gefunden
搜索文件:
$ sudo apt install apt-file
$ apt-file update
$ apt-file search StringDefs.h
安装库: $ apt install libxt-dev
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.