AnsweredAssumed Answered

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

Question asked by MahadevaSwamy L on Oct 9, 2012
Latest reply on Oct 16, 2012 by imxcommunityscout

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

 


Outcomes