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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
5,787 Views
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


Labels (2)
0 Kudos
Reply
1 Solution
3,302 Views
4guin4g4
Contributor IV

Have you installed libcairo2-dev

View solution in original post

0 Kudos
Reply
4 Replies
3,302 Views
4guin4g4
Contributor IV

Did you have any luck?

0 Kudos
Reply
3,302 Views
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 Kudos
Reply
3,302 Views
imxcommunitysco
Senior Contributor II

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

0 Kudos
Reply
3,303 Views
4guin4g4
Contributor IV

Have you installed libcairo2-dev

0 Kudos
Reply