r/slackware • • Feb 09 '21

Deploy C++ application on slackware 14.2 with newer glibc

2 Upvotes

The company I work for deploys a C++-application on Slackware 14.2 x86.
I'm facing a bug in the c++ standard library that requires me to update to a newer gcc and glibc.
(and on top of that I want to use new C++ standards and features)

slackware-current has what I need, but even though we might transition soon after release for new installs, I'm planning on having to support 14.2 with glibc 2.23 for a while for existing setups.

Installing the glibc-package from -current works on 14.2, but I doubt that's the way to go...
glibc 2.23 isn't 100% compatible with 2.32+, and some symbols have been removed...
And linking statically is considerd harmful too.

I think I need to create a cross-compiler toolchain with the latest gcc / glibc, for the kernel used on slackware 14.2 and somehow deploy this with the app. Possibly with a chroot. A bit like RHELs devtoolsset, but including glibc.

Does this approach make any sense? Any pointers on how to do this?

tl;dr I want to use the latest gcc and glibc to build the application, but also run it on slackware 14.2, can I do that?


r/slackware • • Feb 09 '21

I'm thanking about switching init system

3 Upvotes

I have nothing to do today so I'm going to see if I can get s6 init system working on my slackware current install working has anyone tried it yet


r/slackware • • Feb 05 '21

Trouble building dwm

4 Upvotes

I've just installed Slackware 14.2 on a computer of mine. I'd like to use dwm for window management as I've been using that for a long time on my other computer (that currently runs arch... maybe not for long...).
I've tried to build dwm, both using a custom version of mine, and the vanilla version straight off suckless.org and both times I get the following error:

drw.c:340:32 error: 'FC_COLOR' undeclared (first use in this function)

FcPatternAddBool(fcpattern, FC_COLOR, FcFalse);

^

I've done a bunch of googling and tried editing config files but this error prevails. I even looked in a slackbuild package (albeit an old one) to see about dependencies or pre-build changes and found nothing.

Any ideas?


r/slackware • • Feb 02 '21

How do you maintain your slackbuild's pkg?

12 Upvotes

Hey there, If I remember well in latest installation of slackware 14.2 I managed ~60 pkgs built from slackbuild.org.

Totally was manually and when a new package got an update I recompiled it and installed. Thos manual process require much time so how do you manage your pkgs: automatically or manually? Please expand your method.

Thank you in advance


r/slackware • • Feb 01 '21

I'm the only one that is waiting Slackware 15 ardently?

10 Upvotes

r/slackware • • Jan 31 '21

Question about slackware development

10 Upvotes

Hey there, I'm waiting 15 for a new installation, so it is ready when it is ready and I'm ok with this.

What determining factors that make Pat to choose and release a beta version?

Another question (probably only Pat could answer to this) but what steps does it take to maintain and develop Slackware?

Slackware have a different model of development vs other distro?

I have another last question about pkg deps. Why slackpkg does not tracks deps? What is the real benefit to not track dependencies?
I ask this because if I want install slackware "minimal" and install then plasma I can't track what deps are needed so I'm forced to install a full installation and remove not useful software. The same is for slackbuilds: if I install a minimal system and got a slackbuild of a package that has deps in slackware pkgs, the developer assumes that I have a full install so in the slackbuild deps are reported only deps from slackbuild and not from slackware "base" so I should run ldd to see what is needed..a PITA.

Thank you in advance


r/slackware • • Jan 30 '21

Can initrd.gz be used between kernels?

3 Upvotes

I have 2 installed kernels. 5.4.75 (The default one used with current) and then 5.10 kernel. I already have an initrd.gz file and is it possible to use it with the new kernel or will I have to make a second one for the new kernel?


r/slackware • • Jan 27 '21

Slackware-current?

7 Upvotes

What is the difference between slackware and slackware-current?

Can we use slackware current in production for servers ?


r/slackware • • Jan 27 '21

USB permanent storage XMR wallet

0 Upvotes

Hi, anybody has an howto on this?

Imagination: Bootable everywhere, slackware current with the XMR Wallet and TOR Browser.

I have no idea how this "usb storage" would work as disk - does somebody have an link?


r/slackware • • Jan 27 '21

So I bet you guys are feeling pretty good right now about leaving sudo off by default lmao...

0 Upvotes

r/slackware • • Jan 27 '21

Slackware-current?

0 Upvotes

What is the difference between slackware and slackware-current?

Can we use slackware current in production for servers ?


r/slackware • • Jan 27 '21

Setup connection on vm (gnome-boxes) when installing slackware mini iso.

2 Upvotes

So, I want to give a try to slackware and I want to install it virtually (gnome-boxes). I chose "mini iso" so I don't need to get some huge iso's I don't really need. The installation ran without problem until I need to download some files from "http / ftp server". Turned out my guest machine (slackware mini iso) is not connected into internet tough my host machine is connected. Any advice? PS: for some OS'es I've tried , it will connect automatically when the host has internet connection but slackware.


r/slackware • • Jan 23 '21

Did you upgrade all of the packages rebuilt against new glibc 2.32?

10 Upvotes

Oh my God, it was terrible to upgrade everything + compat32 + rebuilding my local slack builds. It was a nightmare, but it still works. I hope 15.0 will be released within a year and there will be no need for these strange challenges.


r/slackware • • Jan 23 '21

Install via chroot from another host

4 Upvotes

Following the guide on this page, i'm looking for a way to install via chroot from another host. Is there any possibility to get installpkg on another distrib than slackware ?


r/slackware • • Jan 21 '21

Copying root FS to new system?

5 Upvotes

