ok I did a clean install on a PC with Windows 2003 that had never Perl installed
1.strawberry-perl-5.10.1.5.msi 2.perl -V shows : Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread uname='Win32 strawberryperl 5.10.1.5 #1 Sun May 15 09:44:53 2011 i386' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE - DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_RE ADFIX', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='3.4.5', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long', lseek size=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\li b"' libpth=C:\strawberry\c\lib libs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi3 2 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversio n -lodbc32 -lodbccp32 perllibs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladv api32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lve rsion -lodbc32 -lodbccp32 libc=, so=dll, useshrplib=true, libperl=libperl510.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\st rawberry\c\lib"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_SITECUSTOMIZE Built under MSWin32 Compiled at May 15 2011 09:50:23 %ENV: PERL_JSON_BACKEND="JSON::XS" PERL_YAML_BACKEND="YAML" @INC: C:/strawberry/perl/lib C:/strawberry/perl/site/lib C:\strawberry\perl\vendor\lib . Still vendor lib path messed up 3.XSLoader.pm is version 0.15 and does not contain a 'goto retry' reference 4. pp -o test.exe test.pl 5.renamed strawberry to strawberrX so the dependencies cannot be found 6.run test.exe same error "Can't locate loadable object for module IO" etc..... 7.applied your patch,rebuilt,pp'ed again,runs ok but this is Strawberry 5.10.1.5 not 5.12 or 5.14 On Mon, Jun 20, 2011 at 10:10 AM, Roderich Schupp < roderich.sch...@googlemail.com> wrote: > On Fri, Jun 17, 2011 at 6:59 AM, Nikos <nikos...@gmail.com> wrote: > > can you shed more light on the internals of why my quick 'hack' worked > > before patching PAR? it was a hack based on observation rather than > having > > knowledge of the internals > > Dunno. Maybe there's another problem still lurking there. Or your testing > was a bit flawed - with PAR::Packer you have to be very careful to always > do > a whole clean/build/install/repack/purge cache area/test cycle. > You also said that you rebuilt Strawberry yourself. Maybe that way you > inadvertently reverted to the "old" XSLoader.pm, look for a line containing > "goto retry". If you see one, it's the "old" version. > > Cheers, Roderich >