in reply to Statically build XML Parser embedded in Perl

I am adding a module XML::Parser statically in my Perl which I build from its source. To build Parser statically I removed DynaLoader and bootstrap from Parser.pm and Expat.pm files.

Hmm, that seems like the wrong thing to do

IIRC, in theory, all you do is compile a static perl, then run make perl to get a new static perl when installing XML::Parser , see http://perldoc.perl.org/perlxstut.html#Dynamic-Loading-versus-Static-Loading

See ALL_STATIC / BUILD_STATIC / STATIC_EXT ... How to bundle additional non-core CPAN modules with a custom set

Replies are listed 'Best First'.
Re^2: Statically build XML Parser embedded in Perl
by Anonymous Monk on Nov 28, 2014 at 01:34 UTC