Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Can't build Inline::C on Cygwin

by syphilis (Chancellor)
on Feb 13, 2007 at 05:29 UTC ( #599647=perlquestion: print w/replies, xml ) Need Help??
syphilis has asked for the wisdom of the Perl Monks concerning the following question:

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 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. 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/ blib/lib/Inline/ AutoSplitting blib/lib/Inline/ (blib/lib/auto/Inline/denter) cp blib/lib/ AutoSplitting blib/lib/ (blib/lib/auto/Inline) cp lib/Inline/ blib/lib/Inline/ cp Inline-API.pod blib/lib/Inline-API.pod cp lib/Inline/ blib/lib/Inline/ 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 ?


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).

        /cygwin/c/vsnet/FrameworkSDK/Lib :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://599647]
Approved by kyle
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2018-01-19 02:32 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (215 votes). Check out past polls.