安装atk时, ./configure 成功,但make时却有以下错误
2008-11-25 23:24
337 查看
错误如下:
make
make all-recursive
make[1]: Entering directory `/root/System_Sources/atk-1.9.0'
Making all in atk
make[2]: Entering directory `/root/System_Sources/atk-1.9.0/atk'
glib-genmarshal --prefix=atk_marshal ./atkmarshal.list --header >> xgen-gmh \
&& (cmp -s xgen-gmh atkmarshal.h || cp xgen-gmh atkmarshal.h) \
&& rm -f xgen-gmh xgen-gmh~ \
&& echo timestamp > stamp-atkmarshal.h
/bin/sh: glib-genmarshal: command not found
make[2]: *** [stamp-atkmarshal.h] 错误 127
make[2]: Leaving directory `/root/System_Sources/atk-1.9.0/atk'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/System_Sources/atk-1.9.0'
make: *** [all] 错误 2
执行:
export PATH=/opt/gtk/bin:$PATH
make 成功
原因:glib-genmarshal: command not found
方法:在系统当中搜索该文件位于:/opt/gtk/bin目录下。系统找不到,是因为环境变量没有设置到位。设置环镜变量:export PATH=/opt/gtk/bin:$PATH,即可找到该命令,执行通过。
搜索文件方法及设置环境变量相关内容请参考本博其它文章。
make
make all-recursive
make[1]: Entering directory `/root/System_Sources/atk-1.9.0'
Making all in atk
make[2]: Entering directory `/root/System_Sources/atk-1.9.0/atk'
glib-genmarshal --prefix=atk_marshal ./atkmarshal.list --header >> xgen-gmh \
&& (cmp -s xgen-gmh atkmarshal.h || cp xgen-gmh atkmarshal.h) \
&& rm -f xgen-gmh xgen-gmh~ \
&& echo timestamp > stamp-atkmarshal.h
/bin/sh: glib-genmarshal: command not found
make[2]: *** [stamp-atkmarshal.h] 错误 127
make[2]: Leaving directory `/root/System_Sources/atk-1.9.0/atk'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/System_Sources/atk-1.9.0'
make: *** [all] 错误 2
执行:
export PATH=/opt/gtk/bin:$PATH
make 成功
原因:glib-genmarshal: command not found
方法:在系统当中搜索该文件位于:/opt/gtk/bin目录下。系统找不到,是因为环境变量没有设置到位。设置环镜变量:export PATH=/opt/gtk/bin:$PATH,即可找到该命令,执行通过。
搜索文件方法及设置环境变量相关内容请参考本博其它文章。
相关文章推荐
- linux/centos安装nginx常见错误及解决办法【make错误,需要yum -y install openssl openssl-devel或者自己下载然后重新./configure】
- 安装keepalive错误:configure: error: No SO_MARK declaration in headers
- Linux中./configure&&make&&make install编译安装和卸载
- HXSafeGuard工程通过VS2010编译未安装VS2008出现以下错误
- Linux编译安装中configure、make和make install各自的作用
- 服务器用U盘虚拟光驱装系统,有做RAID5,加载RAID驱动成功后,安装到最后会报“windows无法确定此计算机是否包含有效系统卷”错误
- linux套件安装过程中configure,make,make install的作用
- 内核模块安装错误:ln: 目标 ”TECHNOLOGY/source“ 不是目录 make: *** [_modinst_] 错误 1
- 安装ipvsadm 用make编译出现错误解决方法
- 虚拟机无法安装成功,MSI错误
- svn安装报错:make: *** [subversion/svn/svn] 错误 1
- Linux编译安装中configure、make和make install各自的作用
- Keepalived安装错误一例(make错误) 1.2.2
- 在Linux下安装PHP过程中,编译时出现configure: error: libjpeg.(a|so) not found 错误的解决办法
- MySQL安装成功之后启动错误 3534、28000和简单使用
- Ubuntu 安装 QT;常见错误的解决;When executing step 'Make' ;cannot find -lgl
- 安装好的IIS,发布成功后打开网站出现错误
- Zimbra安装成功后,邮件发送失败!!急!!发生错误 (mail.TRY_AGAIN),原因不详。
- Keepalived安装错误一例(make错误)解决方法
- Linux ./configure && make && make install 编译安装和卸载