That's the real output I got, I just replaced my long and boring real path with /folder/lib to make the error message a bit easier to read.
I completely agree that the synopsis of App::FatPacker should work, but it doesn't. fatpack trace myscript.pl
fatpack packlists-for `cat fatpacker.trace` >packlists
fatpack tree `cat packlists`
(fatpack file; cat myscript.pl) >myscript.packed.pl
... is exactly what I tried. The error about .pm files not being found came on the last command.
| [reply] [d/l] |
I think what would help us to help you better would be a complete terminal session with the exact commands you issued, the exact errors that the programs produced, and also whether any files were created and what their contents are. Without that, all we can do is guess based on your description, which I don't feel gets us further.
| [reply] |
I completely agree, if we are determined to troubleshoot this, that is the way to go. I don't have all the output saved from the last time I tried this, so I'd need to boot into Ubuntu and install all the modules again.
As I said in the original post, I can live with not knowing why it failed for me because I suspect it's non-trivial and hopefully I won't need to use App::FatPacker much in the future. If someone could help me out with the final output (the 3 modules packed into a script), I'd be grateful. Otherwise, I can fire up Ubuntu again and give you the verbatim output to hopefully help more with the troubleshooting, but I don't think there will be any new info in it. The packlists file is created with no error messsage and it's fine, the folder structure is created with no error message, but it doesn't contain Spreadsheet::WriteExcel, and the fatpack file; cat myscript.pl) >myscript.packed.pl command throws the error about the missing lib folder. When I manually create an empty lib folder, I get an error message about missing .pm files. That's pretty specific, I'd think.
| [reply] [d/l] |