in reply to Re^2: Inline:CPP module won't install
in thread Inline:CPP module won't install

You're using gcc-3.4.5, so there should be no need to install the STD_IOSTREAM patch. One thing I would recommend is that you use 'dmake' (available from CPAN or, I think, as 'ppm install dmake'). That will at least remove that crappy old version of nmake you're using from the mix of things that could cause problems, though I doubt it's the problem here.

With 'dmake' installed, check that perl -V:make reports 'dmake'. (You may need to remove 'nmake.exe' from your path for that to happen.)

Then, in a freshly unpacked Inline-CPP-0.25 source folder, run 'perl Makefile.PL', accepting the prompts to use 'g++' and '-lstdc++'. Then run 'dmake test' and it should work ok.

It's not a good idea to have mingw in the msys tree .... I think that can cause problems with msys, though it shouldn't be a problem here. The simplest way to get both 'dmake' and 'mingw' for ActivePerl is to run 'ppm install MinGW' - doesn't require any path alterations or other fiddling about.

Let us know what, if any, errors arise - also the version of Parse::RecDescent that you installed.

Cheers,
Rob

Replies are listed 'Best First'.
Re^4: Inline:CPP module won't install
by Anonymous Monk on Apr 06, 2010 at 07:07 UTC
    It's not a good idea to have mingw in the msys tree .... I think that can cause problems with msys, though it shouldn't be a problem here.

    Maybe you should mention that to the MinGW folks, because thats how they have it arranged by default.

      Maybe you should mention that to the MinGW folks, because thats how they have it arranged by default.

      If that's so then I must be mistaken. Perhaps problems arise iff MinGW gets installed into some other part(s) of the msys tree, but the msys top level folder is ok.

      I keep 'em separate ... so it's something I don't have to even think about :-)

      Cheers,
      Rob