Re:Bzip3: A better and stronger spiritual successor to BZip2
by ThatGuyRaion on Saturday February 01, 2025 @01:27PM
(#42900732)
zstd is a great setup, for sure, but the build system they use is patently awful. Can someone make an autoconf or hell, even CMake build system for them pleasee???
[ Parent
| on HN ]
Re:Bzip3: A better and stronger spiritual successor to BZip2
by loeg on Saturday February 01, 2025 @01:37PM
(#42900848)
Just install the binary package from whatever distro you use? Why do you need to build it?
But if it matters, FreeBSD has a pretty trivial BSDmake build of it:
https://github.com/freebsd/freebsd-src/blob/main/lib/libzstd...
https://github.com/freebsd/freebsd-src/blob/main/usr.bin/zst...
You could easily do something similar in GNU make or whatever without the dependencies on the FBSD build system. It's basically just the classic "cc -c a bunch of C files, then link them."
Re:Bzip3: A better and stronger spiritual successor to BZip2
by jrockway on Saturday February 01, 2025 @02:29PM
(#42901342)
I suppose the point of open source software is to edit the source code and make your own version. If you can't build it, you can't do that.
Re:Bzip3: A better and stronger spiritual successor to BZip2
by loeg on Saturday February 01, 2025 @03:09PM
(#42901737)
Zstd has lots of contributors who have all figured out how to edit and build it.
Re:Bzip3: A better and stronger spiritual successor to BZip2
by jrockway on Saturday February 01, 2025 @03:45PM
(#42902069)
Yeah, not sure what the original commenter is complaining about. I did "git clone https://github.com/facebook/zstd", "cd zstd", "make" and have a working binary. Doesn't get easier than that.
Re:Bzip3: A better and stronger spiritual successor to BZip2
by ThatGuyRaion on Sunday February 02, 2025 @12:48AM
(#42906288)
Not everyone is using a standard tool chain or anything like that and oftentimes when I find projects with atypical build systems that give me trouble I tend to just move on to something else
Re:Bzip3: A better and stronger spiritual successor to BZip2
by ThatGuyRaion on Sunday February 02, 2025 @12:48AM
(#42906286)
It's basically a giant GCCism. Don't be condescending.
Re:Bzip3: A better and stronger spiritual successor to BZip2
by loeg on Sunday February 02, 2025 @02:17AM
(#42906772)
I have no idea what you're talking about at this point.
Re:Bzip3: A better and stronger spiritual successor to BZip2
by ThatGuyRaion on Saturday February 01, 2025 @11:57PM
(#42905967)
> Just install the binary package from whatever distro you use? Why do you need to build it?
Cuz I'm actually a packaging maintainer for a couple different old operating systems. Regardless I thank you for being thankful even though I feel like you were being backhanded and demeaning on a number of levels.
Re:Bzip3: A better and stronger spiritual successor to BZip2
by arp242 on Sunday February 02, 2025 @07:50AM
(#42908315)
> you were being backhanded and demeaning on a number of levels.
What an awful comment to make.
Re:Bzip3: A better and stronger spiritual successor to BZip2
by MawKKe on Saturday February 01, 2025 @06:21PM
(#42903611)
Quick glance of zstd github repo shows they do provide CMake build scripts?
Re:Bzip3: A better and stronger spiritual successor to BZip2
by ThatGuyRaion on Saturday February 01, 2025 @11:58PM
(#42905970)
Last I touched it they only had glitchy make files and I don't like cmake particularly, I was just like "bespoke make files are fine if they're posix compliant, but these aren't"