Subject: | Build fails in directories with names that contain whitespace |
Hi!
Thank you for maintaining Alien::wxWidgets!
The build on Windows XP SP3 with Strawberry 5.16 fails when building in
a directory that has whitespace in its name. The default build directory
of App::cpanminus has whitespace in its name under Windows.
my $cmd = qq{perl -pe "" -- $patch_file} .
qq{ | $patch_exe -N -p0 -u -b -z .bak};
Most likely, $patch_file needs to be quoted with double quotes, at least
if it contains whitespace.
Building with the Strawberry 5.16 toolchain also fails for a different
reason when building in a non-whitespace directory, but that'll go into
a different bugreport :)
-max
Fetching
http://www.cpan.org/authors/id/M/MD/MDOOTSON/Alien-wxWidgets-0.59.tar.gz
... OK
Entering C:/Dokumente und
Einstellungen/corion/.cpanm/work/1342345454.7672/Alien-wxWidgets-0.59
with C:\WINDOWS\system32\cmd.exe
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59>perl
-v
This is perl 5, version 16, subversion 0 (v5.16.0) built for
MSWin32-x86-multi-thread
Copyright 1987-2012, Larry Wall
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 kit.
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 http://www.perl.org/, the Perl Home Page.
C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59>perl
Makefile.PL
# running Build.PL
Do you want to fetch and build wxWidgets from sources? [yes ]
yes
Which wxWidgets version? (2.8.10, 2.8.11, 2.8.12, 2.9.0, 2.9.1, 2.9.2,
2.9.3) [2.8.12 ]
2.8.12
Which archive type? [tar.gz ]
tar.gz
Do you want to enable Unicode support [yes ]
yes
Do you want to include OpenGL support [yes ]
yes
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Alien-wxWidgets' version '0.59'
C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59>dmake
c:\Strawberry-5.16\perl\bin\perl.exe Build --makefile_env_macros 1
Building Alien-wxWidgets
Fetching wxWidgets...
fetching from:
http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.12.tar.gz
Error listing contents of archive 'C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\wxWidgets-
2.8.12.tar.gz': Der Befehl "-cdf" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
at inc/My/Build/Base.pm line 322.
Patching wxWidgets...
Applying patch: C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.0-setup_u.p
atch
perl -pe "" -- C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.0-setup_u.pa
tch | ..\inc\bin\patch.exe -N -p0 -u -b -z .bak
Can't open C:\Dokumente: No such file or directory.
Can't open und: No such file or directory.
Can't open
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.0-setup_u.patch:
No such file or
directory.
Applying patch: C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.10-config.p
atch
perl -pe "" -- C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.10-config.pa
tch | ..\inc\bin\patch.exe -N -p0 -u -b -z .bak
Can't open C:\Dokumente: No such file or directory.
Can't open und: No such file or directory.
Can't open
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.10-config.patch:
No such file or
directory.
Applying patch: C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.11-makefile
s.patch
perl -pe "" -- C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.11-makefiles
.patch | ..\inc\bin\patch.exe -N -p0 -u -b -z .bak
Can't open C:\Dokumente: No such file or directory.
Can't open und: No such file or directory.
Can't open
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.11-makefiles.patch:
No such file
or directory.
Applying patch: C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.10-w64-mslu
.patch
perl -pe "" -- C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.10-w64-mslu.
patch | ..\inc\bin\patch.exe -N -p0 -u -b -z .bak
Can't open C:\Dokumente: No such file or directory.
Can't open und: No such file or directory.
Can't open
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.10-w64-mslu.patch:
No such file o
r directory.
Applying patch: C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.10-w64-winh
ash.patch
perl -pe "" -- C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.10-w64-winha
sh.patch | ..\inc\bin\patch.exe -N -p0 -u -b -z .bak
Can't open C:\Dokumente: No such file or directory.
Can't open und: No such file or directory.
Can't open
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.10-w64-winhash.patch:
No such fil
e or directory.
Applying patch: C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.12-w64.patc
h
perl -pe "" -- C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.12-w64.patch
| ..\inc\bin\patch.exe -N -p0 -u -b -z .bak
Can't open C:\Dokumente: No such file or directory.
Can't open und: No such file or directory.
Can't open
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.12-w64.patch:
No such file or dir
ectory.
Applying patch: C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.12-w64-stc.
patch
perl -pe "" -- C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.12-w64-stc.p
atch | ..\inc\bin\patch.exe -N -p0 -u -b -z .bak
Can't open C:\Dokumente: No such file or directory.
Can't open und: No such file or directory.
Can't open
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.12-w64-stc.patch:
No such file or
directory.
Applying patch: C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.11-filefn.p
atch
perl -pe "" -- C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.11-filefn.pa
tch | ..\inc\bin\patch.exe -N -p0 -u -b -z .bak
Can't open C:\Dokumente: No such file or directory.
Can't open und: No such file or directory.
Can't open
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxMSW-2.8.11-filefn.patch:
No such file or
directory.
Applying patch: C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxWidgets-2.8.0-magic
.patch
perl -pe "" -- C:\Dokumente und
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxWidgets-2.8.0-magic.
patch | ..\inc\bin\patch.exe -N -p0 -u -b -z .bak
Can't open C:\Dokumente: No such file or directory.
Can't open und: No such file or directory.
Can't open
Einstellungen\corion\.cpanm\work\1342345454.7672\Alien-wxWidgets-0.59\patches\wxWidgets-2.8.0-magic.patch:
No such file o
r directory.
if not exist gcc_mswudll mkdir gcc_mswudll
if not exist ..\..\lib\gcc_dll mkdir ..\..\lib\gcc_dll