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

Re^2: Perl Grant Approved: Improve Perl 5

by BUU (Prior)
on Feb 24, 2006 at 02:30 UTC ( #532443=note: print w/replies, xml ) Need Help??

in reply to Re: Perl Grant Approved: Improve Perl 5
in thread Perl Grant Approved: Improve Perl 5

Er, perhaps I'm a tad confused, but what exactly is stopping me frmo distributing a compiled perl right now? Activestate seems to manage it..
  • Comment on Re^2: Perl Grant Approved: Improve Perl 5

Replies are listed 'Best First'.
Re^3: Perl Grant Approved: Improve Perl 5
by chromatic (Archbishop) on Feb 24, 2006 at 06:30 UTC

    I have the impression that AS compiles their Perl with an exceedingly long sets of library paths, then edits the binary after installation to use the actual installation paths on that machine. Clever, but a hack.

      No. It's conveniently possible under Windows to get at the path where your executable lives in. ActiveState does patch some modules upon installation, I believe, but patching the Perl.exe executable is not necessary, as long as the relative position of files remains the same.

      C:\Programme\Perl\bin>perl -v This is perl, v5.8.3 built for MSWin32-x86-multi-thread (with 8 registered patches, see perl -V for more detail) Copyright 1987-2003, Larry Wall Binary build 809 provided by ActiveState Corp. http://www.ActiveState. +com ActiveState is a division of Sophos. Built Feb 3 2004 00:28:51 Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using `man perl' or `perldoc perl'. If you have access to + the Internet, point your browser at, the Perl Home Pa +ge. C:\Programme\Perl\bin>.\perl.exe -e die@INC C:/Programme/Perl/libC:/Programme/Perl/site/lib. at -e line 1. C:\Programme\Perl\bin>Q: Q:\>cd tmp_perl Q:\tmp_perl>xcopy /s C:\Programme\Perl . ... Q:\tmp_perl>cd bin Q:\tmp_perl\bin>.\perl -e die@INC Q:/tmp_perl/libQ:/tmp_perl/site/lib. at -e line 1.

      Update:See the below response - of course does not reflect the new directory and thus needs to be patched.

      Yep - if you simply extracted the '.zip' binary builds (rather than install by running 'install.bat' as one is supposed to do) and then ran, eg, 'perl -V:archlib', you'd get:


      I imagine it's still the case, though if you try that with recent builds all you get is:


      In both cases, installing with 'install.bat' would produce the desired results.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://532443]
[LanX]: belg4mit: thanks for fixing your CB log!

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2018-06-23 15:03 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.