http://www.perlmonks.org?node_id=943580


in reply to Re: Clean smoke-test install for Inline based modules using Inline::MakeMaker
in thread Clean smoke-test install for Inline based modules using Inline::MakeMaker

Hmm, on further inspection, it's not quite as simple as that, and I'm still confused. When I execute:

perl Makefile.PL make make test make dist

I get no such warning at any stage in the process. How is it that the target in some cases is coming up with that warning?

In fact, when I examine the META.* files I see that the build requirement is getting listed therein when I make dist. So I'm still bewildered.

I'm learning here too, and the whole concept of basing a module on Inline seems to be a road less traveled. In fact there are tools to automate the process of converting an Inline extension to plain old XS for the purposes of distribution. So this isn't really a critical adventure. But if we're not too far away from making Inline based modules distributable I'd like to see it through.

ExtUtils::MakeMaker is always somewhat of a quagmire. I suspect even more-so when we're dealing with Inline::MakeMaker. But it seems like the goal isn't that far away.

If I haven't said so before, thanks for your reply both here and to the many other threads where I've learned something from your answers.


Dave

Replies are listed 'Best First'.
Re^3: Clean smoke-test install for Inline based modules using Inline::MakeMaker
by MidLifeXis (Monsignor) on Dec 14, 2011 at 17:06 UTC

    BUILD_REQUIRES was added in c8d5ea031 (June 17, 2009). It looks like this may be first introduced into a tagged release code at 6.55_03 (I am not certain on this, other than the mention in Changes -- haven't taken the time to track it down further than that). Perhaps the version on the testers machine is older.

    --MidLifeXis

Re^3: Clean smoke-test install for Inline based modules using Inline::MakeMaker
by BrowserUk (Patriarch) on Dec 14, 2011 at 16:56 UTC

    I think it indicates that I have a down-level version of MakeMaker installed that doesn't have that keyword. The problem is, I cannot tell from teh error message whether I should upgrade ExtUtils::MakeMaker or Inline::MakeMaker?

    I guess I could try both one at a time to see. I'll get back to you after I've eaten.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

Re^3: Clean smoke-test install for Inline based modules using Inline::MakeMaker
by BrowserUk (Patriarch) on Dec 14, 2011 at 18:39 UTC

    Grrr. I hate EU::MM. I have more trouble with that module than all the other modules I've used put together!

    Every other module I've ever 'gunzip & tar -xvf'd, unpacks all it contents into a subdirectory it creates with the same name as the package. The latest version of EU::MM just dumped it's entire contents into the current directory. Which means an hours work trying to clean up after it. What a crock!

    I'll get back to you to tomorrow.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      Er, no it doesn't

      [canker:]$ cd throw [canker:]$ tar zxf /home/ftp/CPAN/authors/id/M/MS/MSCHWERN/ExtUtils-Ma +keMaker-6.62.tar.gz [canker:]$ ls -l total 4 drwxr-xr-x 7 chris users 512 Oct 24 00:47 ExtUtils-MakeMaker-6.62 [canker:]$ ls -l ExtUtils-MakeMaker-6.62/ total 292 -rw-r--r-- 1 chris users 82777 Oct 24 00:43 Changes -rw-r--r-- 1 chris users 2316 Sep 25 04:42 INSTALL -rw-r--r-- 1 chris users 4226 Oct 24 00:47 MANIFEST -rw-r--r-- 1 chris users 1561 Sep 25 04:42 MANIFEST.SKIP -rw-r--r-- 1 chris users 1450 Oct 24 00:47 META.json -rw-r--r-- 1 chris users 857 Oct 24 00:47 META.yml -rw-r--r-- 1 chris users 5212 Sep 25 06:17 Makefile.PL -rw-r--r-- 1 chris users 3448 Sep 25 04:42 NOTES -rw-r--r-- 1 chris users 6986 Sep 25 04:42 PATCHING -rw-r--r-- 1 chris users 433 Sep 25 04:42 README -rw-r--r-- 1 chris users 12334 Oct 24 00:47 SIGNATURE -rw-r--r-- 1 chris users 2087 Sep 25 04:42 TODO drwxr-xr-x 2 chris users 512 Oct 24 00:47 bin drwxr-xr-x 15 chris users 512 Oct 24 00:47 bundled drwxr-xr-x 3 chris users 512 Oct 24 00:47 lib drwxr-xr-x 2 chris users 512 Oct 24 00:47 my drwxr-xr-x 5 chris users 1536 Oct 24 00:47 t [canker:]$

      Not even on MSWin32

      C:\perl64\cpanidx>cd fooblah C:\perl64\cpanidx\fooblah>curl http://cpan.mirror.local/CPAN/authors/i +d/M/MS/MSCHWERN/ExtUtils-MakeMaker-6.62.tar.gz > ExtUtils-MakeMaker-6 +.62.tar.gz % Total % Received % Xferd Average Speed Time Time Time + Current Dload Upload Total Spent Left + Speed 100 405k 100 405k 0 0 1039k 0 --:--:-- --:--:-- --:--: +-- 12.7M C:\perl64\cpanidx\fooblah>dir Volume in drive C has no label. Volume Serial Number is 34BA-AFD9 Directory of C:\perl64\cpanidx\fooblah 15/12/2011 11:06 <DIR> . 15/12/2011 11:06 <DIR> .. 15/12/2011 11:06 415,020 ExtUtils-MakeMaker-6.62.tar.gz 1 File(s) 415,020 bytes 2 Dir(s) 211,262,439,424 bytes free C:\perl64\cpanidx\fooblah>ptar -zxf ExtUtils-MakeMaker-6.62.tar.gz C:\perl64\cpanidx\fooblah>dir Volume in drive C has no label. Volume Serial Number is 34BA-AFD9 Directory of C:\perl64\cpanidx\fooblah 15/12/2011 11:06 <DIR> . 15/12/2011 11:06 <DIR> .. 15/12/2011 11:06 <DIR> ExtUtils-MakeMaker-6.62 15/12/2011 11:06 415,020 ExtUtils-MakeMaker-6.62.tar.gz 1 File(s) 415,020 bytes 3 Dir(s) 211,260,715,008 bytes free C:\perl64\cpanidx\fooblah>dir ExtUtils-MakeMaker-6.62 Volume in drive C has no label. Volume Serial Number is 34BA-AFD9 Directory of C:\perl64\cpanidx\fooblah\ExtUtils-MakeMaker-6.62 15/12/2011 11:06 <DIR> . 15/12/2011 11:06 <DIR> .. 15/12/2011 11:06 <DIR> bin 15/12/2011 11:06 <DIR> bundled 24/10/2011 00:43 82,777 Changes 25/09/2011 04:42 2,316 INSTALL 15/12/2011 11:06 <DIR> lib 25/09/2011 06:17 5,212 Makefile.PL 24/10/2011 00:47 4,226 MANIFEST 25/09/2011 04:42 1,561 MANIFEST.SKIP 24/10/2011 00:47 1,450 META.json 24/10/2011 00:47 857 META.yml 15/12/2011 11:06 <DIR> my 25/09/2011 04:42 3,448 NOTES 25/09/2011 04:42 6,986 PATCHING 25/09/2011 04:42 433 README 24/10/2011 00:47 12,334 SIGNATURE 15/12/2011 11:06 <DIR> t 25/09/2011 04:42 2,087 TODO 12 File(s) 123,687 bytes 7 Dir(s) 211,260,715,008 bytes free C:\perl64\cpanidx\fooblah>

        Er, yes it does. On my machine.

        Full console log:

        And so do all of the last 6 versions.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

        The start of some sanity?

        I've seen it too, and AFAIK, its probably the dev tarball from http://makemaker.org

        though the latest version is ExtUtils-MakeMaker-6.63_02/