Hi,

in the attempt to generate a patch-set that would include CPANPLUS (and some abstracted out modules) to the core, i've run into the following problem:

        Making CPANPLUS (nonxs)
        Can't load module IO, dynamic loading not available in this perl.
        (You may need to build a new perl executable which either supports
        dynamic loading or has the IO module statically linked into it.)
        at ../../lib/IO/Handle.pm line 260

I've started with putting CPANPLUS into ext/ as we require it's Makefile.PL to be run (this is not easily changed, nor should it be needed). But CPANPLUS loads other modules, including FileHandle, which uses IO::Handle, which uses IO, which is an xs-only module.
Since we are built with miniperl it is not possible to load IO, and therefor
not possible to execute CPANPLUS' Makefile.PL.


Moving CPANPLUS to the end of the extension building will also not work, because we'll still be invoked by miniperl. In short, we need a perl with dynamic extensions enabled to invoke our Makefile.PL with.
And as stated above, moving to lib/ is also not the answer, as then the Makefile.PL will not be run...


All this desribes the bigger problem of: What do we do when we want to integrate module into the core that require core XS modules to build themselves?

--
        Jos Boumans

        "Two rules to success in life:
        1. Don't tell people everything you know"
                --Sassan Tat

        CPANPLUS        http://cpanplus.sf.net



Reply via email to