Can't link to Pango. Pango is required to build



Hi all:


        I want to cross compile gtk2.6.10 on linux-fb.

        I successfully compiled the follow libs:
                glib-2.6.6, libxml2.6.20,freetype2.1.10, fontconfig2.3.94,
atk-1.10.3.
        and I'm sure they are installed in correct directory.


        But when i config the gtk2.6.10, the error is:
        .....
        checking Pango flags... -I/usr/gtkcross/install//include/pango-1.0
-I/usr/gtkcross/install//include -I/usr/gtkcross/install//include/freetype2
-I/usr/gtkcross/install//include/glib-2.0
-I/usr/gtkcross/install//lib/glib-2.0/include   -L/usr/gtkcross/install//lib
-lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org.

        in config.log, the error is:
|......
|configure:31456: arm-unknown-linux-gnu-gcc -o conftest -g -O2 -Wall
-I/usr/gtkcross/install//include/freetype2 |-I/usr/gtkcross/install//include
-I/usr/gtkcross/install//include/pango-1.0 -I/usr/gtkcross/install//include
|-I/usr/gtkcross/install//include/freetype2
-I/usr/gtkcross/install//include/glib-2.0
|-I/usr/gtkcross/install//lib/glib-2.0/include     conftest.c
-L/usr/gtkcross/install//lib -lpangoft2-1.0 -lpango-1.0 |-lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0     >&5
|/usr/arm/lib/gcc/arm-unknown-linux-gnu/3.4.4/../../../../arm-unknown-linux-
gnu/bin/ld: warning: libfontconfig.so.1, needed |by
/usr/gtkcross/install//lib/libpangoft2-1.0.so, not found (try using -rpath
or -rpath-link)
|/usr/arm/lib/gcc/arm-unknown-linux-gnu/3.4.4/../../../../arm-unknown-linux-
gnu/bin/ld: warning: libfreetype.so.6, needed by
|/usr/gtkcross/install//lib/libpangoft2-1.0.so, not found (try using -rpath
or -rpath-link)
|/usr/gtkcross/install//lib/libpangoft2-1.0.so: undefined reference to
`FcObjectSetBuild'
|/usr/gtkcross/install//lib/libpangoft2-1.0.so: undefined reference to
`FT_Init_FreeType'
|/usr/gtkcross/install//lib/libpangoft2-1.0.so: undefined reference to
`FcPatternGetBool'
|/usr/gtkcross/install//lib/libpangoft2-1.0.so: undefined reference to
`FT_Load_Glyph'
|/usr/gtkcross/install//lib/libpangoft2-1.0.so: undefined reference to
`FT_Done_Face'
|/usr/gtkcross/install//lib/libpangoft2-1.0.so: undefined reference to
`FcObjectSetDestroy'
|/usr/gtkcross/install//lib/libpangoft2-1.0.so: undefined reference to
`FT_Render_Glyph'
|/usr/gtkcross/install//lib/libpangoft2-1.0.so: undefined reference to
`FcPatternDuplicate' 
|...
|
|...
|run the test program
|..
|
|configure:31484: error:
|*** Can't link to Pango. Pango is required to build
|*** GTK+. For more information see http://www.pango.org



        Also: I have tried compile these libraries using normal gcc(not
cross compilation), It's successfull.
        


Thank you!





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]