Im writting about this topic :

-I have a problem to configure a gtk+

I get the next error message:

checking for BASE_DEPENDENCIES... configure error: Package requirements (glib-2.0 >= 2.12.0 atk >= 1.9.0 pango >= 1.12.0 cairo >= 1.2.0) were not met.

consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively you may set the BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS environment variables to avoid the need to call pkg-config. See the pkg-config man page for more details.

I dont understand why if I installed glib 2.12.3 ....

Any Idea ? Thanks ....

/**********************************************************************************************************************/

Building an static GTKDFB Lib and application - Guide Lines

1.-Minimal Requirements

    1.1 Be sure that the kernerl supports frame buffer device and if this device is correctly configured in your system.

         Ref. http://www.directfb.org/index.php?path=Documentation%2FUser+Manuals%2FREADME

        An easy way to probe the fb device is doing #cat /dev/fb0

        output (ctrl+c to break): -U-U-U-U...

    1.2 A compiler and linker: gcc.

2.-Getting libs

        glib  : ftp://ftp.gtk.org/pub/glib/2.12/ (glib-2.12.3.tar.gz)

        pkg-config : http://pkgconfig.freedesktop.org/releases/ (pkg-config-0.21.tar.gz)

        freetype : http://download.savannah.gnu.org/releases/freetype/ (freetype-2.1.10.tar.gz)

        fontconfig : http://fontconfig.org/release/ (fontconfig-2.4.1.tar.gz)

        libpng : http://sourceforge.net/project/showfiles.php?group_id=5624&package_id=5683&release_id=428123 (libpng-1.2.12.tar.gz)

        cairo : http://cairographics.org/releases/ (cairo-1.2.4.tar.gz)

        pango : ftp://ftp.gtk.org/pub/pango/1.14/ (pango-1.14.4.tar.gz)

        atk : ftp://ftp.gtk.org/pub/gtk/v2.6/ (atk-1.9.0.tar.bz2)

        gtkftp://ftp.gtk.org/pub/gtk/v2.10/ (gtk+-2.10.3.tar.gz)

3.-Configure and Install

In some libs, default options are fine so you dont need give any to configure it.

   3.1 Glib

        tar zxfv glib-2.12.3.tar.gz

        cd glib-2.12.3;./configure --enable-static

        make;make install

   3.2 Pkg-config

        tar zxfv pkg-config-0.21.tar.gz

        cd pkg-config-0.21;./configure

        make;make install

    3.3 FreeType

        tar zxfv freetype-2.1.10.tar.gz

        cd freetype-2.2.1;./configure

        make;make install

    3.4 FontConfig

        tar zxfv fontconfig-2.4.1.tar.gz

        cd fontconfig-2.4.1;./configure

        make;make install

    3.5 libpng

        tar zxfv libpng-1.2.12.tar.gz

        cd libpng-1.2.12;./configure

        make;make install                /* it will take some time */

    3.6 Cairo

        tar zxfv cairo-1.2.4.tar.gz

        cd cairo-1.2.4;./configure --without-x --enable-directfb

        (Take attention with cairo message about directFB backend for possible bugs...)

        make;make install                /* it will take some time too :( */

    3.7 Pango

        tar zxfv pango-1.14.4.tar.gz

        cd pango-1.14.4;./configure --without-x --enable-static

        make;make install                /* At this point, the Sun shine not too much  z_O */

    3.8 Gtk+

        tar zxfv gtk+-2.10.3.tar.gz

        cd gtk+-2.10.3;./configure --without-x --enable-static --enable-fbmanager --enable-debug=no

       

 

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to