LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-12-2005, 09:07 PM   #1
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 35
GTK 2.0 in dropline gnome?


Im using dropline gnome, Im trying to install a App Gnomad2 but Im getting this error:
Code:
root@slackbox:/home/dealer/pacotes.downloads/gnomad2-2.8.0# ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking for pkg-config... /usr/bin/pkg-config
checking for         glib-2.0                    gthread-2.0                 gtk+-2.0                    libgnomeui-2.0                libnjb... Package libnjb was not found in the pkg-config search path. Perhaps you should add the directory containing `libnjb.pc' to the PKG_CONFIG_PATH environment variable No package 'libnjb' found
configure: error: Library requirements (        glib-2.0                    gthread-2.0                 gtk+-2.0                    libgnomeui-2.0             libnjb) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
is this something with Dropline Gnome?? Can I install these libraries whitout problem?? Im dont want have to reinstall and backup all my system again O_o

And if I download the RPM version and convert to tgz will do?
 
Old 07-12-2005, 10:16 PM   #2
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Re: GTK 2.0 in dropline gnome?

Quote:
Originally posted by maginotjr
is this something with Dropline Gnome??
And if I download the RPM version and convert to tgz will do?
I just checked and glib and gtk+ are i386 packages, so they came with Slackware, not DLG. There wasn't a gthread package listed in /var/log/packages.

You can download the RPM and use rpm2tgz to convert the RPM to a slackpack but have you checked at www.linuxpackages.net to see if they had any of the three files needed. If they don't you might just want to download the source and make a slackpack yourself and upgrade to the new versions.

Later,
MMYoung
 
Old 07-12-2005, 10:40 PM   #3
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
You can download Glib-2.7.2 (includes gthread) and GTK+-2.7.2 source files from THIS link. Might be a simple thing just to make a slackpack of each if your up to it.

Later,
MMYoung
 
Old 07-12-2005, 11:23 PM   #4
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
I just tried to build them and glib built fine but gtk complained of pango and atk problems. The thing is that the version of atk with dropline is newer than the one being requested by gtk.

So in order to get gtk built you will have to build and install glib (no problem), atk (which then might conflict with the DLG version) and pango (also another DLG package, but it is older than the one required).

I guess what I'm saying is that it might be more trouble than it's worth. I'll work on it some more tomorrow and see what I can come up with.

Later,
MMYoung
 
Old 07-12-2005, 11:37 PM   #5
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Original Poster
Rep: Reputation: 35
I just want Gnomad2 working with my slackbox... because used to work nice on my DebianBox but when I used Debian it was using a true gnome.. :///
 
Old 07-13-2005, 07:05 AM   #6
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Dropline GNOME is a "true" GNOME, it is the standard GNOME packages that the DLG team compiles for Slackware and i686 CPU's.

Be that as it may, the problem isn't with DLG, it's with the program you are wanting to run dependence on other programs/libraries that aren't supplied with Slackware (glib, gtk+). If this is a major issue then you might want to go back to Debian (this is not a slap I'm being serious) as it is very easy to resolve such dependency issues with apt-get, whereas in Slackware it is up to the user to resolve those issues.

Just my thoughts,
MMYoung
 
Old 07-13-2005, 07:24 AM   #7
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
BTW, just checked the Gnomad2 web site and you're going to need libnjb as well. Also there are other GNOME "releases" that Pat V has put his "seal of approval" on GSB and GWare. You may want to give those a try to see if they will help you, although I doubt they will for reasons stated in earlier posts.

I'm actually running into the same issues as you with GnuCash. It's still depends on GNOME 1.4 libraries so if I want to run that I've got to install a bunch of really old software just for one program. On a positive note, the GnuCash folks are working on a GNOME 2 port so I'm waiting on it to come out stable before I compile GnuCash again. The issues aren't with Slackware or GNOME, but with GnuCash using older "stuff". GNOME now uses GTK2+ as its standard "toolkit", not GTK+, so there is no need to include GTK+ with GNOME anymore. Even with Debian and a "true" GNOME, when you installed Gnomad2 you pulled in the dependent files "automagically" that weren't included with Debian.

Later,
MMYoung
 
Old 07-13-2005, 09:28 AM   #8
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Don't know if your still interested but here's what I've done, and found out, so far.

I have a "base" install of Slackware 10.1, with the "true" GNOME that comes with it, that I use to make packages for folks that don't have DLG. So I booted to my Slackware "Packager" install and:

1. Made new glib-2.7.2 package and upgraded.
2. Attempted to make new gtk+-2.7.2 but it errored out due to old pango
3. Downloaded new pango (1.9.0) made a package and upgraded it.
4. Again attempted gtk+-2.7.2 and it errored out saying that it required Pango with Cairo support.
5. Stopped the attempt as Slackware doesn't ship with Cairo.

Like I said before, it can done but it will be difficult. If you want to attempt it, have at it. I leave that decision up to you. Good luck.

If you want I'll see if anyone over at the DLG forum knows of a replacement for GNomad2 that works with GTK2+ rather than the GTK+. Let me know.

Later,
MMYoung
 
Old 07-13-2005, 10:44 AM   #9
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Original Poster
Rep: Reputation: 35
WOW!
Im surprised with the nivel of your help, I never spected have such a complete answer about this problem with GTK2...

I first said that this may be a DLG problem (and I see that I was wrong) because last week I needed to install gnome-bluetooth, a subsystem to rum some gui to the bluetooth support with gnome... well, after compiled GTK, GLIB, GLOB and such a lot of things the F#*** bonobo (If I remmember the name right, im not on my slack right now) screwed up my gnome, and my system with a serious problem in Nautilus what didnt let me start up Gnome ... in the end I had to backup everything and reinstall all the system again... So now I have some fear about reinstaling gnome things... I will need the computer today and I dont wanned to had it down yesterday, so today night I may try something...

I just want Gnomad because Im not in the mood to boot windows everytime I need to put some mp3 in my Nomad Jukebox... :/


Okay, now back to the post...
I dont understand why the new version of the libs dont work with the programs who needs the old. And for what you have said if I download some older version of gnomad will not do anyway ...
What happened if I compile (./configure && make) it in an other Distro with the right supports (like your ideia of having a old system, and test system to compile somethings) and them just copy to my slackbox and make install ?? I could have any problems, os all will be okay if I copy some lib files to the right place (not exacly installing, just copyng)?

I confess that Im a little confused and I will read all this better tonight, for now is this what I understood and have to say... I will try gnomad2 website and see what the plans to the future...

thanks!
 
Old 07-13-2005, 01:10 PM   #10
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally posted by maginotjr
WOW!
Im surprised with the nivel of your help, I never spected have such a complete answer about this problem with GTK2...
GTK2+ isn't the problem, it's GTK+ (there is a BIG difference). Gnomad2 requires a later release of GTK+ than what comes with the standard Slackware. Most, if not all, GNOME apps are now built against GTK2+. If it required GTk2+ we wouldn't be having this conversation .
Quote:
Originally posted by maginotjr
last week I needed to install gnome-bluetooth, a subsystem to rum some gui to the bluetooth support with gnome... well, after compiled GTK, GLIB, GLOB and such a lot of things the F#*** bonobo (If I remmember the name right, im not on my slack right now) screwed up my gnome, and my system with a serious problem in Nautilus what didnt let me start up Gnome ... in the end I had to backup everything and reinstall all the system again... So now I have some fear about reinstaling gnome things... I will need the computer today and I dont wanned to had it down yesterday, so today night I may try something...
Are you sure you needed all that "other" stuff. On the gnome-bluetooth page the only "requirements" I see are libbtctl 0.4.1. There are no other dependencies listed.
Quote:
Originally posted by maginotjr
I just want Gnomad because Im not in the mood to boot windows everytime I need to put some mp3 in my Nomad Jukebox... :/
I will check on the DLG forum for a program that works like Gnomad2 and will let you know what I find out.
Quote:
Originally posted by maginotjr
Okay, now back to the post...
I dont understand why the new version of the libs dont work with the programs who needs the old. And for what you have said if I download some older version of gnomad will not do anyway ...
It's not the older version of Gnomad, it's the version of the "older" GTK that is the problem.
Quote:
Originally posted by maginotjr
What happened if I compile (./configure && make) it in an other Distro with the right supports (like your ideia of having a old system, and test system to compile somethings) and them just copy to my slackbox and make install ?? I could have any problems, os all will be okay if I copy some lib files to the right place (not exacly installing, just copyng)?
Unless it's Slackware, it won't work as you have to create a package using Slackware tools. Now if you're talking about an older version of Slackware you would still have the same problem, dependencies, because when you install the package in Slackware 10.1 you won't have the necessary dependencies on the "newer" system.
Quote:
Originally posted by maginotjr
I confess that Im a little confused and I will read all this better tonight, for now is this what I understood and have to say... I will try gnomad2 website and see what the plans to the future...

thanks!
No problem. Like I said, very similar to the GnuCash problem I'm having. Just gonna have to wait for them to finish their port to GNOME 2 libs.

Later,
MMYoung
 
Old 07-13-2005, 02:54 PM   #11
hootee
LQ Newbie
 
Registered: Oct 2003
Location: Finland
Distribution: slackware
Posts: 10

Rep: Reputation: 2
I installed gnomad2 succesfully yesterday so there should not be big problems.
I am using Slackware 10.1 + DLG.

First I installed libnjb and then gnomad2 and everything went well.
 
Old 07-13-2005, 04:30 PM   #12
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally posted by hootee
I installed gnomad2 succesfully yesterday so there should not be big problems.
I am using Slackware 10.1 + DLG.

First I installed libnjb and then gnomad2 and everything went well.
Well, $%*!, I never even tried that!

My presumption was that the OP had already tried that. Leave it up to me to make a mountain out of a molehill.

Later,
MMYoung
 
Old 07-13-2005, 04:56 PM   #13
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
This was an interesting read.

Quote:
checking for glib-2.0 gthread-2.0 gtk+-2.0 libgnomeui-2.0 libnjb... Package libnjb was not found in the pkg-config search path. Perhaps you should add the directory containing `libnjb.pc' to the PKG_CONFIG_PATH environment variable No package 'libnjb' found
The question has the answer.
 
