Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: SOLUTION: How to install Compress::Stream::Zstd in Strawberry Perl?

by swl (Prior)
on Mar 08, 2025 at 06:25 UTC ( [id://11164192]=note: print w/replies, xml ) Need Help??


in reply to SOLUTION: How to install Compress::Stream::Zstd in Strawberry Perl?
in thread How to install Compress::Stream::Zstd in Strawberry Perl?

Good to see it works, and thanks for the set of steps.

In the interests of TIMTOWTDI, steps 4-7 could be simplified using cpanm. Calling cpanm --look opens a shell in the build directory. On Windows it is a cmd chell.

(Untested)

cpanm --look Compress::Stream::Zstd :: You are now in the build dir :: This next line prints the location of the Alien::Zstd files, under +which will be libzstd.a perl -MAlien::Zstd -E"say Alien::Zstd->dist_dir" :: assuming it is in the dir you noted in your post the line would be copy c:/Strawberry/perl/site/lib/auto/share/dist/Alien-zstd/lib/libzst +d.a ext\zstd\lib :: (One could also use File::Copy to use perl to find and copy the fil +e in one step) :: build, test, install perl .\Build.PL && build && build test && build install :: back to your previous shell exit

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11164192]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2026-01-18 22:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (122 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.