Find the answer to your Linux question:
Results 1 to 5 of 5
hey everyone, I have a question about installing software on mandrake (why'd they change it? I like mandrake better!). I'm trying to install edonkey2000 gui on my box and when ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jan 2005
    Location
    Quebec, Canada
    Posts
    100

    gtk?


    hey everyone,
    I have a question about installing software on mandrake (why'd they change it? I like mandrake better!). I'm trying to install edonkey2000 gui on my box and when i try to do ./configure this is what happens:

    [nikosapi@localhost ed2k-gtk-gui-0.6.4]$ ./configure
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for ranlib... ranlib
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking sys/poll.h usability... yes
    checking sys/poll.h presence... yes
    checking for sys/poll.h... yes
    checking poll.h usability... yes
    checking poll.h presence... yes
    checking for poll.h... yes
    checking sys/syslimits.h usability... no
    checking sys/syslimits.h presence... no
    checking for sys/syslimits.h... no
    checking zlib.h usability... yes
    checking zlib.h presence... yes
    checking for zlib.h... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking for gtk+-2.0 >= 2.0.2... Package gtk+-2.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gtk+-2.0.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'gtk+-2.0' found
    configure: error: pkg-config could not find gtk+-2.x >= 2.0.2. Do you have the gtk+-2.x development packages installed? You need the gtk2 and the gtk2-devel packages (libgtk+-2.0-0 and libgtk+-2.0-dev on debian).


    This also happens on my other mandrake box aswell. How do I fix it?

    Thanks,
    -->Nikosapi

  2. #2
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    As root, type into a terminal urpmi gtk. And gtk should be installed via the ftp sources, you might want to configure the urpmi sources, so check out this site and follow its instructions before installing gtk or any software via urpmi. http://easyurpmi.zarb.org/

  3. #3
    Linux Newbie
    Join Date
    Jan 2005
    Location
    Quebec, Canada
    Posts
    100
    ok I tried #urpmi gtk and I get this:

    [nikosapi@localhost nikosapi]$ su
    [root@localhost nikosapi]# urpmi gtk
    The following packages contain gtk:
    gtk+2.0
    gtk+licq
    gtk-engines
    gtk-engines2
    gtk-themes
    gtkam
    gtkdialogs
    gtkeyboard
    gtkhtml-3.1
    gtksourceview
    gtktalog
    libexif-gtk4
    libgtk+-x11-2.0_0
    libgtk+1.2
    libgtk+2.0_0
    libgtkglarea5
    libgtkhtml-3.1_11
    libgtkhtml1.1_3
    libgtkhtml2_0
    libgtkmm1.2
    libgtksourceview-1.0_0
    libgtkspell0
    libwxgtk2.5_1
    pygtk2.0
    pygtk2.0-libglade
    pygtk2.0-wrapper
    python-gtk

    Then I type: #urpmi gtk+2.0 and it says:

    [root@localhost nikosapi]# urpmi gtk+2.0
    Everything already installed


    I'm pretty sure that I have installed gtk but it just isn't showing up in the "PKG_CONFIG_PATH environment variable" as it says when I type ./configure. Where is the " PKG_CONFIG_PATH environment variable" located and what do I have to add to it exactly.

    thanks,
    -->Nikosapi

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252
    It says you need Gtk+ 2.0.2, while the URPMI is returning 2.0.

    Try and find a Mandrake RPM of 2.0.2 somewhere on the Internet, and manually install it with "rpm-i".

  6. #5
    Just Joined!
    Join Date
    May 2005
    Location
    The Darkest corner of the human psyche
    Posts
    9
    I'm looking for gtk+2.0. Does anyone know where I can find it? I'm running mandrake 10.1 mini.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •