Yes, windows allows spaces in user names and cygwin uses them as is and
this must be the problem.
I was able to reproduce the problem on specially created user account "John
Doe" on the computer with my account, the output is in the attached
Marpa-R2-john-doe-cygwin.txt file.
Marpa::R2 install also fails under windows with that user account, also due
to insufficient quoting, output is in Marpa-R2-john-doe-windows.txt.
I also tried JSON::XS under cygwin on that account and it installed ok.
Removing space from the user name doesn't help, because this does not
change the directory names.
Don't know if Strawberryperl can do better with user names containing
spaces.
Hope this helps.
On Wed, Sep 10, 2014 at 6:47 PM, Jeffrey Kegler <
[email protected]> wrote:
> Any ideas? -- jeffrey
>
> Hello,
>
> Marpa looks very interesting and I have just tried installing it.
>
> It looks like some variable has not been quoted in a Makefile,
> so a space in a directory name is causing an error to occur.
> See below:
>
> make[1]: Leaving directory `/home/Joe
> Soap/.cpan/build/Marpa-R2-2.090000-6H5Gcf/libmarpa_build'
> gcc-4 -I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE
> -DXS_VERSION="2.090000" -DVERSION="2.090000" -c -DPERL_USE_SAFE_PUTENV
> -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector -I
> */home/Joe
> Soap/*.cpan/build/Marpa-R2-2.090000-6H5Gcf/libmarpa_build -I xs -Wall -W
> -ansi -Wpointer-arith -Wstrict-prototypes -Wwrite-strings
> -Wmissing-declarations -Wdeclaration-after-statement -O3 -o lib/Marpa/R2.o
> lib/Marpa/R2.c
> gcc-4: error: Soap/.cpan/build/Marpa-R2-2.090000-6H5Gcf/libmarpa_build: No
> such file or directory
> error building lib/Marpa/R2.o from 'lib/Marpa/R2.c' at
> /usr/lib/perl5/5.14/ExtUtils/CBuilder/Base.pm line 175.
> JKEGL/Marpa-R2-2.090000.tar.gz
> ./Build -- NOT OK
>
> --
> Derek M. Jones
>
> --
> You received this message because you are subscribed to the Google Groups
> "marpa parser" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"marpa parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
C:\perl-5.18.1\bin\perl.exe -MExtUtils::Command -e chmod -- 755 ./blib/a
rch\auto\libmarpa\libmarpa.lib
Generating script 'lib\Marpa\R2.ccs'
cl -nologo -c @"lib\Marpa\R2.ccs" -Fo"lib\Marpa\R2.obj" "lib\Marpa\R2.c"
cl : Command line warning D4024 : unrecognized source file type 'and', object fi
le assumed
cl : Command line warning D4027 : source file 'and' ignored
cl : Command line warning D4024 : unrecognized source file type 'Settings\John',
object file assumed
cl : Command line warning D4027 : source file 'Settings\John' ignored
cl : Command line warning D4024 : unrecognized source file type 'Doe\Local', obj
ect file assumed
cl : Command line warning D4027 : source file 'Doe\Local' ignored
cl : Command line warning D4024 : unrecognized source file type 'Settings\Applic
ation', object file assumed
cl : Command line warning D4027 : source file 'Settings\Application' ignored
cl : Command line warning D4024 : unrecognized source file type 'Data\.cpan\buil
d\Marpa-R2-2.090000-TbsYwF\libmarpa_build', object file assumed
cl : Command line warning D4027 : source file 'Data\.cpan\build\Marpa-R2-2.09000
0-TbsYwF\libmarpa_build' ignored
R2.c
lib\\Marpa\\R2.xs(19) : fatal error C1083: Cannot open include file: 'marpa_slif
.h': No such file or directory
error building dll file from 'lib\Marpa\R2.c' at c:/perl-5.18.1/lib/ExtUtils/CBu
ilder/Platform/Windows.pm line 130.
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wundef -Wendif-labels -Wall -Wextra
-Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes
-Wwrite-strings -Wshadow -Wmissing-declarations -Wconversion -ansi -pedantic -g
-O2 -MT marpa_slif.lo -MD -MP -MF .deps/marpa_slif.Tpo -c marpa_slif.c -o
marpa_slif.o
mv -f .deps/marpa_slif.Tpo .deps/marpa_slif.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -Wall -Wextra
-Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes
-Wwrite-strings -Wshadow -Wmissing-declarations -Wconversion -ansi -pedantic
-g -O2 -release 7.0.3 -o libmarpa.la -rpath /usr/local/lib marpa.lo
marpa_obs.lo marpa_avl.lo marpa_tavl.lo marpa_ami.lo marpa_codes.lo
marpa_slif.lo
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared
libraries
libtool: link: ar cru .libs/libmarpa.a marpa.o marpa_obs.o marpa_avl.o
marpa_tavl.o marpa_ami.o marpa_codes.o marpa_slif.o
libtool: link: ranlib .libs/libmarpa.a
libtool: link: ( cd ".libs" && rm -f "libmarpa.la" && ln -s "../libmarpa.la"
"libmarpa.la" )
make[1]: Leaving directory «/home/John
Doe/.cpan/build/Marpa-R2-2.090000-isMyL2/libmarpa_build»
gcc-4 -I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE
-DXS_VERSION="2.090000" -DVERSION="2.090000" -c -DPERL_USE_SAFE_PUTENV
-U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector -I /home/John
Doe/.cpan/build/Marpa-R2-2.090000-isMyL2/libmarpa_build -I xs -Wall -W -ansi
-Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wmissing-declarations
-Wdeclaration-after-statement -O3 -o lib/Marpa/R2.o lib/Marpa/R2.c
gcc-4: error: Doe/.cpan/build/Marpa-R2-2.090000-isMyL2/libmarpa_build: No such
file or directory
error building lib/Marpa/R2.o from 'lib/Marpa/R2.c' at
/usr/lib/perl5/5.14/ExtUtils/CBuilder/Base.pm line 175.