LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gtk-config in path..... Build Failure (https://www.linuxquestions.org/questions/linux-newbie-8/gtk-config-in-path-build-failure-4175418202/)

jv2112 07-23-2012 04:54 AM

gtk-config in path..... Build Failure
 
I am trying to install a package and I am getting the error below. I tried removing the package in question and letting packer re install but no dice. I have read the man page for pkg-config but I am not clear as to next steps.

Any direction would be appreciated.



Code:


Command -->

packer -S lib32-cnijfilter-mp560

-----> Error

checking for GTK+ - version >= 2.0.0...
*** 'pkg-config --modversion gtk+-2.0' returned 2.24.11, but GTK+ (2.24.10)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GTK+. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error: Cannot find GTK: Is gtk-config in path?
==> ERROR: A failure occurred in build().
    Aborting...
The build failed.

Running Arch-Linux 64 Bit.

rmugunthan 07-23-2012 07:25 AM

Post the output of below commands

echo $PKG_CONFIG_PATH
echo $LD_LIBRARY_PATH
echo $PATH

And also let me know, two different version of gtk installed or not? If installed where those installed binary files are present.

jv2112 07-24-2012 04:36 AM

Thank You very much for the response. :hattip:

I tried as normal user and Root and both outputs are the same for the first two,
Code:

I get zero output for the first two--->

joe@Tux-Box  in Desktop$ echo $PKG_CONFIG_PATH

joe@Tux-Box  in Desktop$ echo $LD_LIBRARY_PATH

joe@Tux-Box  in Desktop$ echo $PATH
/usr/local/sbin:/usr/lib:/usr/lib64:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/home/joe/Scripts:/opt/java/jre


Installed GTK ( I only see the one)

Code:

packer -Ss gtk | grep installed | sort -nk 2 -->

community/ruby-gtk2 1.1.3-2 [installed]
extra/clutter-gtk 1.2.0-1 [installed]
extra/gtk 1.2.10-11 [installed]
multilib/lib32-gtk 1.2.10-12 [installed]
extra/gtkspell 2.0.16-2 [installed]
extra/gtk-engines 2.21.0-1 [installed]
extra/gtk2 2.24.11-2 [installed]
extra/gtkmm 2.24.2-2 [installed]
extra/gtk-update-icon-cache 2.24.11-2 [installed]
extra/pygtk 2.24.0-3 [installed]
multilib/lib32-gtk2 2.24.10-1 [installed]
extra/avidemux-gtk 2.5.6-3 [installed]
extra/transmission-gtk 2.60-1 [installed]
extra/gtk2-xfce-engine 3.0.0-1 (xfce4) [installed]
extra/gtk3 3.4.4-1 [installed]
extra/gtksourceview3 3.4.2-1 [installed]


Code:

pacman -Qi gtk2 -->

Name          : gtk2
Version        : 2.24.11-2
URL            : http://www.gtk.org/
Licenses      : LGPL
Groups        : None
Provides      : None
Depends On    : atk  pango  libxcursor  libxinerama  libxrandr  libxi  libxcomposite  libxdamage  shared-mime-info  cairo  libcups  gtk-update-icon-cache
Optional Deps  : None
Required By    : avidemux-gtk  dia  exo  firefox  flashplugin  gegl  goffice  gtk-engines  gtk2-xfce-engine  gtkmm  gtkspell  guake-git  handbrake  icedtea-web-java7  lib32-gtk2
                libdesktop-agnostic  libgksu  libglade  libreoffice-gnome  libunique  libwebkit  libwnck  libxfce4ui  medit  mx  obconf  openbox-menu  opencv  parcellite  ruby-gtk2
                thunar  thunderbird  vte  xarchiver  xchat  xcowsay
Conflicts With : None
Replaces      : gtk2-docs
Installed Size : 57268.00 KiB
Packager      : Ionut Biru <ibiru@archlinux.org>
Architecture  : x86_64
Build Date    : Sun 22 Jul 2012 04:55:45 AM EDT
Install Date  : Mon 23 Jul 2012 05:38:27 AM EDT
Install Reason : Installed as a dependency for another package
Install Script : Yes
Description    : GTK+ is a multi-platform toolkit (v2)



All times are GMT -5. The time now is 07:29 PM.