LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-09-2005, 01:16 PM   #1
secureoffice
LQ Newbie
 
Registered: Jan 2005
Location: Ireland
Distribution: Suse 10.0
Posts: 16

Rep: Reputation: 0
GTK+2 Installation


hehe, ok, back to the source.....

Hopefully someone can wake me from this nightmare.....

I am trying to install GTK+2, and I couldn't find any RPM's for Suse 9.2 so I have to use the source package.....

gtk+-2.4.14

When I run ./configure I get this error....

Cut for shortness:

Code:
checking for wchar.h... yes
checking for wctype.h... yes
checking for iswalnum... yes
checking if iswalnum() and friends are properly defined... yes
checking whether to build gmodulized gdk-pixbuf... yes
checking whether dynamic modules work... yes
checking for TIFFReadScanline in -ltiff... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for jpeg_simple_progression in -ljpeg... yes
checking for libpng12... no
checking for png_read_info in -lpng... no
configure: WARNING: *** PNG loader will not be built (PNG library not found) ***
configure: WARNING: *** PNG loader will not be built (PNG header file not found) ***
configure: error:
*** Checks for PNG loader failed. You can build without it by passing
*** --without-libpng to configure but many programs using GTK+ will
*** not work properly. The PNG loader is also needed if you are compiling
*** from CVS.
So heres the rub, YAST says that LibPNG is already installed, so I searched for libpng.so.3 and sure enough its here:

/usr/lib/libpng.so.3

So.....?

How do I learn from this....?

Thanks again to all the smart nixers...!

Mochara
 
Old 10-09-2005, 02:07 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to install the developemnt packages of libpng.
 
Old 10-09-2005, 04:49 PM   #3
secureoffice
LQ Newbie
 
Registered: Jan 2005
Location: Ireland
Distribution: Suse 10.0
Posts: 16

Original Poster
Rep: Reputation: 0
Ok, I downloaded the libpng libraries and installed them good.

So I ran the GTK configure command again and this time I got this.....


Code:
checking for TIFFReadScanline in -ltiff... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for jpeg_simple_progression in -ljpeg... yes
checking for libpng12... yes
checking pixbuf loaders to build...
checking for sys/wait.h that is POSIX.1 compatible... yes
checking return type of signal handlers... (cached) void
checking for x86 platform... yes
checking compiler support for MMX... yes
checking for freetype-config... /usr/bin/freetype-config
checking For sufficiently new FreeType (at least 2.0.1)... yes
configure: error: Pango 1.2.0 and Xft backend is required for x11 target
ocean:/usr/src/gtk+-2.4.14 #

I have already installed Pango-1.10.1 so i dunno what this means exactly.....

Any ideas?
 
Old 10-10-2005, 04:25 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Did you try installing the pango devel packages?
 
Old 10-10-2005, 05:00 AM   #5
Aju
LQ Newbie
 
Registered: Aug 2005
Location: ~
Distribution: Red Hat 9
Posts: 14

Rep: Reputation: 0
Refer the link provided below and install all the dependencies,,,

Gtk

Click here for all the dependencies
 
Old 10-10-2005, 05:23 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
let's just back up and state that suse 9.2 DOES contain gtk2, there is no need whatsoever to install gtk2 from source, it IS on your distro cd's, and infact is probably already installed. why do you think you need to install it? if it's cos you're trying to compile other software that requires it, then it's just the gtk2-devel package you need, again from your distro cd's.
 
Old 10-10-2005, 10:05 AM   #7
secureoffice
LQ Newbie
 
Registered: Jan 2005
Location: Ireland
Distribution: Suse 10.0
Posts: 16

Original Poster
Rep: Reputation: 0
Well, ok getting back to the start...ish...

I see the GTK packages on YAST and they are installed, but when I try and install the gEDA software I get this:

Code:
ocean:/media/cdrecorder # ./installer
Traceback (most recent call last):
  File "installer.py", line 163, in ?
    import gtk
  File "/usr/lib/python2.2/site-packages/gtk-2.0/gtk/__init__.py", line 43, in ?
  File "/usr/lib/python2.2/site-packages/gtk-2.0/gtk/_gtk.so", line 4, in ?
ImportError: /opt/gnome/lib/libpangox-1.0.so.0: undefined symbol: _pango_engine_shape_covers
ocean:/media/cdrecorder #

I have installed about 10 different packages trying to get this to work.....everything I try to install something it asks me for it has a dependancy and then just loops forever!!!!

Last edited by secureoffice; 10-10-2005 at 10:14 AM.
 
Old 10-10-2005, 10:08 AM   #8
secureoffice
LQ Newbie
 
Registered: Jan 2005
Location: Ireland
Distribution: Suse 10.0
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by reddazz
Did you try installing the pango devel packages?
Whats the Pango Devel packages?

I went to the Pango website and downloaded the latest stable release which was 1.10.1 and installed it. That's what it told me to do.

Last edited by secureoffice; 10-10-2005 at 10:20 AM.
 
Old 10-10-2005, 01:19 PM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by secureoffice
Whats the Pango Devel packages?

I went to the Pango website and downloaded the latest stable release which was 1.10.1 and installed it. That's what it told me to do.
Pango development packages is what I meant. Anyway if you installed the source package then there is no need to install the devel packages from the Suse 9.2 installation source.
 
Old 10-10-2005, 01:25 PM   #10
secureoffice
LQ Newbie
 
Registered: Jan 2005
Location: Ireland
Distribution: Suse 10.0
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by reddazz
Pango development packages is what I meant. Anyway if you installed the source package then there is no need to install the devel packages from the Suse 9.2 installation source.
OK, thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK+ 2.4.0 installation problems wizzardx Linux - Software 4 05-22-2005 05:25 PM
Gtk Installation Elbryan Fedora 1 02-23-2005 06:47 PM
GTK+ 2.6.0 installation problems Micro420 Linux - Software 13 01-14-2005 06:37 AM
GTK installation miskiw Linux - Software 2 04-24-2004 10:26 AM
gtk theme installation... Zerodark Linux - Software 4 08-24-2003 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 01:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration