LTIB build: cairo-xlib not found when building gtk+

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LTIB build: cairo-xlib not found when building gtk+

跳至解决方案
5,023 次查看
Swamy
Contributor III

Hi,

I am getting below error when building gtk+(2.20.1). I have built successfully all X11 packages and Cairo(1.6.4), Pango( 1.20.5), Atk(1.29.2). Please guide.

Regards,

Swamy

checking for BASE_DEPENDENCIES... yes

checking for CAIRO_BACKEND... configure: error: Package requirements (cairo-xlib >= 1.6) were not met:

No package 'cairo-xlib' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

Alternatively, you may set the environment variables CAIRO_BACKEND_CFLAGS

and CAIRO_BACKEND_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

error: Bad exit status from /mnt/freescale/ltib_git/ltib/tmp/rpm-tmp.15404 (%build)

RPM build errors:

    Bad exit status from /mnt/freescale/ltib_git/ltib/tmp/rpm-tmp.15404 (%build)

Build time for gtk2: 7 seconds

Failed building gtk2

f_scbuild() returned an error, exiting

traceback:

main:611


标签 (2)
0 项奖励
1 解答
2,538 次查看
4guin4g4
Contributor IV

Have you installed libcairo2-dev

在原帖中查看解决方案

0 项奖励
4 回复数
2,538 次查看
4guin4g4
Contributor IV

Did you have any luck?

0 项奖励
2,538 次查看
Swamy
Contributor III

Thanks for the reply. I was able to fix this issue. As some of the packages including libcairo2-dev was missing.. Thanks

0 项奖励
2,538 次查看
imxcommunitysco
Senior Contributor II

Could you please select the Correct Answer and mark your question as Answered if it is. Thanks!

0 项奖励
2,539 次查看
4guin4g4
Contributor IV

Have you installed libcairo2-dev

0 项奖励