On Wed, 22 Oct 2003 16:24:26 -0600, Chris McMahon wrote: > > > Hello... > I am booting a FreeBSD system from the network via PXE. > On that FreeBSD system is Perl 5.005. > I want to use the IO::Socket::INET module in a script on that system. (But > I'd settle for Socket.pm) > The kicker is that the entire root filesystem must be less than 50 megs. > The other kicker is that I don't have a 5.005 installation to copy from. > So I don't have room to install a whole Perl 5.8. I spent a few hours > trying to run my script; copy in the module it failed on; hack the good code > in that module; repeat: but I eventually lost my mind trying to find all > the things that IO::Socket::INET requires. > Can anyone suggest either: a way to make IO::Socket::INET work in the > simplest possible way on 5.005; or a way to install the smallest possible > 5.8; or something I haven't thought of? > Any suggestion (no matter how crazy!) is welcome... > -Chris Hello Chris, I think the program mkjail is able to solve your problem. You need one working system with a complete perl installation. Your script must be able to run on it. Then run echo perl /path/to/your/script>command_file mkjail --ignore-proc command_file This will print a list with all files you need to copy to the new system. You can also use mkjail to create the complete root filesystem by adding several commands to command_file. As I don't have any FreeBSD system, I can't test it on FreeBSD. If it doesn't work, just send me an email. You can download mkjail from http://jakoblell.de/progs/mkjail/index.html
Regards Jakob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]