Anyone have latest glib?(fixed)

Moderators: 666philb, Forum moderators

Post Reply
User avatar
mr_gs
Posts: 38
Joined: Tue Dec 14, 2021 6:39 am
Has thanked: 7 times
Been thanked: 8 times

Anyone have latest glib?(fixed)

Post by mr_gs »

Yesterday I was trying to install xfce 4.18(latest) from source, but it shows that I need at least glib version 2.66.0

Code: Select all

checking for glib-2.0 >= 2.66.0... found, but 2.64.6
*** The required package glib-2.0 was found on your system,
*** but the installed version (2.64.6) is too old.
*** Please upgrade glib-2.0 to atleast version 2.66.0, or adjust
*** the PKG_CONFIG_PATH environment variable if you installed
*** the new version of the package in a nonstandard prefix so
*** pkg-config is able to find it.

Some people warned that updating glibc could brick the system. Do anyone have latest glib/>=2.66.0?

Last edited by mr_gs on Sun Jun 04, 2023 3:04 pm, edited 3 times in total.

Fossapup 9.5 64bit Kernel 5.4.53
Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
8GB RAM
Intel (R) UHD Graphics

User avatar
Jasper
Posts: 2071
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 854 times
Been thanked: 481 times

Re: Updating glibc

Post by Jasper »

Had an attempt at compiling this but it wasn't successful.

Might be worth putting in a post in the "Requests" section.

Image

Image

User avatar
Jasper
Posts: 2071
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 854 times
Been thanked: 481 times

Re: Updating glibc

Post by Jasper »

Have you tried @peebee XFCE ydrv.sfs?

viewtopic.php?p=295#p295

User avatar
mr_gs
Posts: 38
Joined: Tue Dec 14, 2021 6:39 am
Has thanked: 7 times
Been thanked: 8 times

Re: Anyone have glib >= 2.66.0?

Post by mr_gs »

Thanks for your suggestion but it didn't work for me

Fossapup 9.5 64bit Kernel 5.4.53
Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
8GB RAM
Intel (R) UHD Graphics

User avatar
mikewalsh
Moderator
Posts: 6164
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 796 times
Been thanked: 1985 times

Re: Anyone have glib >= 2.66.0?

Post by mikewalsh »

@mr_gs :-

Um.....glib and glibc are two entirely different things, y'know. The glibc is the main 'C' library round which the entire system is built, and to which everything is linked.

glib, to quote StackOverflow, is "an object-based event loop and utility library written in C".

The versions of these do NOT match. AFAIK, the newest version of the glibc is currently 2.37:-

https://www.gnu.org/software/libc/

Mike. ;)

User avatar
Jasper
Posts: 2071
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 854 times
Been thanked: 481 times

Re: Anyone have glib >= 2.66.0?

Post by Jasper »

My understanding of the questions asked are:

Some people warned that updating glibc could brick the system. (This is used for compiling kernels, so an updated one may not match your 5.4.x build)

Do anyone have latest glib/>=2.66.0?

If you ignore the / , I read this as

Do you have the latest Glib > (the point refers to the smaller figure) = (build 2.66.0)

So, asking for Glib build 2.66.0 or newer.

The title of the post might need to be changed.

sonny
Posts: 725
Joined: Mon Feb 15, 2021 4:50 pm
Has thanked: 486 times
Been thanked: 173 times

Re: Anyone have glib >= 2.66.0?

Post by sonny »

mr_gs wrote: Fri Jun 02, 2023 7:58 am

Yesterday I was trying to install xfce 4.18(latest) from source, but it shows that I need at least glib version 2.66.0

Code: Select all

checking for glib-2.0 >= 2.66.0... found, but 2.64.6
*** The required package glib-2.0 was found on your system,
*** but the installed version (2.64.6) is too old.
*** Please upgrade glib-2.0 to atleast version 2.66.0, or adjust
*** the PKG_CONFIG_PATH environment variable if you installed
*** the new version of the package in a nonstandard prefix so
*** pkg-config is able to find it.

Some people warned that updating glibc could brick the system. Do anyone have latest glib/>=2.66.0?

glib 2.76.3
https://easyupload.io/s292uo

User avatar
mr_gs
Posts: 38
Joined: Tue Dec 14, 2021 6:39 am
Has thanked: 7 times
Been thanked: 8 times

Re: Anyone have glib >= 2.66.0?

Post by mr_gs »

sonny wrote: Fri Jun 02, 2023 6:50 pm
mr_gs wrote: Fri Jun 02, 2023 7:58 am

Yesterday I was trying to install xfce 4.18(latest) from source, but it shows that I need at least glib version 2.66.0

Code: Select all

checking for glib-2.0 >= 2.66.0... found, but 2.64.6
*** The required package glib-2.0 was found on your system,
*** but the installed version (2.64.6) is too old.
*** Please upgrade glib-2.0 to atleast version 2.66.0, or adjust
*** the PKG_CONFIG_PATH environment variable if you installed
*** the new version of the package in a nonstandard prefix so
*** pkg-config is able to find it.

