in reply to Re: How to install Compress::Stream::Zstd in Strawberry Perl?
in thread How to install Compress::Stream::Zstd in Strawberry Perl?
I let that run for awhile, because I have an underpowered Surface 8.cpan Alien::zstd
I don't know about the path to point to this (please add those steps if you know the proper way), so I did the simple and expedient thing of going into the cpan/build/Compress-Stream-Zlib-0.206-0 directory (the last digits may be different for you). Under ext/zstd/lib is the source for Zstd, but I'm not falling that again. Instead of building all that, I simply copied the previous libzstd.a file into it:C:\strawberry\perl\site\lib\auto\share\dist\Alien-zstd\lib\libzstd.a
Then I ran the Build steps and it seems to work out:cp C:\strawberry\perl\site\lib\auto\share\dist\Alien-zstd\lib\libzstd. +a .\ext\zstd\lib
Now the trick is packaging that for a distributed single-file app.perl ./Build.PL ./Build ./Build test ./Build install
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: How to install Compress::Stream::Zstd in Strawberry Perl?
by swl (Prior) on Mar 05, 2025 at 01:50 UTC |