LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-10-2023, 03:16 AM   #1
bigbadaboum
Member
 
Registered: Apr 2023
Posts: 151

Rep: Reputation: 62
Post Slackware is not a distribution but a learning machine


a few weeks ago I updated xz-5.4.5

when I recompile the gegl-0.2.2 slackbuild i got this:
/usr/bin/sed: can't read /usr/lib64/liblzma.la: No such file or directory
libtool: error: '/usr/lib64/liblzma.la' is not a valid libtool archive

even the exellent LFS site does not talk about a dependency of xz for gegl.
https://lfs.lug.org.cn/blfs/view/7.9/general/gegl.html
 
Old 12-10-2023, 03:21 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,651
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
It's a convention of BLFS that packages which form part of LFS do not count as dependencies. That's because all the packages in LFS are compulsory. It's like complaining that a slackbuild did not mention something that is part of the Slackware installation image.
 
3 members found this post helpful.
Old 12-10-2023, 03:29 AM   #3
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Quote:
Originally Posted by bigbadaboum View Post
a few weeks ago I updated xz-5.4.5

when I recompile the gegl-0.2.2 slackbuild i got this:
/usr/bin/sed: can't read /usr/lib64/liblzma.la: No such file or directory
libtool: error: '/usr/lib64/liblzma.la' is not a valid libtool archive

even the exellent LFS site does not talk about a dependency of xz for gegl.
https://lfs.lug.org.cn/blfs/view/7.9/general/gegl.html
how does this correlate with the title?
 
1 members found this post helpful.
Old 12-10-2023, 03:34 AM   #4
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,915

Rep: Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033
Have you perhaps got some errant .la files lurking in /usr/lib64 that shouldn't be there?

edit:
gegl-0.2.2? Actually, that's really old, what are you running? If you're trying to use a "post .la removal" xz slackbuild on a "pre .la removal" slackware I'm not surprised you're having difficulties.


Quote:
Originally Posted by hazel View Post
It's a convention of BLFS that packages which form part of LFS do not count as dependencies. That's because all the packages in LFS are compulsory.
CRUX do the same. Anything in 'core' does not get listed as a dependency of any of the optional packages.

Last edited by GazL; 12-10-2023 at 03:52 AM.
 
Old 12-10-2023, 03:39 AM   #5
bigbadaboum
Member
 
Registered: Apr 2023
Posts: 151

Original Poster
Rep: Reputation: 62
my god the Slackware gurus always have an answer for everything

https://distrowatch.com/table.php?di...n=12.0#pkglist

GazL
LQ Veteran

my intel gpu is no longer supported beyond kernel 4.4 (that's why I'm staying with Slackware64 14.2 and a old gegl-0.2.2)

# Don't ship .la files:
# rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
in xz Slackbuild solved the problem

but it was finding XZ as a dependency for GEGL that really surprised me.

Last edited by bigbadaboum; 12-10-2023 at 04:09 AM.
 
Old 12-10-2023, 04:01 AM   #6
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,854

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Quote:
Originally Posted by bigbadaboum View Post
a few weeks ago I updated xz-5.4.5

when I recompile the gegl-0.2.2 slackbuild i got this:
/usr/bin/sed: can't read /usr/lib64/liblzma.la: No such file or directory
libtool: error: '/usr/lib64/liblzma.la' is not a valid libtool archive
Where did you get 'the gegl-0.2.2 slackbuild'? If you wrote it yourself, you should know what you were doing with sed and liblzma.la. Slackware never had it: gegl-0.2.0 was upgraded to gegl-0.4.0 May 1 2018 (-current between 14.2 and 15.0). It's now gegl-0.4.46 in 15.0.

And, Apr 19 2018, in a Mass Rebuild, /usr/lib64 got rid of all .la files.
 
1 members found this post helpful.
Old 12-10-2023, 05:40 AM   #7
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,854

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Quote:
Originally Posted by bigbadaboum View Post
it was finding XZ as a dependency for GEGL that really surprised me.
I don't know about your gegl-0.2.2 but gegl-0.2.0-x86_64-4_slack14.2 does not link against liblzma.so.5, if that's what you think.

/usr/lib64/gegl-0.2/svg-load.so does not link against liblzma.so.5 but it links against librsvg-2.so.2.

And then, librsvg-2.so.2 of package librsvg-2.40.20-x86_64-1_slack14.2 does link against liblzma.so.5.

Last edited by Petri Kaukasoina; 12-10-2023 at 06:21 AM.
 
Old 12-10-2023, 06:03 AM   #8
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
Blog Entries: 17

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
I agree, Slackware is an excellent learning distribution. With it, you have easy access to change just about anything, and pretty much everything is extremely well documented inside related files. You don't have to be a genius to figure these things out, it's not made overcomplicated, and with the documentation you can figure it out if you want. It also doesn't really include some exotic distro specific methods to get things done, rather generally sticks with the already established and distributed norms.