Old 07-13-2005, 05:58 PM   #14
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally posted by shilo
The question has the answer.
Obvious to me now, but my focus was on the GTK thing in the title. Maybe I should read more closely from now own.

Matter of fact, in the original post the error started when it was checking for glib, gthread, and gtk+ (not gtk2+) which is what got me looking under all the nooks and crannies.

Later,
MMYoung

Last edited by MMYoung; 07-13-2005 at 06:44 PM.
 
Old 07-14-2005, 12:22 AM   #15
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Quote:
checking for glib-2.0 gthread-2.0 gtk+-2.0 libgnomeui-2.0 libnjb... Package libnjb was not found in the pkg-config search path. Perhaps you should add the directory containing `libnjb.pc' to the PKG_CONFIG_PATH environment variable No package 'libnjb' found
That is indeed the problem. Be very careful when using GTK+2/GLib2 2.7x. Dropline GNOME already includes the most recent *stable* versions of the libraries. The 2.7x branch is a development branch and is not intended for GNOME 2.10.

zborgerd@katana:~$ spack gtk+2
-rw-r--r-- 1 root root 51480 2005-06-20 16:03 gtk+2-2.6.8-i686-1dl
zborgerd@katana:~$ spack glib2
-rw-r--r-- 1 root root 17235 2005-06-20 16:03 glib2-2.6.5-i686-1dl

We follow the same naming scheme as Pat. Do not be fooled by the lack of a hyphen in the name "gtk+2". They are indeed the same libraries you'll find at gtk.org.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Dropline gnome and included gnome linda Slackware 1 09-01-2004 02:39 PM
dropline-gnome and gnome-look.org linuxnubx Slackware 4 08-23-2004 02:58 AM
What is the difference between Gnome and Dropline Gnome mikieboy Linux - Software 7 07-29-2004 12:52 PM
Difference between Gnome and Dropline-Gnome ?? Necronomicom Slackware 13 06-10-2004 12:16 AM
Dropline Gnome xgtr Slackware 9 04-27-2003 01:45 PM

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

All times are GMT -5. The time now is 09:32 AM.

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