LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-14-2005, 05:10 PM   #1
CPUFreak91
Member
 
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100

Rep: Reputation: 15
GNOME problems: glib and gtk deps


I've installed glib 2.8.0 but when I install pango (for gtk+ so that I can install audacity and rhythmbox) I get this error:

[/QUOTE]checking for cairo >= 0.5.2-head... Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
checking for glib-2.0 >= 2.5.7 gobject-2.0 gmodule-no-export-2.0... Requested 'glib-2.0 >= 2.5.7' but version of GLib is 2.4.2[/QUOTE]

And what's this PGK_CONFIG_PATH about?
Thanks,
CPUFreak91
 
Old 11-14-2005, 05:15 PM   #2
Dankles
Member
 
Registered: May 2004
Location: /dev/null
Distribution: Slackware
Posts: 245

Rep: Reputation: 31
it looks like you need "cairo". you can get it at linuxpackages.net
that should work for part of your problem.
about glib... how did you install it?

Last edited by Dankles; 11-14-2005 at 05:17 PM.
 
Old 11-14-2005, 06:20 PM   #3
LiNuCe
Member
 
Registered: Apr 2004
Location: France
Distribution: Slackware Linux 10.2
Posts: 119

Rep: Reputation: 15
You need to build the following GTK+ 2.8.x softwares in this order : glib2, atk, cairo, pango and gtk+2. You can find archives to create your own Slackware Linux packages at the following locations :
  • glib2 : Library of C routines
  • atk : Accessibility toolkit
  • cairo : Multi-platform 2D graphics library
  • pango : Library for layout and rendering of i18n text
  • gtk+2 : GTK+ graphical toolkit library
--
LiNuCe
 
Old 11-15-2005, 09:14 AM   #4
Dankles
Member
 
Registered: May 2004
Location: /dev/null
Distribution: Slackware
Posts: 245

Rep: Reputation: 31
Quote:
Originally posted by LiNuCe
You need to build the following GTK+ 2.8.x softwares in this order : glib2, atk, cairo, pango and gtk+2. You can find archives to create your own Slackware Linux packages at the following locations :
  • glib2 : Library of C routines
  • atk : Accessibility toolkit
  • cairo : Multi-platform 2D graphics library
  • pango : Library for layout and rendering of i18n text
  • gtk+2 : GTK+ graphical toolkit library
--
LiNuCe
This guy is the man! His answer should work.
 
Old 11-15-2005, 12:55 PM   #5
CPUFreak91
Member
 
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100

Original Poster
Rep: Reputation: 15
Thanks alot. Yes, BTW I have cairo installed and I forgot to mention that.
I supposed Slack packages will be easier to install than compiling by source.
 
Old 11-15-2005, 01:06 PM   #6
Dankles
Member
 
Registered: May 2004
Location: /dev/null
Distribution: Slackware
Posts: 245

Rep: Reputation: 31
I use a utility called checkinstall to build all of my packages from source.
90% of the time i will do this:
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var (I use these options plus any other package specific options because they seem to work best with slackware )
# make
# checkinstall (checkinstall will give you some options then build a slackware pkg in the current directory for you to install)
 
Old 11-15-2005, 04:18 PM   #7
LiNuCe
Member
 
Registered: Apr 2004
Location: France
Distribution: Slackware Linux 10.2
Posts: 119

Rep: Reputation: 15
For those who are interested, GLIB 2.8.4 and GTK+ 2.8.7 have been released so I have updated my GTK+ packages and SlackBuild scripts for Slackware Linux :
  • glib2 : Library of C routines
  • atk : Accessibility toolkit
  • cairo : Multi-platform 2D graphics library
  • pango : Library for layout and rendering of i18n text
  • gtk+2 : GTK+ graphical toolkit library
--
LiNuCe
 
Old 11-17-2005, 02:59 PM   #8
CPUFreak91
Member
 
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100

Original Poster
Rep: Reputation: 15
The .tgz files are corrupted, according to my installpkg errors. ;(
 
Old 11-17-2005, 03:20 PM   #9
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
The easiest is simply getting the files from the Dropline project. I have done that when I installed the latest Abiword and Gnumeric. Drop into the Files section here.
 
Old 11-17-2005, 04:10 PM   #10
LiNuCe
Member
 
Registered: Apr 2004
Location: France
Distribution: Slackware Linux 10.2
Posts: 119

Rep: Reputation: 15
Quote:
CPUFreak91: The .tgz files are corrupted, according to my installpkg errors. ;(
I have just checked them with md5sum -c <package>.md5, gpg --verify <package>.sig and tar tvzf <package>.tgz and I did not found corrupted files. It is possible that your web browser (or your download manager) uncompresses the *.tgz file when you download them : use wget instead.

--
LiNuCe
 
Old 11-17-2005, 06:25 PM   #11
CPUFreak91
Member
 
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by LiNuCe
It is possible that your web browser (or your download manager) uncompresses the *.tgz file when you download them : use wget instead.

I use wget for everything except stupid javascript redirects. I downloaded it off of two different computers and I get the same error message. GNOME says that the package is null! Strange.
 
Old 11-17-2005, 10:16 PM   #12
LiNuCe
Member
 
Registered: Apr 2004
Location: France
Distribution: Slackware Linux 10.2
Posts: 119

Rep: Reputation: 15
Quote:
CPUFreak91: I use wget for everything except stupid javascript redirects. I downloaded it off of two different computers and I get the same error message. GNOME says that the package is null! Strange.
You can try this dl-gtk.sh script which downloads and checks all GTK+2 packages for Slackware Linux 10.1. I tried it, and it confirms that there is no corrupted package (log here). Please, don't talk about what your GNOME says, it's pointless as there is not logical link between being able to download and check (integrity, authenticity and coherence of) a Slackware package and being able to use GNOME.

--
LiNuCe
 
  


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
mplayer gtk and glib problems degraffenried13 Linux - General 8 04-17-2005 03:32 PM
glib 2.2.3 and deps. Lindy Linux - Software 0 12-07-2003 04:26 PM
XChat / GTK+2.0 / GLib problems :( goosh Linux - Software 3 07-31-2003 04:21 PM
ATK for GTK+ installation problems with GLIB Greg21 Linux - Software 5 04-21-2003 07:00 PM
Problems installing glib and gtk+ 1.2.10... khermans Linux - Software 4 10-02-2002 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:08 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