Chinaunix

标题: 装gftp , 提示glib错误 [打印本页]

作者: zjhzdyp    时间: 2010-04-26 13:53
标题: 装gftp , 提示glib错误
我用的是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.
作者: Celinde    时间: 2010-04-26 14:03
难道你FC12的光盘里没带gftp?
作者: linux初学三月    时间: 2010-04-26 17:11
应该是要指定glib目录
作者: xyloveyy    时间: 2010-04-26 17:57
提示: 作者被禁止或删除 内容自动屏蔽




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2