Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-12-2005, 09:07 PM
|
#1
|
Member
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661
Rep:
|
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?
|
|
|
07-12-2005, 10:16 PM
|
#2
|
Member
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365
Rep:
|
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
|
|
|
07-12-2005, 10:40 PM
|
#3
|
Member
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365
Rep:
|
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
|
|
|
07-12-2005, 11:23 PM
|
#4
|
Member
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365
Rep:
|
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
|
|
|
07-12-2005, 11:37 PM
|
#5
|
Member
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661
Original Poster
Rep:
|
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.. :///
|
|
|
07-13-2005, 07:05 AM
|
#6
|
Member
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365
Rep:
|
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
|
|
|
07-13-2005, 07:24 AM
|
#7
|
Member
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365
Rep:
|
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
|
|
|
07-13-2005, 09:28 AM
|
#8
|
Member
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365
Rep:
|
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
|
|
|
07-13-2005, 10:44 AM
|
#9
|
Member
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661
Original Poster
Rep:
|
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!
|
|
|
07-13-2005, 01:10 PM
|
#10
|
Member
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365
Rep:
|
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
|
|
|
07-13-2005, 02:54 PM
|
#11
|
LQ Newbie
Registered: Oct 2003
Location: Finland
Distribution: slackware
Posts: 10
Rep:
|
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.
|
|
|
07-13-2005, 04:30 PM
|
#12
|
Member
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365
Rep:
|
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
|
|
|
07-13-2005, 04:56 PM
|
#13
|
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:
|
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. 
|
|
|
07-13-2005, 05:58 PM
|
#14
|
Member
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365
Rep:
|
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.
|
|
|
07-14-2005, 12:22 AM
|
#15
|
Member
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 09:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|