centos 6.4 用源代码编译的方式安装 gftp
来源:互联网 发布:激光雷达数据 编辑:程序博客网 时间:2024/06/06 02:11
由于centos的yum源中我没有找到gftp,通过 yum install gftp 找不到软件。
所以,决定通过编译源代码的方式安装gftp
./configure 回报错,有两个错误,一个是glib库版本不对,另一个是gtk版本不对,各种yum安装不正确,最后yum install gtk* glib* 解决。
从gftp官网,下载到gftp的源代码,./configure 之后make编译,报错:
pty.c:65:21: error : stropts.h : no such file or dictionary
中文报错:
pty.c:65:21: 错误 : stropts.h : 没有这个文件或目录
解决方法如下:
在/usr/include/目录下,创建一个空的stropts.h文件。
# touch /usr/include/stropts.h
然后重新make源代码,编译成功。
# make install 安装成功
安装完,有以下两个错误:
1. 链接后下载时
550 Failed to open file.
Could not download /第三天 运算 from 192.168.0.42
There were 1 files or directories that could not be transferred. Check the log for which items were not properly transferred.
文件权限问题,该文件不支持下载。
2.
425 Use PORT or PASV first.
选项FTP->Preferences->FTP->Passive file transfers 打勾。
- centos 6.4 用源代码编译的方式安装 gftp
- centos 6.4 安装 gftp
- CentOS源码安装gftp缺失stropts.h
- Centos源代码编译安装PHP
- [Erlang 0004] Centos 源代码编译 安装 Erlang
- [Erlang 0004] Centos 源代码编译 安装 Erlang
- 安装了gftp,ubuntu安装真的好简单
- gftp 安装篇
- centOS 6.4 内核源代码安装
- 源代码的编译与安装
- GFTP
- gFTP
- PHP5.3.3源代码编译安装(Linux CentOS 5.5)
- PHP5.3.3源代码编译安装(Linux CentOS 5.5)
- CentOS 7 使用源代码编译并安装软件
- Centos通过源代码编译安装httpd并启动
- PHP5.3.3源代码编译安装(Linux CentOS 5.5)
- CentOS 6.4内核源代码下载安装
- Java多线程—— synchronized关键字详解
- Web前端基础知识(五)——margin外边距合并
- centos安装gitlab
- 参考资料地址
- 二叉树的递归遍历与非递归遍历
- centos 6.4 用源代码编译的方式安装 gftp
- Tomcat基本使用
- 日期类
- 微信小程序--后端管理平台业务1
- 查看django 是什么版本
- Elasticsearch过滤与聚合的先后顺序java实现
- hdu 6183 Color it(cdq分治)
- GreenDao数据库框架的使用
- MFC 程序开发