Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: pp missing module error

by haj (Vicar)
on May 27, 2020 at 21:14 UTC ( [id://11117362]=note: print w/replies, xml ) Need Help??


in reply to Re^2: pp missing module error
in thread pp missing module error

Ok, I got hold of two Windows systems... one to build the executable, the other with no Strawberry (such things exist!) to run it. Here's the pp invocation in my .bat file:
pp --verbose ^ --link=libgd-3__.dll ^ --link=libbz2-1__.dll ^ --link=libgraphite2__.dll ^ --link=libharfbuzz-0__.dll ^ --link=libfreetype-6__.dll ^ --link=libiconv-2__.dll ^ --link=libjpeg-9__.dll ^ --link=liblzma-5__.dll ^ --link=libpng16-16__.dll ^ --link=libtiff-5__.dll ^ --link=libXpm__.dll ^ --link=zlib1__.dll ^ --module=GD ^ --output=gdpacked.exe ^ pack_gd.pl

The program pack_gd.pl is just the synopsis from GD on metacpan. Running pp produces no error, and running the executable prints a PNG image. So when you run it, remember to redirect the output to a .png file.

In my first reply, I mixed up some dashes with underscores and missed a few dependencies. Sorry.

Replies are listed 'Best First'.
Re^4: pp missing module error
by nzsvz9 (Sexton) on May 28, 2020 at 11:39 UTC
    Thanks very much - this worked - explicitly linking in the list of libraries.

    I did also try ppsimple - however the install of Proc::Background failed test 47 and did not install - after installing SomeUtils and AllUtils. But, I digress.

    My sincere thanks to everyone who chimed in to help - and get this off zero for me - you are appreciated :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-26 06:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found