in reply to Re: Using Modules without binary extensions?
in thread Using Modules without binary extensions?
Hello All,
What exact problem are you trying to solve?
I wrote several scripts which should run on virtually every livecd linux which has perl on board. The scripts works on livecd with full perl like ubuntu and knoppix but many using small distros for recovery like systemrescuecd etc and I am trying to make them work too.
But if I understand correctly, the .so extensions builded for one kernel cannot work with different kernel.
To ship full perl with scripts is not a solution because livecd is for quickly repair, if it required 10 minutes only to find and install perl its better to connect the hdd to other computer instead.
The rebuilding of livecd is not a solution.
The scripts will be available from internet or can be on usb stick.
PAR - I work with PAR several years ago ( but with windows), nice thing. But will it work on _every_ linux? With kernel 2.4, 2.6 ?
use lib - yes , actually I include my and 3-party modules and do unshift @INC in BEGIN block to include this locationin PATH.
the problem with rebuilding /building - if the new version of livecd come I need do it again (?)
thanks for answers, I'll try some your ideas.