LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   colord-1.4.3 requires glib2-2.5.6 or greater but slackware 14.2 only ships with glib2-2.46.2 (https://www.linuxquestions.org/questions/slackware-14/colord-1-4-3-requires-glib2-2-5-6-or-greater-but-slackware-14-2-only-ships-with-glib2-2-46-2-a-4175636649/)

nimbusdin 08-18-2018 04:40 PM

colord-1.4.3 requires glib2-2.5.6 or greater but slackware 14.2 only ships with glib2-2.46.2
 
I'm currently having trouble trying to install colord on a slackware64 14.2 system. colord-1.4.3 requires a minimum of glib2-2.5.6 to install correctly but slackware 14.2 only comes with glib2-2.46.2 which is making it difficult to install colord.

I've tried downloading the source files for glib2-2.6.0 and creating a package to install with using makepkg and then using installpkg to install the new package, but the installation of colord does not recognize the new installation of glib2 that I installed and still shows the version of glib2 as 2.46.2.

What do I need to do to be able to upgrade glib2 so that colord will be able to install correctly?

Thank you!

Darth Vader 08-18-2018 04:48 PM

Upgrading of GLIB2 is a very risky endeavor and probably will broke many packages from your system because it has a fundamental role.

I suggest you instead to abandon the idea to install this colord-1.4.3

That's it. Not everything can be installed in a given operating system.

55020 08-18-2018 05:18 PM

You should use colord-1.3.5, which is available at SlackBuilds.org.

chrisVV 08-18-2018 07:00 PM

Quote:

Originally Posted by nimbusdin (Post 5893125)
I'm currently having trouble trying to install colord on a slackware64 14.2 system. colord-1.4.3 requires a minimum of glib2-2.5.6 to install correctly but slackware 14.2 only comes with glib2-2.46.2 which is making it difficult to install colord.

I've tried downloading the source files for glib2-2.6.0 and creating a package to install with using makepkg and then using installpkg to install the new package, but the installation of colord does not recognize the new installation of glib2 that I installed and still shows the version of glib2 as 2.46.2.

What do I need to do to be able to upgrade glib2 so that colord will be able to install correctly?

Thank you!

glib2-2.46.2 is later than the minimum requirement of glib2-2.5.6 by 41 minor versions (20 stable minor versions), so it should work fine. What exactly is the difficulty you encounter with glib2-2.64.2? In particular, can you give the error messages that you are getting: they probably have nothing to do with glib.

Edit: The glib dependency for colord-1.4.3 according to meson.build is 2.45.8, so that should be satisfied by slackware-14.2, so that shouldn't be your problem (I am not saying it isn't, just that it shouldn't be).

chrisVV 08-18-2018 07:14 PM

Quote:

Originally Posted by Darth Vader (Post 5893128)
Upgrading of GLIB2 is a very risky endeavor and probably will broke many packages from your system because it has a fundamental role.

I suggest you instead to abandon the idea to install this colord-1.4.3

That's it. Not everything can be installed in a given operating system.

I have colord-1.4.2 installed in slackware-current, and it works fine. Possibly the OP's problem is that it uses the meson build system. Does that come with slackware-14.2? If not he can probably compile meson/ninja with the slackbuild which comes with slackware-current. But from his post it looks as if the problem is something else: who knows, he needs to say what errors he is getting.

Alien Bob 08-19-2018 08:50 AM

[QUOTE=chrisVV;5893156But from his post it looks as if the problem is something else: who knows, he needs to say what errors he is getting.[/QUOTE]

HE explicitly mentions "colord-1.4.3 requires a minimum of glib2-2.5.6". Seemed a pretty clear statement to me.

chrisVV 08-19-2018 12:53 PM

Quote:

Originally Posted by Alien Bob (Post 5893311)
HE explicitly mentions "colord-1.4.3 requires a minimum of glib2-2.5.6". Seemed a pretty clear statement to me.

I think you are missing the point. First, that is not a statement of what error he gets, and secondly it cannot possibly be the source of his problem because glib2-2.46.2 meets the requirement for a minimum of glib2-2.5.6. The very topic of his posting contains a contradiction ("colord requires glib2-2.5.6 or greater but slackware 14.2 only ships with glib2-2.46.2").

Plainly his problem is something else. Without knowing what errors he gets it is not possible to say what.

As a side issue, it is not in fact correct that colord-1.4.3 requires glib2-2.5.6. That version would be completely inadequate. It requires glib2-2.45.8, as I said, which is also satisfied by slackware-14.2.

USUARIONUEVO 08-19-2018 02:03 PM

glibc2 is not the problem of OP.

Native dependency glib-2.0 found: YES 2.46.2

Drakeo 08-19-2018 03:43 PM

it calls for it. you may want to edit it to call for yours. It is a configure script and he was using his. glibc does not care what you are compiling. edit the config. Your not building against an ABI ok. it is from source.


All times are GMT -5. The time now is 05:26 PM.