Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

TeeJay (2309)

TeeJay
  (email not shown publicly)
http://www.aarontrevena.co.uk/

Working in Truro
Graduate with BSc (Hons) in Computer Systems and Networks
pm : london.pm, bath.pm, devoncornwall.pm
lug : Devon & Cornwall LUG
CPAN : TEEJAY [cpan.org]
irc : TeeJay
skype : hashbangperl
livejournal : hashbangperl [livejournal.com]
flickr :hashbangperl [flickr.com]

Journal of TeeJay (2309)

Tuesday November 09, 2004
12:40 PM

fun compiling par applications on XP

[ #21783 ]
It only took me most of the afternoon to sort out, which I suppose isn't too bad, but I managed to compile win XP executables using pp -o.

The executable uses things like Net::HTTP and Crypt::SSLeay so it was nontrivial, and GPG to boot.

My machine here at work has MS .Net Framework installed but I also had to install the Microsoft Visual C++ toolkit 2003 and the Platform SDK for windows XP SP2, then I had to heavily hack PATH to include all the oddly named and located binary paths. Then I had to copy missing includes and librarys into the vcc-tk directory (lots of duplicates only a handful are actually needed).

Judicious use of windows search (and its annoying user interface), vcvars32.bat (ensure its in your path) and the links provided in the relevent thread of the perl.par newgroup made it possible.

most of the problems boil down to MS tools putting libraries and executables all over the shop, and you having to specify the paths and/or move them around. Searching google and your own machine for the missing or broken file will eventually yield an environment that will compile binaries for your platform that should run on XP SP2.

Of course the easy way is to use the ready-built binarys of parl and pp that autrijus provides.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • If activestate kept up with CPAN this would have been fine, instead I had to uninstall the ppm par and install from source, which kind of defeats the purpose of ppm.

    Of course without AS I'd have to jump through even more hoops when using perl on WIN32.

    --

    @JAPH = qw(Hacker Perl Another Just);
    print reverse @JAPH;