Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I'm trying to build Perl with threading turned off in a Cygwin environment, but it's failing as shown here:

cp op.c opmini.c `sh cflags "optimize='-O2'" opmini.o` -DPERL_EXTERNAL_GLOB opmini.c CCCMD = gcc -DPERL_CORE -c -DPERL_USE_SAFE_PUTENV -U__STRICT_AN +SI__ -fno-strict-aliasing -pipe -std=c89 -O2 -Wall -ansi -W -Wextr +a -Wdeclaration-after-statement -Wendif-labels PATH=/home/Administrator/perl/perl-5.10.0:.:/usr/local/bin:/usr/bin:/b +in:/usr/X11R6/bin:/cygdrive/c/Perl64/site/bin:/cygdrive/c/Perl64/bin: +/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/ +System32/Wbem:/cygdrive/c/Program\ Files\ (x86)/Microsoft\ SQL\ Serve +r/100/Tools/Binn/:/cygdrive/c/Program\ Files/Microsoft\ SQL\ Server/1 +00/Tools/Binn/:/cygdrive/c/Program\ Files/Microsoft\ SQL\ Server/100/ +DTS/Binn/:/cygdrive/c/Program\ Files\ (x86)/Microsoft\ SQL\ Server/10 +0/Tools/Binn/VSShell/Common7/IDE/:/cygdrive/c/Program\ Files\ (x86)/M +icrosoft\ SQL\ Server/100/DTS/Binn/:/cygdrive/c/Program\ Files\ (x86) +/Microsoft\ Visual\ Studio\ 9.0/Common7/IDE/PrivateAssemblies/:/cygdr +ive/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/lib/lapack:/usr/l +ocal:/etc:/usr/lib:/lib:/sbin:/usr/sbin:/usr/libexec gcc -L/home/Admi +nistrator/perl/perl-5.10.0 -Wl,--enable-auto-import -Wl,--export-all +-symbols -Wl,--stack,8388608 -Wl,--enable-auto-image-base -Wl,--enabl +e-auto-import -L/usr/local/lib -o miniperl miniperlmain.o opmini.o li +bperl.a -ldl -lcrypt -lgdbm_compat /bin/sh: -c: line 0: syntax error near unexpected token `(' /bin/sh: -c: line 0: `PATH=/home/Administrator/perl/perl-5.10.0:.:/usr +/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Perl64/site/bin:/ +cygdrive/c/Perl64/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Window +s:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Program\ Files\ (x86) +/Microsoft\ SQL\ Server/100/Tools/Binn/:/cygdrive/c/Program\ Files/Mi +crosoft\ SQL\ Server/100/Tools/Binn/:/cygdrive/c/Program\ Files/Micro +soft\ SQL\ Server/100/DTS/Binn/:/cygdrive/c/Program\ Files\ (x86)/Mic +rosoft\ SQL\ Server/100/Tools/Binn/VSShell/Common7/IDE/:/cygdrive/c/P +rogram\ Files\ (x86)/Microsoft\ SQL\ Server/100/DTS/Binn/:/cygdrive/c +/Program\ Files\ (x86)/Microsoft\ Visual\ Studio\ 9.0/Common7/IDE/Pri +vateAssemblies/:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/: +/usr/lib/lapack:/usr/local:/etc:/usr/lib:/lib:/sbin:/usr/sbin:/usr/li +bexec gcc -L/home/Administrator/perl/perl-5.10.0 -Wl,--enable-auto-i +mport -Wl,--export-all-symbols -Wl,--stack,8388608 -Wl,--enable-auto- +image-base -Wl,--enable-auto-import -L/usr/local/lib -o miniperl mini +perlmain.o opmini.o libperl.a -ldl -lcrypt -lgdbm_compat ' make: *** [miniperl.exe] Error 2

Any pointers on where to fix the syntax?

As always, thanks for your support!


In reply to Error building Perl under cygwin by spstansbury

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2022-12-08 02:48 GMT
Find Nodes?
    Voting Booth?

    No recent polls found