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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
7,082件の閲覧回数
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 解決策
4,597件の閲覧回数
4guin4g4
Contributor IV

Have you installed libcairo2-dev

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
4,597件の閲覧回数
4guin4g4
Contributor IV

Did you have any luck?

0 件の賞賛
返信
4,597件の閲覧回数
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 件の賞賛
返信
4,597件の閲覧回数
imxcommunitysco
Senior Contributor II

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

0 件の賞賛
返信
4,598件の閲覧回数
4guin4g4
Contributor IV

Have you installed libcairo2-dev

0 件の賞賛
返信