in reply to Trying to use App::Fatpacker

You don't show us what exactly you did, so it's hard to see what might have gone wrong. /folder/lib looks like it is from an example, so did you use that verbatim or is it just an example by you?

In a unixish environment, the synopsis of App::FatPacker should work. On Windows with cmd.exe you need to replicate what the steps in shell syntax do, which is a bit more unwieldly.

Replies are listed 'Best First'.
Re^2: Trying to use App::Fatpacker
by elef (Friar) on Nov 03, 2010 at 09:34 UTC
    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.

      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.

        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.