I wanted to use the mkdiskimage
application that is part of the syslinux.tgz
1. Fresh installation of TinyCore-4.6.2.iso
2. Use App browser to install kmaps, pci-utils and usb-utils
3. Use App browser to install syslinux.tgz
Start typing mkdis.. & tab autocompletes to mkdiskimage
Hit return and I get "mkdiskimage not found" and yet I can see it there in /tmp/tcloop/syslinux/usr/local/bin/mkdiskimage (and the link in /usr/local/bin).
[I now see that it is a perl script and so doesn't run as perl is not loaded]
4. Use the App Browser to load tc-install.tgz
(syslinux is a dependency of that package, and so is perl - so that got perl loaded.)
This time mkdiskimage
will run in that without any parameters I get the usage screen. However...mkdiskimage -Mz4 -i usbzip /dev/sdb 20 64 32
Undefined subroutine &main::to_int called at /usr/local/bin/diskimage line 182, <DATA> line 18.
What is missing is the perl module "Data Types" which includes the "to_int" function - see http://search.cpan.org/~dwheeler/Data-Types-0.09/lib/Data/Types.pm
Downloading and installing this module (after installing make.tcz
) lets the application run (after I add a line "use Data::Types" to the original script).
So an element of syslinux.tgz
and also a perl module that is not part of the tinycore standard build - there only seem to be three Data::xxxx extensions, and Data::Types is not one of them.