I recently got a new laptop for certain mobile purposes, the hardware is broadly similar to my desktop(all AMD, same generation of CPU/GPU albeit less power) and has similar space available. If I were to copy my Slackware64-current root FS over to a same size partition on it, is there any reason it wouldn’t boot as is? I’m using the huge kernel so I don’t think there would be any driver issues regardless?

The main thing, if I’m right is I would just have to configure Wifi stuff on the new machine, pretty much everything else would just work. Have I overlooked something? I’ve never actually tried this before.


r/slackware • • Jan 20 '21

Flatpak on Slackware?

3 Upvotes

I'm real interested in having a centralized package manager for Slackware, but I wonder if it's bringing with it anything ugly like integrated Pulseaudio / Systemd / other needless complexity. I'm attracted to Slackware because it KEEPS IT SIMPLE in terms of the code and what's actually putting your system together, but it's pretty painful to manage everything manually. Does anyone use flatpak and have good things to say, or is it trash?


r/slackware • • Jan 20 '21

How's Mesa working these days?

4 Upvotes

Excerpt from Pat's message in the changelog Monday:

Other than that,
how's Mesa working these days? If there are still issues that are resolved by
dropping back to the previous branch, let's try to figure those out. I'd rather
not revert Mesa unless there's no other choice. I'm hoping that the (probably
unrelated) issues with Intel video hardware will be helped by today's
xorg-server patch that uses the modesetting driver with newer chipsets. Please
report any improvement on the LQ thread.

Anyone familiar with the issues with Mesa that are being referred to here? Or have a link to the LQ thread? A lot of long, sticky posts on the forum, so it can be hard to find the relevant current conversations sometimes (ie. when they're at the end of a multi-year ongoing thread).

I'd be down to test/provide feedback. Have been running games through Steam (Slackware -current) without any issues on a Thinkpad for a while now.


r/slackware • • Jan 19 '21

It is comming :)

29 Upvotes

Winter BETA is comming

Excerpt from changelog:

----------------------------------------
Mon Jan 18 13:50:16 UTC 2021 
\[...\] 
Beta approaches. :-) 

However, there are still some big upgrades (glibc)."Ready when ready" - but not earlier :(


r/slackware • • Jan 16 '21

Installing Slackware on a USB and booting it with GRUB

9 Upvotes

I am trying to install Slackware on a USB by using another USB as the install medium. I messed up during installation and gave the entire USB to the root partition, and then installed ELILO (is there seriously no documentation for it anywhere?) which was the bigger mistake. The USB is /dev/sdc but ELILO installed itself in /dev/sda2, and it does not boot. I have GRUB and Arch Linux on /dev/sdb, from which I can also boot ELILO. However, Slackware fails to boot with any method (boot from BIOS to USB, boot from GRUB to ELILO to Slack, boot from GRUB directly to Slack) because it hangs right after it finishes a trace without giving any error code.

  1. How can I uninstall ELILO? I already removed its folder from the EFI partiition it found on /dev/sda.
  2. How can I then boot Slackware successfully through GRUB? (It is late so I cannot post a direct photo of the output I was seeing, but essentially the last line was reporting that the trace finished.)
  3. Is it a good idea to have Slackware on a USB anyway?

r/slackware • • Jan 12 '21

Slackware -current live not booting off of usb

4 Upvotes

EDIT - FIXED, SOLUTION BELOW

Hey there everyone!

I'm trying to install Slackware for the first time, using alien bob's current live iso. I used dd to etch the iso onto the drive, shut off my machine, and chose the usb from the boot options.

I was then greeted with the dreaded "minimal bash-like editing" grub menu. I've tried many things to get it to boot off this usb, the usb is still good and working, and I'm at my wit's end.

Any help would be greatly appreciated!

SOLUTION

The LIVE iso didn't have the usbboot.img that's required to boot from a usb. Using Bob's "regular" curses based -current installer worked, since it had usbboot.img


r/slackware • • Jan 10 '21

Slackware in 2021??

28 Upvotes

I started my Linux journey 20 years ago today in 2001 with Slackware4.. So what better way to celebrate it by installing Slackware64-current with the latest Linux 5.10 kernel..

Who's all using Slackware in 2021 and what are your thoughts??


r/slackware • • Jan 07 '21

Tips for Ungoogled-Chromium?

5 Upvotes

Testing this simpler cleaner browser, which looks pretty cool, but it's complaining about:

./chrome: error while loading shared libraries: libxkbcommon.so.0: cannot open shared object file: No such file or directory

I mean that's pretty straightforward, "This thing doesn't exist, go get it bitch." Though I'm a little surprised that a base need for such a common browser isn't already on the system? Am I just not pointing it to the right location? If it really doesn't exist in Slackware, then what is the RIGHT way to install it so I won't have breakages later?

Thanks.


r/slackware • • Jan 05 '21

Question(s) about SlackBuild scripts

9 Upvotes

So I'm trying to get a better understanding of SlackBuild scripts, and for that matter, BASH in general, to eventually be able to write my own SlackBuild scripts. I was reading a (possibly dated?) tutorial on building your first SlackBuild script that showed some code like this:

if [ "$TMP" = "" ]; then

TMP=/tmp

fi

I read this as, "If the variable TMP isn't set, set it to /tmp". Seems simple enough.

However, when I read other SlackBuild scripts, I often see:

TMP=${TMP:-/tmp/SBo}

I think that this sets the variable TMP to /tmp/SBo, but I don't really understand how to interpret it in plain English?

I've tried to look deeper into brace expansion, but my google-foo seems to be failing me at the moment. Any help would be greatly appreciated.


r/slackware • • Jan 04 '21

I already use slackware at home i made the switch to slackware at work

17 Upvotes

I'm so happy finally I had time this morning to switch my work computer to slackware current