$ perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuratio +n: Platform: osname=cygwin, osvers=1.3.12(0.5432), archname=cygwin-multi-64int uname='cygwin_nt-5.0 kmbestst 1.3.12(0.5432) 2002-07-06 02:16 i686 + unknown '
When running install under CPAN shell I get this (at testing):
A problem was encountered while attempting to compile and install your + Inline C code. The command that failed was: make > out.make 2>&1 The build directory was: /cygdrive/h/.cpan/build/Inline-0.44/C/_Inline_test/build/_04perlapi_t_ +3c76 To debug the problem, cd to the build directory, and inspect the outpu +t files.
So I go there and view the file:
make[2]: Entering directory `/cygdrive/h/.cpan/build/Inline-0.44/C/_In +line_test/build/_04perlapi_t_3c76' /usr/bin/perl.exe /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/ +lib/perl5/5.8.0/ExtUtils/typemap -typemap /cygdrive/h/.cpan/build/Inl +ine-0.44/C/t/typemap _04perlapi_t_3c76.xs > _04perlapi_t_3c76.xsc & +& mv _04perlapi_t_3c76.xsc _04perlapi_t_3c76.c gcc -c -I/cygdrive/h/.cpan/build/Inline-0.44/C/t -DPERL_USE_SAFE_PUTE +NV -fno-strict-aliasing -DUSEIMPORTLIB -DVERSION=\"0.00\" -DXS_VER +SION=\"0.00\" "-I/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE" _04 +perlapi_t_3c76.c Running Mkbootstrap for _04perlapi_t_3c76 () chmod 644 _04perlapi_t_3c76.bs rm -f blib/arch/auto/_04perlapi_t_3c76/_04perlapi_t_3c76.dll LD_RUN_PATH="" ld2 -s -L/usr/local/lib _04perlapi_t_3c76.o -o blib/a +rch/auto/_04perlapi_t_3c76/_04perlapi_t_3c76.dll /usr/lib/perl5/5.8. +0/cygwin-multi-64int/CORE/libperl.dll.a gcc -shared -o cygperl5_8_0.dll -Wl,--out-implib=lib_04perlapi_t_3c76 +.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack, +8388608 \ -s -L/usr/local/lib _04perlapi_t_3c76.o /usr/lib/perl5/5.8.0/cygwin-m +ulti-64int/CORE/libperl.dll.a Creating library file: lib_04perlapi_t_3c76.dll.a mv cygperl5_8_0.dll lib_04perlapi_t_3c76.dll.a blib/arch/auto/_04perla +pi_t_3c76/ chmod 755 blib/arch/auto/_04perlapi_t_3c76/_04perlapi_t_3c76.dll chmod: getting attributes of `blib/arch/auto/_04perlapi_t_3c76/_04perl +api_t_3c76.dll': No such file or directory make[2]: *** [blib/arch/auto/_04perlapi_t_3c76/_04perlapi_t_3c76.dll] +Error 1 make[2]: Leaving directory `/cygdrive/h/.cpan/build/Inline-0.44/C/_Inl +ine_test/build/_04perlapi_t_3c76'
I am not that familiar with gcc - but it seems that id did not make the _04perlapi_t_3c76.dll and then it complaints that it is missing.
Any hints?

In reply to Problem with compiling Inline::C on cygwin by zby

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.