Eric Wilhelm wrote:
# from m.nooning
# on Saturday 27 January 2007 02:20 pm:

Sorry, I had to retype this a bit to make sense of it. I guess I can't read with all of those \'s and ~'s.

$ cat hello.pl
print "hello\n";

$ pp -c hello.pl
Set up gcc environment - 3.4.2 (mingw-special)

$ ./a
mkdir $TEMP\par-malcolm\cache-foo/inc/lib/C:/ : Invalid argument at C:/perl/lib/Archive/Zip.pm line 659
$ ./a
hello

So, you're saying that this doesn't happen if you leave-off the

Correct.  It does not happen if I leave off the --compile switch

--compile switch? I believe this must also be something in Module::ScanDeps. Please check the MANIFEST and I believe you will find that there is a file called lib/C:/Perl/$SOMETHING in it. Is it a .pm file? If so, how did it get there? Hint: I think it comes from %INC in Module::ScanDeps::DataFeed, and it seems that it must be from some sort of 'require("C:/Perl/.../foo.pm")' that happens during the compilation. I believe it then hits a bad regexp replacement of sorted inc paths not accounting for the slash/backslash duality in M::SD::_make_rv.

--Eric

>check the MANIFEST
By this, I assume you mean the Module-ScanDeps-0.71 MANIFEST.
No, it is not there. Nor is it in the PAR-Packer MANIFEST.

In fact, there is no colon : in either MANIFEST.

I will paste both files
--------------paste Module-ScanDeps-0.71 MANIFEST
AUTHORS
Changes
inc/Module/Install.pm
inc/Module/Install/Base.pm
inc/Module/Install/Can.pm
inc/Module/Install/Fetch.pm
inc/Module/Install/Makefile.pm
inc/Module/Install/Metadata.pm
inc/Module/Install/Scripts.pm
inc/Module/Install/Win32.pm
inc/Module/Install/WriteAll.pm
lib/Module/ScanDeps.pm
lib/Module/ScanDeps/DataFeed.pm
Makefile.PL
MANIFEST                        This list of files
META.yml
README
script/scandeps.pl
t/0-pod.t
t/1-basic.t
t/2-pluggable.t
t/data/Foo.pm
t/data/Foo/Plugin/Bar.pm
t/data/Foo/Plugin/Baz.pm
SIGNATURE Public-key signature (added by MakeMaker)
--------------end paste Module-ScanDeps-0.71 MANIFEST

-----------paste PAR-Packer MANIFEST
ChangeLog
contrib/automated_pp_test/automated_pp_test.pl
contrib/automated_pp_test/hello_tk.pl
contrib/automated_pp_test/hi.ico
contrib/automated_pp_test/pipe_a_command.pm
contrib/automated_pp_test/prior_to_test.pm
contrib/automated_pp_test/remove_file_and_try_executable_again.pm
contrib/automated_pp_test/test_in_further_subdir.pm
contrib/docs/where_is_it.txt
contrib/docs/who_am_i.txt
contrib/gui_pp/gpp
contrib/gui_pp/gpp_readme.txt
contrib/pare/pare
contrib/pare/pare_readme.txt
contrib/procedural_pp/pp_old
contrib/stdio/Stdio.pm
contrib/stdio/Stdio_readme.txt
inc/Module/AutoInstall.pm
inc/Module/Install.pm
inc/Module/Install/AutoInstall.pm
inc/Module/Install/Base.pm
inc/Module/Install/Can.pm
inc/Module/Install/Fetch.pm
inc/Module/Install/Include.pm
inc/Module/Install/Makefile.pm
inc/Module/Install/Metadata.pm
inc/Module/Install/PAR.pm
inc/Module/Install/Win32.pm
inc/Module/Install/WriteAll.pm
inc/Test/Builder.pm
inc/Test/Builder/Module.pm
inc/Test/More.pm
lib/App/Packer/PAR.pm
lib/PAR/Filter.pm
lib/PAR/Filter/Bleach.pm
lib/PAR/Filter/Bytecode.pm
lib/PAR/Filter/Obfuscate.pm
lib/PAR/Filter/PatchContent.pm
lib/PAR/Filter/PodStrip.pm
lib/PAR/Packer.pm
lib/PAR/StrippedPARL/Base.pm
lib/PAR/StrippedPARL/Dynamic.pm
lib/PAR/StrippedPARL/Static.pm
lib/pp.pm
Makefile.PL
MANIFEST                        This list of files
MANIFEST.SKIP
META.yml
myldr/encode_append.pl
myldr/env.c
myldr/file2c.pl
myldr/internals.c
myldr/main.c
myldr/Makefile.PL
myldr/mktmpdir.c
myldr/mktmpdir.h
myldr/parlsig.pl
myldr/sha1.c.PL
myldr/static.c
myldr/usernamefrompwuid.c
myldr/utils.c
myldr/win32.coff
myldr/win32.obj
myldr/win32.res
package/parl.nsi
README
script/par.pl
script/parl.pod
script/pp
script/tkpp
t/00-pod.t
t/10-parl-generation.t
t/20-pp.t
t/30-current_exec.t
t/test-proc
TODO
SIGNATURE Public-key signature (added by MakeMaker)
-----------end paste PAR-Packer MANIFEST




Reply via email to