LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-11-2021, 04:07 PM   #1
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 700

Rep: Reputation: Disabled
Problem updating glib.


I am using Slackware Linux 14.2 (64-bit),and I have recently discovered that some of the software packages that I am using require the most recent version of it in order to function properly. I tried to do the update myself, and the result was that my keyboard and mouse were locked up to the point where couldn't use them for anything, the end result was that I had to re install the operating system from scratch in order to get any use out of it, which brings me to the question of how do I correctly go about updating glib without my keyboard and mouse being disabled in the process?
 
Old 01-11-2021, 08:59 PM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,967

Rep: Reputation: 271Reputation: 271Reputation: 271
Only the keyboard and mouse? Do you have other keyboards that attach otherly (e.g., USB)? I've updated glib in Slackware for 23 years without having this problem. How old were the old versions?
 
Old 01-11-2021, 09:39 PM   #3
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 700

Original Poster
Rep: Reputation: Disabled
Version 1.2.10. And the Keyboard and mouse are both USB connected. I also have a USB connected MIDI keyboard.

Last edited by TheNutCase; 01-11-2021 at 10:51 PM.
 
Old 01-11-2021, 11:02 PM   #4
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,508

Rep: Reputation: 8469Reputation: 8469Reputation: 8469Reputation: 8469Reputation: 8469Reputation: 8469Reputation: 8469Reputation: 8469Reputation: 8469Reputation: 8469Reputation: 8469
GLib 1.2.10 is the latest stable version. There were some 1.3.x development versions, but they haven't seen activity in 17 years. Hard to believe anything would require them, especially this far down the road.
 
Old 01-11-2021, 11:45 PM   #5
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,967

Rep: Reputation: 271Reputation: 271Reputation: 271
Okay, if the old version is 1.2.10, what's the new you're trying to update to? What complaint did what program make that made you think you need a 'newer' version?
 
Old 01-12-2021, 12:27 AM   #6
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 700

Original Poster
Rep: Reputation: Disabled
Version 2.66.4. And how do I go about installing it without disabling my keyboard and mouse?
 
Old 01-12-2021, 12:34 AM   #7
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 700

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by RandomTroll View Post
Okay, if the old version is 1.2.10, what's the new you're trying to update to? What complaint did what program make that made you think you need a 'newer' version?
I found out that Avidemux (a video editing software package that I use sometimes) needs it to allow me to add subtitles to video files, and I need it to update Tumbler (to create video thumbnails for use in Thunar).
 
Old 01-12-2021, 01:28 AM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
tumbler needs glib2, not glib. You may indeed upgrade glib2, but you'll have then to update other packages dependent of it if need be, which you will know either running ldd on your binary files or when starting a program will trigger an error related to glib2.

PS Further, looking at the NEWS I doubt that you need to upgrade tumbler to version 4.16 which is the only one needing a glib2 version bump, as doing so doesn't seem to address the kind of issue you report. Better upgrade tumbler up to 0.3.1 or 0.3.0 which don't need a glib2 upgrade. All this assuming that upgrading tumbler will solve the issue you mention, of which I have no clue.

Last edited by Didier Spaier; 01-12-2021 at 01:49 AM.
 
Old 01-12-2021, 07:40 AM   #9
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by TheNutCase View Post
I found out that Avidemux (a video editing software package that I use sometimes) needs it to allow me to add subtitles to video files
AFAIK, avidemux, if built from SBo together with all of its dependencies, should work ok with the glib2 version in 14.2...
Quote:
Originally Posted by TheNutCase View Post
and I need it to update Tumbler (to create video thumbnails for use in Thunar).
you shouldn't need to update tumbler, the one you have should be fine, you have just to rebuild it against ffmpegthumbnailer (or, maybe, in alternative, install gst-plugins-bad and gst-plugins-ugly and the relative codec dependencies from SBo, but it might be more complicated and I haven't tested it): if you remember you asked about this already a few months ago

https://www.linuxquestions.org/quest...2/#post6140235

what I discovered right now, testing what I posted there, is that you have to explicitly disable the gstreamer tumbler plugin to let ffmpegthumbnailer be used by tumbler, or it will be tried first and (without the additions above) it will fail to create the thumbnails: when you rebuild tumbler, after having installed ffmpeg (you can use also the all-in-one version from Alien Bob) and ffmpegthumbnailer, add this option between the configure ones in tumbler.SlackBuild (just under the line with "--disable-debug")
Code:
 --disable-gstreamer-thumbnailer \
and rebuild and reinstall tumbler.

Last edited by ponce; 01-13-2021 at 02:01 AM.
 
Old 01-12-2021, 09:03 PM   #10
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,967

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by TheNutCase View Post
Version 2.66.4. And how do I go about installing it without disabling my keyboard and mouse?
There is no glib-2.66.4. As M. Spaier suggested, you're talking about glib2, a different thing. Did you perchance try to force replacing glib-1.2.10 with glib2-2.66.4 ? Slackware is on glib2-2.66.3 - pretty close. What does what program report that makes you think it needs 2.66.4 instead of 2.66.3 ? When I need a newer version than Slackware I build from the source. That'd be my next try. @ponce sounds like s/he knows what s/he's talking about, has probably provided better advice.
 
