http://qs1969.pair.com?node_id=312985


in reply to how to use ppm with source built perl?

You told us you built perl from source, but not what compiler you used to do that. If you compiled perl with gcc, then ppm won't work because it works with binaries compiled with (IIRC) VC++.

update - minor correction

--

The heck with patents, here's how to protect your thoughts: <tinfoil>.o0(Martians can't read this)</tinfoil>

Replies are listed 'Best First'.
Re: Re: how to use ppm with source built perl?
by simonflk (Pilgrim) on Dec 08, 2003 at 14:29 UTC
    If you compiled perl with gcc, then ppm won't work because it works with binaries compiled with (IIRC) VC++.

    I have a handbuilt perl with GCC and most binary ppms from ActiveState work fine with it. I also build binary ppms with GCC that I use with ActivePerl

    -- simonflk

      Are you saying that an ActiveState .ppd of a module that has an XS component will work with a perl compiled with gcc? Are you also saying that a hand-rolled .ppd using a gcc compile of a module that has an XS component will work with ActivePerl? I've been under the impression that neither was possible.

        I've used binary modules compiled with gcc + a gcc-built perl on ActiveState perl. I don't remember specifically trying ActiveState-built modules on my gcc-built perl - but I've not encountered any problems.

        I generally use my gcc perl to compile modules that can be installed by other users in the the department that have a standard, supported desktop installation of ActiveState perl. Off the top of my head some of the binary modules that I've built and used in this way are: