in reply to inline in a perl module

The error message is trying to tell you something:

To debug the problem, cd to the build directory, and inspect the output files.

Did you do it? What did you find?

-sam

Replies are listed 'Best First'.
Re^2: inline in a perl module
by syphilis (Archbishop) on May 18, 2008 at 23:09 UTC
    What did you find?

    I think one finds only the same warnings/error messages as have already been printed to the console - but it's certainly worth checking.

    The problem, as moritz indicated, lies with the cpp code - which the op has supplied. If the contents of 'main.h' were also supplied we might be able to run the Inline::CPP code and see for ourselves. I think nirf1 first needs to get the code working as an Inline::CPP script before trying to put it into a module. As I said, we would be better placed to help with that if we could see the contents of 'main.h'.

    Cheers,
    Rob
      I think one finds only the same warnings/error messages as have already been printed to the console

      You'll also find the generated XS code, which is what the compiler is actually choking on.

      -sam

        You'll also find the generated XS code

        Yes, you're correct.

        I keep (mis)reading that error message as advising one to take a look inside 'out.make' - which I don't think tells you anything that hasn't already been printed to the console. But if one reads the message correctly, it recommends checking the files (plural) - not just out.make.

        Cheers,
        Rob
A reply falls below the community's threshold of quality. You may see it by logging in.