#2 gtk detection problem

closed-invalid
5
2001-04-26
2001-04-25
Mike Hill
No

I am relatively new to *nix, so this may well be me being an idiot. It appears that ./configure doesn't think I have the gtk library installed. Looking at my package manager it says I have gtk 1.2.8. Running locate on gtk shows all kinds of things. GIMP seems to work (as near as I can tell, it uses the gtk). Is there a particular location or file or command it searches for, so I can try to hunt that down?

Just in case, my email is neuromancer@swbell.net

I'm using SuSE 7.1 on an intel celeron 500. The output from ./configure follows:

loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for make... yes
checking for sed... yes
checking for perl... /usr/bin/perl
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for ANSI C header files... yes
checking for main in -lstdc++... yes
checking for deque... yes
checking for list... yes
checking for vector... yes
checking for gtk-config... no
checking for imlib-config... no
checking for gtk+ >= 1.2.6... ./configure: no: command not found
no
configure: error:
Required component missing: gtk+ >= 1.2.6
Download site: http://www.gtk.org

Discussion

  • Felipe Bergo

    Felipe Bergo - 2001-04-26
    • assigned_to: nobody --> bergo
    • status: open --> closed-invalid
     
  • Felipe Bergo

    Felipe Bergo - 2001-04-26

    Logged In: YES
    user_id=23863

    Most probably you have the binaries of the library but not
    the
    development files. On RPM-based systems (Red Hat, Mandrake,
    SuSE,
    Conectiva, etc.) libraries usually come in two RPM packages
    each: one just for running binary (already compiled)
    programs and other needed to compile programs that use that
    library. Theis second package is usually called
    libraryname-devel.

    To compile eboard, you'll probably need to get the SuSE cd
    and install the following RPMs: glib-devel-1.2.8*.rpm,
    gtk+-devel-1.2.8*.rpm and imlib-devel-*.rpm.

    And the particular command it looks for is gtk-config,
    contained in the gtk+-devel package. It'll look for
    imlib-config later, this is in the imlib-devel package.

     
  • Felipe Bergo

    Felipe Bergo - 2001-04-26
    • labels: --> compiling/installing
     
  • Nobody/Anonymous

    Logged In: NO

    II have the same problem on my freebsd box, configure is
    looking for gtk-config, this script not exists, there is
    only gtk12-config. This is the standard freebsd
    gtk-1.2.8 port install. A quick fix is to change this
    local in the configure script.

     
  • Felipe Bergo

    Felipe Bergo - 2001-04-28

    Logged In: YES
    user_id=23863

    I'm aware of this problem with FreeBSD, the port maintainer
    renamed the
    gtk-config script (there are gtk12-config and gtk13-config
    on my FreeBSD 4.2 box), but the official m4 macro to check
    for GTK+ provided with GTK
    won't recognize this gtkXX-config script.

    I'll patch eboard (0.1.4 will be out on April 29 with this
    change) to look for the FreeBSD-port variation, but this is
    dirty and the one to blame is whoever built the GTK+ port
    for FreeBSD.

     
  • Felipe Bergo

    Felipe Bergo - 2001-04-28

    Logged In: YES
    user_id=23863

    Obs on the last comment: eboard is not using the default
    AM_PROG_GTK
    m4 macro, I'm fixing it anyway.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks