Results 1 to 6 of 6
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 ...
- 01-10-2008 #1Just Joined!
- Join Date
- Jan 2008
- Posts
- 3
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
- 01-11-2008 #2Just Joined!
- Join Date
- Dec 2003
- Posts
- 41
- 01-11-2008 #3Just Joined!
- Join Date
- Jan 2008
- Posts
- 3
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 #
- 01-11-2008 #4
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.
DISTRO=Arch
Registered Linux User #388732
- 01-13-2008 #5Just Joined!
- Join Date
- Jan 2008
- Posts
- 3
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.
- 01-13-2008 #6
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.DISTRO=Arch
Registered Linux User #388732


Reply With Quote