Some people warned that updating glibc could brick the system. Do anyone have latest glib/>=2.66.0?

glib 2.76.3
https://easyupload.io/s292uo

Hi @sonny I've extracted and copied it into my system, but the output of

Code: Select all

pkg-config --modversion glib-2.0
2.64.6

Fossapup 9.5 64bit Kernel 5.4.53
Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
8GB RAM
Intel (R) UHD Graphics

User avatar
Jasper
Posts: 2071
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 854 times
Been thanked: 481 times

Re: Anyone have latest glib?

Post by Jasper »

@sonny

I downloaded and extracted your upload.

I checked the contents against my installed files and realised that the directories in your build do not match up.

Image

Fossapup64 has entries in

/usr/lib/x86_64-linux/gio

Can you let me know what your build configuration was?

When I made my attempt, I believe it only failed as I did not have the software to build the documentation via rst(?)

sonny
Posts: 725
Joined: Mon Feb 15, 2021 4:50 pm
Has thanked: 486 times
Been thanked: 173 times

Re: Anyone have latest glib?

Post by sonny »

Jasper wrote: Sat Jun 03, 2023 5:37 am

@sonny

I downloaded and extracted your upload.

I checked the contents against my installed files and realised that the directories in your build do not match up.

Image

Fossapup64 has entries in

/usr/lib/x86_64-linux/gio

Can you let me know what your build configuration was?

When I made my attempt, I believe it only failed as I did not have the software to build the documentation via rst(?)

You're right. I did retry... same result (v2.64.3). Dunno why.
https://docs.gtk.org/glib/building.html

User avatar
Jasper
Posts: 2071
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 854 times
Been thanked: 481 times

Re: Anyone have latest glib?

Post by Jasper »

@sonny

Can you try the following?

Go to the source folder, then terminal and enter

mkdir build && cd build
meson -Dprefix=/usr

once that has completed then

ninja
ninja test

Did you end up with the same result?

BTW thanks for the feedback :thumbup2:

sonny
Posts: 725
Joined: Mon Feb 15, 2021 4:50 pm
Has thanked: 486 times
Been thanked: 173 times

Re: Anyone have glib >= 2.66.0?

Post by sonny »

mr_gs wrote: Sat Jun 03, 2023 3:18 am
sonny wrote: Fri Jun 02, 2023 6:50 pm
mr_gs wrote: Fri Jun 02, 2023 7:58 am

Yesterday I was trying to install xfce 4.18(latest) from source, but it shows that I need at least glib version 2.66.0

Code: Select all

checking for glib-2.0 >= 2.66.0... found, but 2.64.6
*** The required package glib-2.0 was found on your system,
*** but the installed version (2.64.6) is too old.
*** Please upgrade glib-2.0 to atleast version 2.66.0, or adjust
*** the PKG_CONFIG_PATH environment variable if you installed
*** the new version of the package in a nonstandard prefix so
*** pkg-config is able to find it.

Some people warned that updating glibc could brick the system. Do anyone have latest glib/>=2.66.0?

glib 2.76.3
https://easyupload.io/s292uo

Hi @sonny I've extracted and copied it into my system, but the output of

Code: Select all

pkg-config --modversion glib-2.0
2.64.6

Fixed the location.

path.png
path.png (18.9 KiB) Viewed 1107 times
User avatar
mr_gs
Posts: 38
Joined: Tue Dec 14, 2021 6:39 am
Has thanked: 7 times
Been thanked: 8 times

Re: Anyone have glib >= 2.66.0?

Post by mr_gs »

sonny wrote: Sat Jun 03, 2023 11:39 pm
mr_gs wrote: Sat Jun 03, 2023 3:18 am
sonny wrote: Fri Jun 02, 2023 6:50 pm

glib 2.76.3
https://easyupload.io/s292uo

Hi @sonny I've extracted and copied it into my system, but the output of

Code: Select all

pkg-config --modversion glib-2.0
2.64.6

Fixed the location.
path.png

Thank you. It works now! :thumbup:

Fossapup 9.5 64bit Kernel 5.4.53
Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
8GB RAM
Intel (R) UHD Graphics

User avatar
Jasper
Posts: 2071
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 854 times
Been thanked: 481 times

Re: Anyone have latest glib?(fixed)

Post by Jasper »

@mr_gs

If you manage to successful install the XFCE source package and get a working/functioning desktop.

Can you share some pics?

Also, create a PET file for us to use?

LANdpLAN
Posts: 57
Joined: Tue May 14, 2024 4:26 pm
Has thanked: 11 times
Been thanked: 5 times

Re: Anyone have latest glib?(fixed)

Post by LANdpLAN »

this link no longer works https://easyupload.io/s292uo

Post Reply

Return to “Fossapup64”