glib linux,如何升级glib呢?

在尝试安装d4x时,遇到了GLIB版本过低的问题。已下载并安装了glib2.4.6,但配置d4x时仍然提示GLIB版本不满足2.4.0的要求。配置日志显示编译或链接失败,可能意味着GLIB安装不正确。需要检查配置步骤和依赖库以确保GLIB正确安装。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

如何升级glib呢?

我下载了glib2.4.6解压

./configure

make

make install

安装完成,但是安装d4x还是提示。

checking for GLIB - version >;= 2.4.0... no

*** Could not run GLIB test program, checking why...

*** The test program failed to compile or link. See the file config.log for the

*** exact error that occured. This usually means GLIB is incorrectly installed.

configure: error: *** GLIB >;= 2.4.0 not installed! ***

安装日志:

This file contains any messages produced by compilers while

running configure, to aid debugging if configure makes a mistake.

It was created by d4x configure 2.5.0final, which was

generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure -libdir=/usr/local/lib

## --------- ##

## Platform. ##

## --------- ##

hostname = art.linux

uname -m = i686

uname -r = 2.4.20-8

uname -s = Linux

uname -v = #1 Thu Mar 13 17:54:28 EST 2003

/usr/bin/uname -p = unknown

/bin/uname -X = unknown

/bin/arch = i686

/usr/bin/arch -k = unknown

/usr/convex/getsysinfo = unknown

hostinfo = unknown

/bin/machine = unknown

/usr/bin/oslevel = unknown

/bin/universe = unknown

PATH: /usr/kerberos/bin

PATH: /usr/local/bin

PATH: /usr/bin

PATH: /bin

PATH: /usr/X11R6/bin

PATH: /home/art/bin

## ----------- ##

## Core tests. ##

## ----------- ##

configure:1418: checking build system type

configure:1436: result: i686-pc-linux-gnu

configure:1444: checking host system type

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值