pkg-config & gtkmm ?? - Debian

This is a discussion on pkg-config & gtkmm ?? - Debian ; I am running Debian Linux Sarge on a PIII, I have apt-get(ed) gtkmm-2.4x-*. When I type 'pkg-config gtkmm-2.4 --cflags' at the command prompt as the Super User I get the following results: -DXTHREADS -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/ include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/ include -I/usr/local/include/pango-1.0 ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: pkg-config & gtkmm ??

  1. pkg-config & gtkmm ??

    I am running Debian Linux Sarge on a PIII, I have apt-get(ed)
    gtkmm-2.4x-*.
    When I type 'pkg-config gtkmm-2.4 --cflags' at the command prompt as
    the Super User I get the following results:
    -DXTHREADS -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/
    include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/
    include -I/usr/local/include/pango-1.0 -I/usr/include/freetype2 -I/usr/
    X11R6/include -I/usr/local/include/atk-1.0 -I/usr/include/gtkmm-2.4 -I/
    usr/lib/gtkmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/
    gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -
    I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/
    include -I/usr/lib/gtk-2.0/include

    Which is what I was expecting.
    But the same as a regular user I get:

    $pkg-config gtkmm-2.4 --cflags
    Package gtkmm-2.4 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gtkmm-2.4.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'gtkmm-2.4' found

    The PKG_CONFIG_PATH variable does not contain any values since
    'echo $PKG_CONFIG_PATH' displays nothing

    What can I do to fix this problem, I would like to write some programs
    using gtkmm but I need to do it from the some other account than 'su'.

    T.I.A.


  2. Re: pkg-config & gtkmm ??

    On Apr 14, 12:27 pm, "jamiil" wrote:
    > I am running Debian Linux Sarge on a PIII, I have apt-get(ed)
    > gtkmm-2.4x-*.
    > When I type 'pkg-config gtkmm-2.4 --cflags' at the command prompt as
    > the Super User I get the following results:
    > -DXTHREADS -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/
    > include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/
    > include -I/usr/local/include/pango-1.0 -I/usr/include/freetype2 -I/usr/
    > X11R6/include -I/usr/local/include/atk-1.0 -I/usr/include/gtkmm-2.4 -I/
    > usr/lib/gtkmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/
    > gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -
    > I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/
    > include -I/usr/lib/gtk-2.0/include
    >
    > Which is what I was expecting.
    > But the same as a regular user I get:
    >
    > $pkg-config gtkmm-2.4 --cflags
    > Package gtkmm-2.4 was not found in the pkg-config search path.
    > Perhaps you should add the directory containing `gtkmm-2.4.pc'
    > to the PKG_CONFIG_PATH environment variable
    > No package 'gtkmm-2.4' found
    >
    > The PKG_CONFIG_PATH variable does not contain any values since
    > 'echo $PKG_CONFIG_PATH' displays nothing
    >
    > What can I do to fix this problem, I would like to write some programs
    > using gtkmm but I need to do it from the some other account than 'su'.
    >
    > T.I.A.




    install the libgtkmm-2.4
    http://packages.debian.org/stable/li...bgtkmm-2.4-dev

    cheers,
    zaher el siddik
    http://elsiddik.blogspot.com/


  3. Re: pkg-config & gtkmm ??

    Try setting PKG_CONFIG_PATH like this.

    PKG_CONFIG_PATH=/usr/lib/pkgconfig/ pkg-config gtkmm-2.4 --cflags

+ Reply to Thread