Find the answer to your Linux question:
Results 1 to 4 of 4
my over goal is to install Gtk-Perl-0.7009. first i must install Gtx, during installation i keep getting errors that i do not understand. Please take a look at what i ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Posts
    2

    help installing Gtk-0.3


    my over goal is to install Gtk-Perl-0.7009. first i must install Gtx, during installation i keep getting errors that i do not understand. Please take a look at what i get and see if u understand it:

    [root@localhost Gtk-0.3]# perl Makefile.PL
    gtkvertmp.c:3:21: gtk/gtk.h: No such file or directory
    gtkvertmp.c: In function `main':
    gtkvertmp.c:8: error: `gtk_major_version' undeclared (first use in this function)
    gtkvertmp.c:8: error: (Each undeclared identifier is reported only once
    gtkvertmp.c:8: error: for each function it appears in.)
    gtkvertmp.c:8: error: `gtk_minor_version' undeclared (first use in this function)
    gtkvertmp.c:8: error: `gtk_micro_version' undeclared (first use in this function)
    Unknown Gtk version
    Invoking gendefs.pl with [config/pkg-gtk.defs, config/pkg-gtk-1.0.defs]
    Note (probably harmless): No library found for -lgtk
    Note (probably harmless): No library found for -lgdk
    Note (probably harmless): No library found for -lglib
    Writing Makefile for Gtk
    [root@localhost Gtk-0.3]#

    This is all before i use the make command. when i use the make command i get error after error thats all that shows on the screen. If u need more information let me know.
    Please help! Thx U!

  2. #2
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    As root, try urpmi gtk, or even urpmi gtk-perl. note you will need to setup the ftp servers which urpmi uses by following the instructions found here

    other than that, youll probably need to install the missing libraries via urpmi or similar.
    Life is complex, it has a real part and an imaginary part.

  3. #3
    Just Joined!
    Join Date
    Jun 2005
    Posts
    2
    i setup urpmi and it tells me i have gtk 2 installed. i then tried to in stall gtk perl and i keep getting the same message. what must i do now? thank you for the advice

  4. #4
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    So you're saying
    Code:
    urpmi gtk-perl or
    urpmi Gtk-Perl 0.7009
    gives you the same errors?

    also looking over your errors, it looks like you might need glibc and the gdk libraries to run. So, also try urpmi glibc and urpmi gdk.

    Also, what are some of the errors you get when you try running the command make? Is there anything specific like gcc not found or glibc not found?
    Life is complex, it has a real part and an imaginary part.

Posting Permissions

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