I have no issues when using g++,
$ cpanp i Inline::CPP Installing Inline::CPP (0.25) Running [C:\perl\5.10.1\bin\MSWin32-x86-multi-thread\perl.exe C:\perl\ +5.10.1\bin\cpanp-run-perl *snip*\CPANPL~1\510~1.1\build\Inline-CPP-0. +25\Makefile.PL]... This will configure and build Inline::C++. What default C++ compiler would you like to use? [g++] What default libraries would you like to include? [-lstdc++] Checking if your kit is complete... Looks good Writing Makefile for Inline::CPP::grammar Writing Makefile for Inline::CPP Running [C:\perl\dmake-4.12-20090907-SHAY\dmake\dmake.EXE test]... C:\perl\5.10.1\bin\MSWin32-x86-multi-thread\perl.exe "-MExtUtils::Comm +and::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/01basic.t ... ok t/02prefix.t .. ok All tests successful. Files=2, Tests=14, 19 wallclock secs ( 0.08 usr + 0.03 sys = 0.11 CP +U) Result: PASS C:\perl\5.10.1\bin\MSWin32-x86-multi-thread\perl.exe "-MExtUtils::Comm +and::MM" "-e" "test_harness(0, '..\blib\lib', '..\blib\arch')" t/*.t t/01nherit.t .. ok t/02scope.t ... ok t/03inline.t .. ok t/04const.t ... ok t/05virt.t .... ok t/06deflt.t ... ok t/07static.t .. ok t/08anon.t .... ok t/09purevt.t .. ok t/10struct.t .. ok t/11minhrt.t .. ok t/12retlst.t .. ok t/13vararg.t .. ok t/14const.t ... ok t/15stvar.t ... ok t/16varlst.t .. ok All tests successful. Files=16, Tests=34, 98 wallclock secs ( 0.09 usr + 0.02 sys = 0.11 C +PU) Result: PASS
You could try Bug #45168 for Inline-CPP: The Makefile.PL does not properly set the library path on a mac. A patch is attached. Bug #42552 for Inline-CPP: All tests fail on recent debian/g++ versions. "iostream.h" not found problem.

In reply to Re: Inline:CPP module won't install by Anonymous Monk
in thread Inline:CPP module won't install by Steve_BZ

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.