Wrapping $libmarpa_build_dir in double quotes in Build_Me.pm:

- my @new_ccflags = ( '-I', $libmarpa_build_dir, '-I', 'xs' );
+my @new_ccflags = ( '-I', '"' . $libmarpa_build_dir . '"', '-I', 'xs' );

fixed it for me under 'John Doe' account on cygwin.



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.

Reply via email to