Old 01-12-2021, 09:42 PM   #11
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Quote:
Originally Posted by RandomTroll View Post
There is no glib-2.66.4. As M. Spaier suggested, you're talking about glib2, a different thing. Did you perchance try to force replacing glib-1.2.10 with glib2-2.66.4 ? Slackware is on glib2-2.66.3 - pretty close. What does what program report that makes you think it needs 2.66.4 instead of 2.66.3 ? When I need a newer version than Slackware I build from the source. That'd be my next try. @ponce sounds like s/he knows what s/he's talking about, has probably provided better advice.
slackware-14.2 have glib2-2.46.2

In some case if start touch glib2 , you can destroy a big number of packages , installed or when go to build.

The more secured way to install extra apps , are SBo or erik (Alienb0b) , but ensure go donwload from 14.2 folder and same arch you are using.

Personally i ever prefer build from source , but some things are big to build under old machines.
 
Old 01-13-2021, 10:36 AM   #12
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 700

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by RandomTroll View Post
There is no glib-2.66.4. As M. Spaier suggested, you're talking about glib2, a different thing. Did you perchance try to force replacing glib-1.2.10 with glib2-2.66.4 ? Slackware is on glib2-2.66.3 - pretty close. What does what program report that makes you think it needs 2.66.4 instead of 2.66.3 ? When I need a newer version than Slackware I build from the source. That'd be my next try. @ponce sounds like s/he knows what s/he's talking about, has probably provided better advice.
I have been trying to update Tumbler (in order to get the video thumbnail feature to work),and this it the output that I have been getting:
Code:
checking build system type... x86_64-slackware-linux-gnu
checking host system type... x86_64-slackware-linux-gnu
checking target system type... x86_64-slackware-linux-gnu
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking if building for some Win32 platform... no
checking dependency style of gcc... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.22.2
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-slackware-linux/bin/ld
checking if the linker (/usr/x86_64-slackware-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-slackware-linux-gnu file names to x86_64-slackware-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-slackware-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-slackware-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking linux/sched.h usability... yes
checking linux/sched.h presence... yes
checking for linux/sched.h... yes
checking for memory.h... (cached) yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking syscall.h usability... yes
checking syscall.h presence... yes
checking for syscall.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for sched_getparam... yes
checking for sched_setscheduler... yes
checking for getpwnam... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed...  ar ast be bg bn ca cs da de el en_AU en_GB es et eu fi fr gl he hi hr hu hy_AM hye id is it ja kk ko lt lv ms nb nl nn oc pa pl pt pt_BR ro ru si sk sl sq sr sv te th tr ug uk zh_CN zh_HK zh_TW
checking for bind_textdomain_codeset... (cached) yes
checking for locales directory... ${prefix}/share/locale
checking for additional xgettext flags... --keyword=Q_ --from-code=UTF-8
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... yes
checking for gdbus-codegen... /usr/bin/gdbus-codegen
checking for GLIB... no
configure: error: Package requirements (glib-2.0 >= 2.50.0) were not met:

Requested 'glib-2.0 >= 2.50.0' but version of GLib is 2.46.2

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLIB_CFLAGS
and GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
bash-4.3# upgradepkg --reinstall /tmp/tumbler*.t?z
Cannot install /tmp/tumbler*.t?z:  file not found
 
Old 01-13-2021, 11:31 AM   #13
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Do you read carefully the answers you get? In the NEWS file that I already linked to in post #8 it is written
Code:
 4.16.0
 ====== 
 - Remove GLIB_CHECK_VERSION IFDEFs which are obsolete  after glib bump 
 - bump glib (and gio, gthread, etc) minimum to 2.50.0 
 - Adjust bug report URL 
 - Translation Updates:   Estonian, Turkish
Why don't you just apply the solution ponce gave you in post #9, why???

Last edited by Didier Spaier; 01-13-2021 at 12:00 PM. Reason: Foramtting fix
 
Old 01-13-2021, 02:59 PM   #14
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 700

Original Poster
Rep: Reputation: Disabled
The way that I was first able to get Thunar to show video thumbnails was to use this routine:
Code:
wget -r -nH --no-parent --reject="index.htm*" --cut-dirs=4 https://mirror.slackbuilds.org/slackware/slackware64-current/source/xfce/tumbler/
cd tumbler
sh tumbler.SlackBuild
upgradepkg --reinstall /tmp/tumbler*.t?z
and I didn't get any error messages as a result. So how should I modify it to work the way that it's supposed to.
 
Old 01-13-2021, 05:42 PM   #15
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Again, as stated by ponce you don't need (and can't unless you also update glib which will bring more issues as already stated) to update tumbler. Why do you insist doing that?

Again, what you need to do is follow the procedure indicated by ponce in post #8. If you have difficulties doing so, just state them.
 
  


Reply



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
conflicting glib versions and glib-config scius Linux - Software 5 06-03-2008 02:35 AM
[GLIB] Problems Installing GLIB ThA_eLMo_GoD Linux - Newbie 2 09-04-2004 05:27 PM
can't install gtk 2.4.4: "Requested 'glib-2.0 >= 2.4.0' but version of GLib is 2.2.3 webazoid Linux - Software 0 07-15-2004 06:07 PM
Compiling GAIM says i need GLib 2.0, yet i have GLib 2.4 MadSkillzMan Linux - Newbie 3 07-10-2004 04:10 AM
Problems relating to glib 1.2.10 and glib 1.2.9 p3ngu!n Mandriva 10 05-23-2004 09:03 PM

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

All times are GMT -5. The time now is 09:18 PM.

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