标题: 装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
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
提示: 作者被禁止或删除 内容自动屏蔽