2 ms·
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
by loeg 2y ago
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/Makefile https://github.com/freebsd/freebsd-src/blob/main/lib/libzstd...
https://github.com/freebsd/freebsd-src/blob/main/usr.bin/zstd/Makefile 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."
- jrockway 2y agoI 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.
- loeg 2y agoZstd has lots of contributors who have all figured out how to edit and build it.
- ThatGuyRaion 2y agoIt's basically a giant GCCism. Don't be condescending.
- loeg 2y agoI have no idea what you're talking about at this point.
- jrockway 2y agoYeah, not sure what the original commenter is complaining about. I did "git clone https://github.com/facebook/zstd https://github.com/facebook/zstd", "cd zstd", "make" and have a working binary. Doesn't get easier than that.
- ThatGuyRaion 2y agoNot 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
- ThatGuyRaion 2y ago> 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.
- arp242 2y ago> you were being backhanded and demeaning on a number of levels. What an awful comment to make.