I had to rebuild ffmpeg and MPlayer yesterday, and instead of having to figure out everything from scratch, I could just study how BDFL had put together these packages, made a few (very few) adjustments and build the package like he did (but with my adjustments). It was rather easy to figure out too, as it was fully documented.

Furthermore, for the same reason you can do the above by default, Slackware is a devtool powerhouse, and if anyone ever asked me if I could recommend a distribution (or an OS) for programming, or learning programming, I'd only answer Slackware. Perhaps it's not the intended design, but if a school for example needs an OS where students can program and learn to program, Slackware would be a great choice,

So, it's not only a great choice to study the operating system itself, but also for the devtools it includes by default.
 
Old 12-10-2023, 06:05 AM   #9
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
Blog Entries: 17

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
Quote:
Originally Posted by solarfields View Post
how does this correlate with the title?
Good question that.
 
Old 12-10-2023, 07:11 AM   #10
bigbadaboum
Member
 
Registered: Apr 2023
Posts: 151

Original Poster
Rep: Reputation: 62
zeebra
Senior Member
Quote:
"Originally Posted by solarfields View Post
how does this correlate with the title?"
Good question that.

you knew that liblzma was a gegl dependency and that for several years the gnome project had been trying not to use a static library anymore.
I am not an alien look at the comments on Slackware we often find "I learned more in 5 years of Slackware than for 10 years on my previous distribution"
 
2 members found this post helpful.
Old 12-10-2023, 10:01 AM   #11
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
Blog Entries: 17

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
Quote:
Originally Posted by bigbadaboum View Post
I am not an alien look at the comments on Slackware we often find "I learned more in 5 years of Slackware than for 10 years on my previous distribution"
I couldn't agree more, which is why I returned to using Slackware (my first distro was Slackware 20+ years ago). All these years of distrohopping, I still always had in the back of my head that Slackware is the superb distro for learning more.
 
2 members found this post helpful.
Old 12-10-2023, 10:19 AM   #12
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian, OpenBSD
Posts: 7,345

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Cool

Quote:
Originally Posted by zeebra View Post
I couldn't agree more, which is why I returned to using Slackware (my first distro was Slackware 20+ years ago). All these years of distrohopping, I still always had in the back of my head that Slackware is the superb distro for learning more.
Like you, zeebra, I distro hop from time to time. I'm also back again with Slackware only. I'm currently dual booting Slackware64-current and OpenBSD 7.4 on this box. Early next year will mark 20 years with Slackware. Slackware is an exceptional distro, it has honed my problem solving skills. Slackware is first rate.
 
Old 12-10-2023, 11:02 AM   #13
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 676
Blog Entries: 1

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
Originally Posted by bigbadaboum View Post
zeebra
Senior Member
Quote:
"Originally Posted by solarfields View Post
how does this correlate with the title?"
Good question that.

you knew that liblzma was a gegl dependency and that for several years the gnome project had been trying not to use a static library anymore.
I am not an alien look at the comments on Slackware we often find "I learned more in 5 years of Slackware than for 10 years on my previous distribution"
you are not the only one... me too and more others
 
Old 12-11-2023, 03:04 AM   #14
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
Blog Entries: 17

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
Quote:
Originally Posted by hitest View Post
Like you, zeebra, I distro hop from time to time. I'm also back again with Slackware only. I'm currently dual booting Slackware64-current and OpenBSD 7.4 on this box. Early next year will mark 20 years with Slackware. Slackware is an exceptional distro, it has honed my problem solving skills. Slackware is first rate.
It sure is, and the learning part was not the only reason I switched. Slackware 15 looked for the longest time to become a very shiny nice distro, and it is so. And well, let's not forget that I was sick and tired of the limitations of systemd also.

I'm extremely happy with the switch back, and I was previously using a very polished distro, one that even mostly followed classic GNU/Linux principles as well, plus gave alot of luxuries, like package manager and their own set of system management tools. To be frank, it's going to sound strange, but I was kind of sick and tired of package management too, just "too" convenient and offering no customization. I quite enjoy putting together my own packages in Slackware, that's a learning process too btw, and I will mostly just install what I need, not a bunch of crap I don't need (with a single click).
 
2 members found this post helpful.
Old 12-11-2023, 08:45 AM   #15
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
Slackware: It doesn't suck. Disco sucks. Slackware doesn't.

Slackware: When you get serious. Serious about real functionality and ease of practical use. Serious about reliability and ability.

Slackware: for the SubGenius.
 
  


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
LXer: Machine Learning in Linux: Audiocraft - audio processing and generation with deep learning LXer Syndicated Linux News 0 06-30-2023 10:42 AM
LXer: Machine Learning in Linux: scikit-learn – machine learning library for Python LXer Syndicated Linux News 0 03-13-2023 06:36 PM
LXer: Machine Learning in Linux: Coqui STT - deep-learning toolkit for training and deploying speech-to-text models LXer Syndicated Linux News 0 02-28-2023 03:05 AM
LXer: Machine Learning, Deep Learning 101 LXer Syndicated Linux News 0 07-20-2016 11:00 AM

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

All times are GMT -5. The time now is 12:45 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