in reply to Perl 5.8.8 build on WinXP

Abcd.pm is copied to perl\lib directory. and Abcd.dll ... in site.
That is wrong. Do not do that. Installation goes as
perl Makefile.PL make make test make install UNINST=1
and everything (including Abcd.pm and Abcd.dll) ends up in right spots.

make is whatever is reported by 'perl -V:make'

How to make a CPAN Module Distribution

Replies are listed 'Best First'.
Re^2: Perl 5.8.8 build on WinXP
by BrowserUk (Patriarch) on Sep 15, 2008 at 08:05 UTC
    . Installation goes as ...

    Which is all fine and dandy if you can work out what combination of magical incantations and curses are required to pursuade EU::MM to construct a makefile and build environment that works for the requirements of your DLL.

    But that's like trying to say "left hand down a bit" to the driver of a truck, by using your mobile phone to tap out morse code to your mother, which she relays to the driver using semaphore flags. Possible, but slow, labourious, with huge latency and frustrating in the extreme.

    If the OP obviously has their development environment for building this DLL already worked and working. Expecting them to move that into the arcane blib structure just so that they can use and nested pile of stinking OO to construct a 100 times over-elaborate makefile, so that they can use nmake to copy the file to the appropriate destination is stupid.


    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.
      I don't think its stupid. If anything, it will show you how copying the pm/dll to the right spots is done. If you don't know already know, then you shouldn't be doing it that way.
        If you don't know already know, then you shouldn't be doing it that way.

        So, you think it is easier for the OP to:

        1. learn out how to set up a blib structure;
        2. learn how to convert his IDE-generated, project-structured makefile to a EU::MM generated equivalent;
        3. Move his entire development environment from its existing structure to a blib-based one;

        Than for you to tell him where to copy the damn dll?


        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.