【问题标题】:How to install xgap 4.30 in Ubuntu using the terminal?如何使用终端在 Ubuntu 中安装 xgap 4.30?
【发布时间】:2020-05-19 17:03:30
【问题描述】:

我尝试在终端中安装 xgap,我的系统上已经有 gap 4.10.2。但是我遇到了以下问题:

root@heino-VirtualBox:~/Downloads/xgap-4.30# /home/heino/Schreibtisch/gap-4.30/  
bash: /home/heino/Schreibtisch/gap-4.30/: Datei oder Verzeichnis nicht gefunden  
root@heino-VirtualBox:~/Downloads/xgap-4.30# ./configure --with-gaproot=/home/heino/Schreibtisch  /gap-4.10.2  
checking for make... make  
checking build system type... x86_64-unknown-linux-gnu  
checking host system type... x86_64-unknown-linux-gnu  
checking target system type... x86_64-unknown-linux-gnu  
checking for gcc... gcc    
checking whether the C compiler works... yes  
checking for C compiler default output file name... a.out  
checking for suffix of executables...   
checking whether we are cross compiling... no  
checking for suffix of object files... o  
checking whether we are using the GNU C compiler... yes  
checking whether gcc accepts -g... yes  
checking for gcc option to accept ISO C89...   needed  
checking whether make sets $(MAKE)... yes  
checking for CONFIGNAME... none  
checking for GAP root directory... /home/heino/Schreibtisch/gap-4.10.2  
checking for GAP architecture... x86_64-pc-linux-gnu-default64-kv3  
configure: creating ./config.status  
config.status: creating Makefile  
config.status: error: cannot find input file: `xgap.sh.in'

我是数学系的学生,对 Linux 编程一无所知。如何在 Ubuntu 中安装 xgap4.30 包?

【问题讨论】:

标签: ubuntu installation package gap-system


【解决方案1】:

下载xgap-4.30.tar.gz。现在转到您刚刚下载xgap-4.30.tar.gz 的下载文件夹。现在,打开你的终端广告,按照上面提到的here

  • tar xzvf xgap-4.30.tar.gz
  • cd xgap
  • ./配置
  • 制作

【讨论】:

  • 非常感谢.. 我这样做了,但是当我执行命令时,会出现以下错误:
  • root@heino-VirtualBox:~/Downloads/xgap-4.30# make ( cd bin/x86_64-unknown-linux-gnu-gcc ; make CC=gcc ) make[1]: Verzeichnis „/主页/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 在来自 ../../src.x11/xcmds.c:9:0: ../ 的文件中。 ./src.x11/utils.h:134:13:
  • 致命错误:X11/StringDefs.h: Datei oder Verzeichnis nicht gefunden #include ^~~~~~~~~~~~~~~~~~~ 编译终止。 Makefile:31:目标“xcmds.o”的配方失败 make[1]:*** [xcmds.o] 错误 1 ​​make[1]:Verzeichnis „/home/heino/Downloads/xgap-4.30/bin/x86_64- unknown-linux-gnu-gcc“ wird verlassen Makefile:47: 目标“编译”的配方失败 make: *** [compile] 错误 2
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-10-27
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多