http://www.perlmonks.org?node_id=599647

syphilis has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
Here's what I get when I try to build Inline-0.44 on one of my Cygwin installations:
Rob@desktop1 ~/pbld/Inline-0.44 $ perl Makefile.PL Checking if your kit is complete... Looks good Inline::C is packaged with Inline.pm because it is the most commonly u +sed Inline Language Support Module (ILSM). See also: Inline::ASM, ::Awk, ::BC, ::Basic, ::Befunge, ::CPP (C++), : +:CPR, ::Foo, ::Guile, ::Java, ::Octave, ::PERL, ::Python, ::Ruby, +::TT, ::Tcl and ::WebChat. Config.pm indicates that your version of Perl was built with this C co +mpiler: gcc.exe I have located this compiler on your system: Do you want to install Inline::C? [y] y Writing Makefile for Inline::C Writing Makefile for Inline Rob@desktop1 ~/pbld/Inline-0.44 $ make test cp Inline.pod blib/lib/Inline.pod cp lib/Inline/MakeMaker/Changes blib/lib/Inline/MakeMaker/Changes cp lib/Inline/denter.pm blib/lib/Inline/denter.pm AutoSplitting blib/lib/Inline/denter.pm (blib/lib/auto/Inline/denter) cp Inline.pm blib/lib/Inline.pm AutoSplitting blib/lib/Inline.pm (blib/lib/auto/Inline) cp lib/Inline/Foo.pm blib/lib/Inline/Foo.pm cp Inline-API.pod blib/lib/Inline-API.pod cp lib/Inline/MakeMaker.pm blib/lib/Inline/MakeMaker.pm cp Inline-FAQ.pod blib/lib/Inline-FAQ.pod cp Inline-Support.pod blib/lib/Inline-Support.pod /bin/sh: -c: line 0: unexpected EOF while looking for matching `"' /bin/sh: -c: line 1: syntax error: unexpected end of file make: *** [subdirs] Error 2
Ummm ... I don't have a clue what that error is about - though I have this nagging feeling that I've come across it before. Anyone here know what needs to be done ?

Cheers,
Rob

Replies are listed 'Best First'.
Re: Can't build Inline::C on Cygwin
by Thelonius (Priest) on Feb 13, 2007 at 06:13 UTC
      Yes !! That was it. Inserting:
      LIB=C:/vsnet/FrameworkSDK/Lib export LIB
      into /etc/profile fixes the problem.

      And I had come across this problem before. It's a fix that I had applied to a Cygwin installation on another box ... and then forgotten about (until now).

      Thanks for managing to dig that up. I searched Google for "/bin/sh: -c: line 0: unexpected EOF while looking for matching" and "perl" ... which for some reason fails to find a match. Now that I try a Google without the "/bin/sh: -c: line 0:" bit, I find much better results (including the post you referenced).

      Cheers,
      Rob
        /cygwin/c/vsnet/FrameworkSDK/Lib :)