免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4989 | 回复: 3
打印 上一主题 下一主题

装gftp , 提示glib错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-04-26 13:53 |只看该作者 |倒序浏览
我用的是fc12, 从http://download.chinaunix.net/download/0004000/3694.shtml  下载了gftp ,
执行 ./configure时最后提示:
.......
hecking for grantpt... yes
checking for openpty... no
checking for getdtablesize... yes
checking for union semun... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... no
checking for glib-config... no
checking for GLIB - version >= 1.2.3... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: gFTP needs GLIB 1.2.3 or higher

装glib吧  (已经装好了嘛)
[root@localhost gftp-2.0.19]# yum install glib
已加载插件:presto, refresh-packagekit
设置安装进程
包 1:glib-1.2.10-33.fc12.i686 已安装并且是最新版本
无须任何处理
[root@localhost gftp-2.0.19]#

glib相关的好像也装不多了嘛
root@localhost gftp-2.0.19]# rpm -qa|grep glib
poppler-glib-0.12.4-2.fc12.i686
telepathy-glib-0.9.0-1.fc12.i686
glibmm24-2.22.1-1.fc12.i686
glibc-headers-2.11.1-4.i686
avahi-glib-0.6.25-5.fc12.i686
PackageKit-glib-0.5.7-2.fc12.i686
glib-1.2.10-33.fc12.i686
NetworkManager-glib-0.8.0-6.git20100408.fc12.i686
ndesk-dbus-glib-0.4.1-8.fc12.i686
pulseaudio-libs-glib2-0.9.21-5.fc12.i686
glibc-common-2.11.1-4.i686
glib2-2.22.5-1.fc12.i686
glibc-devel-2.11.1-4.i686
taglib-1.6.1-2.fc12.i686
glibc-2.11.1-4.i686
dbus-glib-0.82-2.fc12.i686
[root@localhost gftp-2.0.19]#

管它,先make下再说
[root@localhost gftp-2.0.19]# make
make: *** 没有指明目标并且找不到 makefile。 停止。
[root@localhost gftp-2.0.19]#

然后我就没有办法了,我是新手,请高手们指点下,谢谢先
readme的内容之一:

1.2. How do I install gFTP?
* If you do not want to compile gFTP yourself, you can check my webpage. I have
  DEBs for Debian and RPMs for RedHat available. If you're looking for Solaris
  binaries, check out http://www.sunfreeware.com.
* If you are compiling gFTP yourself, extract the files from the distribution
  with tar -zxvf gftp-<version>.tar.gz
* Go to the gftp-<version> directory and type
  ./configure
  make
  The configure script will generate a Makefile for your machine, and make will
  compile a binary for your machine. By default, when you run configure, it
  will install gFTP with the prefix /usr/local, so the gFTP binary will be /
  usr/local/bin/gftp. You can change this by typing configure --prefix=/usr,
  and it will then install the gFTP binary to /usr/bin/gftp.
* If the compile suceeds without any errors, you can type make install to
  install the binary. This will also copy some necessary files to <install
  prefix>/share/gftp. If you do not have root on your machine to install these
  files, copy the contents of the docs/sample.gftp/ directory to ~/.gftp.
* You may want to glance at the USERS-GUIDE file that comes with this
  distribution. It contains a little bit of information about how to use it.

论坛徽章:
0
2 [报告]
发表于 2010-04-26 14:03 |只看该作者
难道你FC12的光盘里没带gftp?

论坛徽章:
0
3 [报告]
发表于 2010-04-26 17:11 |只看该作者
应该是要指定glib目录

论坛徽章:
0
4 [报告]
发表于 2010-04-26 17:57 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP