AMH 社区首页
AMH社区 - 开放自由有价值的社区
[求助帖] AMH4.2 在debian6.0上安装失败,请帮忙看看怎么回事 |
|
---|---|
mumao |
mumao 发表于 2016-02-08 16:35:21
我用官方的安装源出错,我又测试了国内的镜像还是安装出错。都是同一个地方。
请帮忙看看是什么地方的问题 [OK] pure-ftpd-1.0.36 install completed. [amh-4.2 Installing] ************************************************** >> [Notice] amh-4.2.tar.gz not found, download now...... --2016-02-08 16:27:46-- http://code.zhuancool.com/amh/amh-4.2.tar.gz?1454920066 Resolving code.zhuancool.com... 120.52.114.181 Connecting to code.zhuancool.com|120.52.114.181|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 114200 (112K) [application/x-gzip] Saving to: “amh-4.2.tar.gz?1454920066” 0K .......... .......... .......... .......... .......... 44% 255K 0s 50K .......... .......... .......... .......... .......... 89% 339K 0s 100K .......... . 100% 11.3M=0.3s 2016-02-08 16:27:47 (324 KB/s) - “amh-4.2.tar.gz?1454920066” saved [114200/114200] tar -xf amh-4.2.tar.gz ing... /home/amh_install//conf/amh.c:8:19: error: stdio.h: No such file or directory /home/amh_install//conf/amh.c:9:20: error: stdlib.h: No such file or directory /home/amh_install//conf/amh.c:10:20: error: string.h: No such file or directory /home/amh_install//conf/amh.c:11:23: error: sys/types.h: No such file or directory /home/amh_install//conf/amh.c:12:20: error: unistd.h: No such file or directory /home/amh_install//conf/amh.c: In function ‘main’: /home/amh_install//conf/amh.c:17: error: ‘FILE’ undeclared (first use in this function) /home/amh_install//conf/amh.c:17: error: (Each undeclared identifier is reported only once /home/amh_install//conf/amh.c:17: error: for each function it appears in.) /home/amh_install//conf/amh.c:17: error: ‘fp’ undeclared (first use in this function) /home/amh_install//conf/amh.c:18: error: ‘uid_t’ undeclared (first use in this function) /home/amh_install//conf/amh.c:18: error: expected ‘;’ before ‘amh_uid’ /home/amh_install//conf/amh.c:19: error: ‘amh_uid’ undeclared (first use in this function) /home/amh_install//conf/amh.c:19: warning: implicit declaration of function ‘getuid’ /home/amh_install//conf/amh.c:23: warning: implicit declaration of function ‘getenv’ /home/amh_install//conf/amh.c:23: warning: initialization makes pointer from integer without a cast /home/amh_install//conf/amh.c:24: warning: initialization makes pointer from integer without a cast /home/amh_install//conf/amh.c:25: warning: implicit declaration of function ‘strcmp’ /home/amh_install//conf/amh.c:69: warning: implicit declaration of function ‘strcpy’ /home/amh_install//conf/amh.c:69: warning: incompatible implicit declaration of built-in function ‘strcpy’ /home/amh_install//conf/amh.c:70: warning: implicit declaration of function ‘strlen’ /home/amh_install//conf/amh.c:70: warning: incompatible implicit declaration of built-in function ‘strlen’ /home/amh_install//conf/amh.c:86: warning: implicit declaration of function ‘strcat’ /home/amh_install//conf/amh.c:86: warning: incompatible implicit declaration of built-in function ‘strcat’ /home/amh_install//conf/amh.c:98: warning: incompatible implicit declaration of built-in function ‘strcat’ /home/amh_install//conf/amh.c:107: warning: incompatible implicit declaration of built-in function ‘strcat’ /home/amh_install//conf/amh.c:114: warning: incompatible implicit declaration of built-in function ‘strcat’ /home/amh_install//conf/amh.c:121: warning: incompatible implicit declaration of built-in function ‘strcat’ /home/amh_install//conf/amh.c:128: warning: incompatible implicit declaration of built-in function ‘strcat’ /home/amh_install//conf/amh.c:135: warning: incompatible implicit declaration of built-in function ‘strcat’ /home/amh_install//conf/amh.c:140: warning: implicit declaration of function ‘exit’ /home/amh_install//conf/amh.c:140: warning: incompatible implicit declaration of built-in function ‘exit’ /home/amh_install//conf/amh.c:144: warning: incompatible implicit declaration of built-in function ‘strcat’ /home/amh_install//conf/amh.c:148: warning: incompatible implicit declaration of built-in function ‘strcat’ /home/amh_install//conf/amh.c:150: error: ‘amh_euid’ undeclared (first use in this function) /home/amh_install//conf/amh.c:150: warning: implicit declaration of function ‘geteuid’ /home/amh_install//conf/amh.c:151: warning: implicit declaration of function ‘sprintf’ /home/amh_install//conf/amh.c:151: warning: incompatible implicit declaration of built-in function ‘sprintf’ /home/amh_install//conf/amh.c:156: warning: implicit declaration of function ‘setreuid’ /home/amh_install//conf/amh.c:157: warning: implicit declaration of function ‘system’ /home/amh_install//conf/amh.c:158: warning: implicit declaration of function ‘fopen’ /home/amh_install//conf/amh.c:161: warning: implicit declaration of function ‘fscanf’ /home/amh_install//conf/amh.c:161: warning: incompatible implicit declaration of built-in function ‘fscanf’ /home/amh_install//conf/amh.c:162: warning: implicit declaration of function ‘fclose’ chmod: cannot access `/bin/amh': No such file or directory ./amh.sh: line 506: /usr/local/mysql/bin/mysql: No such file or directory [OK] amh-4.2 install completed. [ams-1.5.0107-02 Installing] ************************************************** >> [Notice] ams-1.5.0107-02.tar.gz not found, download now...... --2016-02-08 16:27:47-- http://code.zhuancool.com/amh/ams-1.5.0107-02.tar.gz?1454920067 Resolving code.zhuancool.com... 120.52.114.181 Connecting to code.zhuancool.com|120.52.114.181|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 295267 (288K) [application/x-gzip] Saving to: “ams-1.5.0107-02.tar.gz?1454920067” 0K .......... .......... .......... .......... .......... 17% 519K 0s 50K .......... .......... .......... .......... .......... 34% 474K 0s 100K .......... .......... .......... .......... .......... 52% 548K 0s 150K .......... .......... .......... .......... .......... 69% 517K 0s 200K .......... .......... .......... .......... .......... 86% 450K 0s 250K .......... .......... .......... ........ 100% 411K=0.6s 2016-02-08 16:27:48 (485 KB/s) - “ams-1.5.0107-02.tar.gz?1454920067” saved [295267/295267] tar -xf ams-1.5.0107-02.tar.gz ing... [OK] ams-1.5.0107-02 install completed. Sorry, Failed to install AMH Please contact us: http://amysql.com 附件 amh.zip
点赞,加油! (0分)
2016-02-08 16:35:21 1
|