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.
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?
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?
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.
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?
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).
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.
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
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
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")
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.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.