错误如下:
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,即可找到该命令,执行通过。
搜索文件方法及设置环境变量相关内容请参考本博其它文章。
转载于:https://blog.51cto.com/huangbao/152688