|
Home > Archive > Linux Debian support > April 2007 > pkg-config & gtkmm ??
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
pkg-config & gtkmm ??
|
|
| jamiil 2007-04-14, 1:13 am |
| 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.
| |
| elsiddik 2007-04-14, 1:13 am |
| On Apr 14, 12:27 pm, "jamiil" <jalqa...@gmail.com> 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/l...ibgtkmm-2.4-dev
cheers,
zaher el siddik
http://elsiddik.blogspot.com/
| |
| Mark Atherton 2007-04-14, 7:14 am |
| Try setting PKG_CONFIG_PATH like this.
PKG_CONFIG_PATH=/usr/lib/pkgconfig/ pkg-config gtkmm-2.4 --cflags
|
|
|
|
|