SlackwareThis 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.
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.
Once again I'm here to ask you something about dependencies.
I am trying to install some programs in my Slackweare, and sometimes this weird thing happens: The program demands one dependencie, but I already have it installed into system. In the actual case, I am trying to install geoclue2, and the only dependencie it needs is the json-glib. I have the json-glib-1.6.6 installed, with is the last version available... but the slackware package manager (I1m using sboui) still asks for the installation or upgrade of it.
I don't use Slackware, and I don't know what geoclue is. But, can you provide more details? How did you install json-glib? If you manually installed, is it possible you're missing a link somewhere? Can you provide any output/errors from your geoclue install attempt?
Which version of the dependency does Sboui believe is the latest release. If you have a newer release sboui will say you need to upgrade. You would have to ignore that recommendation.
I don't use Slackware, and I don't know what geoclue is. But, can you provide more details? How did you install json-glib? If you manually installed, is it possible you're missing a link somewhere? Can you provide any output/errors from your geoclue install attempt?
I installed it manually, from source code. Possibly the problem is missing a link...
Edit: ignore this post. New information was posted while working on this reply.
Quote:
Originally Posted by slackuser222
I installed it manually, from source code. Possibly the problem is missing a link...
I don't use sboui, but I'm guessing it's complaining json-glib isn't installed because you don't have a Slackware package of json-glib installed.
Solution options:
(1) Remove your manually-installed json-glib and install a proper Slackware package (I would presume using sboui to do so).
(2) Tell sboui to ignore the fact that it thinks json-glib isn't installed.
bash-5.1# ls /var/log/packages/json*
/var/log/packages/json-c-0.15_20200726-x86_64-3
/var/log/packages/json-glib-1.6.6-x86_64-1
bash-5.1#
Wait, earlier you said you installed json-glib manually from source.
Are you running Slackware 14.2 or Slackware-current? Based on this output it sure looks like you're running Slackware-current, and you have the json-glib Slackware package installed.
Yeah, hold on a sec before you start installing stuff, clarify for us because I first read you used sboui but then you said you build from source, so I'm confused, maybe I'm just not understanding.
To start with, Slackware 14.2 or current?
Which there is nothing wrong with installing from source and/or newer versions, it just takes a little more checking.
Did you build json-glib manually from source, or from a Slackbuild or from sboui?
How are you trying to install geoclue2, manually from source, or from a Slackbuild or from sboui?
Can you copy/paste the exact command your using to (attempt to) install geoclue2?
Basically when software like geoclue2 has a dependency on something else, you have to be careful that whatever library/code/api call/whatever didn't get dropped/replaced/changed in a newer version. You also would need to make sure that geoclue2 knows where to find what its depending on. The person who made the geoclue2 Slackbuild tested it with 1.2.8 so its possible that something has changed/moved in 1.6.6.
Wait, earlier you said you installed json-glib manually from source.
Are you running Slackware 14.2 or Slackware-current? Based on this output it sure looks like you're running Slackware-current, and you have the json-glib Slackware package installed.
Sorry, I wasn't clear about it... in fact, i'm using Slackware-Current. And yes, I do have the json-glib Slackware package installed. But the sboui still asks it as a dependencie for the program I am trying to install... The system had it installed in a previous version, and I manualy updated it.
Sorry, I wasn't clear about it... in fact, i'm using Slackware-Current. And yes, I do have the json-glib Slackware package installed. But the sboui still asks it as a dependencie for the program I am trying to install... The system had it installed in a previous version, and I manualy updated it.
Ok, so one small gotcha with -current, you want to check first to make sure what you want isn't already there. Pat will add new packages in occasionally. And this is an example. I'm running current so checking:
Notice the .info no longer lists json-glib as a dependency since its already in -current. That should build fine, however I wonder if your manual install could have messed up json-glib, you might have to use slackpkg to reinstall it https://slackpkg.org/documentation.html#usage first if geoclue still won't build.
Also make sure you have Slackpkg and/or sboui pointed at the -current repo
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.