Find the answer to your Linux question:
Results 1 to 7 of 7
This is probably real basic... I 'm trying to learn GTK+ I went to GTK+ - Download & went through the steps... This ran OK: tar xvfz gtk+-2.8.20.tar.gz This ran ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    4

    Smile GTK+ and the "make" command


    This is probably real basic... I 'm trying to learn GTK+
    I went to GTK+ - Download & went through the steps...

    This ran OK: tar xvfz gtk+-2.8.20.tar.gz
    This ran OK: ./configure --prefix=/opt/gtk

    But the make command gives me the following....

    linux-qbo0:/wc_dev/gtk+-2.8.20 # make
    make: *** No targets specified and no makefile found. Stop.


    Any help would be appreciated... thanks Wayner991

    SUSE SLED 10

  2. #2
    Just Joined!
    Join Date
    Dec 2003
    Posts
    41
    Quote Originally Posted by wayner991 View Post
    This is probably real basic... I 'm trying to learn GTK+
    I went to GTK+ - Download & went through the steps...

    This ran OK: tar xvfz gtk+-2.8.20.tar.gz
    This ran OK: ./configure --prefix=/opt/gtk

    But the make command gives me the following....

    linux-qbo0:/wc_dev/gtk+-2.8.20 # make
    make: *** No targets specified and no makefile found. Stop.


    Any help would be appreciated... thanks Wayner991

    SUSE SLED 10
    Are you positive the ./configure returned no errors?

  3. #3
    Just Joined!
    Join Date
    Jan 2008
    Posts
    4
    Actually, you are correct... I got this. Thanks; I'll do some detective work.

    checking for TIFFReadScanline in -ltiff... no
    checking for TIFFWriteScanline in -ltiff... no
    checking for TIFFFlushData in -ltiff34... no
    configure: WARNING: *** TIFF loader will not be built (TIFF library not found) ***
    configure: error:
    *** Checks for TIFF loader failed. You can build without it by passing
    *** --without-libtiff to configure but some programs using GTK+ may
    *** not work properly
    linux-qbo0:/wc_dev/gtk+-2.8.20 #

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252
    Since you're using SUSE, have you checked to ensure that YAST does not have the Gtk+ dev libraries? In nearly every case, installing through your package manager is easier, and it will automatically handle dependencies like this one.

  6. #5
    Just Joined!
    Join Date
    Jan 2008
    Posts
    4
    Thanks for the response. I will investigate the YAST suggestion... I did not see it at first glance in YAST Administration. Here's more from the road I was progressing down:

    When I run ./configure --prefix=/opt in my GTK+ directory
    I get the following error:

    configure: WARNING: *** TIFF loader will not be built
    (TIFF library not found) ***
    configure: error:

    Both directories are at the same level:
    linux-qbo0:/wc_dev/gtk+-2.8.20 #
    linux-qbo0:/wc_dev/tiff-3.7.4 #

    It's probably something related to the location and/or path.
    Any help would be great... Thanks.

  7. #6
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252
    The compiler looks for libraries in a standard location. I'm sure that there's some option you can give to ./configure to get it to look other places, but I don't it.

    Anyway, you should install the tiff headers. The header file (probably libtiff.h) will be put in /usr/include, and the actual object code will be installed in /usr/lib.

    What you're seeing now is basically called dependency hell. To install Gtk, you need libtiff. To install libtiff, you may need some other dependency (I don't know). Continue ad infinitum. The advantage of a package manager (like YAST) is that it will resolve all of this for you.

  8. #7
    Just Joined!
    Join Date
    Aug 2013
    Posts
    1
    the libtiff source code can be find here:
    //ftp://ftp.remotesensing.org/pub/libtiff

Posting Permissions

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