a-Shell-commands icon indicating copy to clipboard operation
a-Shell-commands copied to clipboard

PerlPowerTools for some missing command line tools

Open normen opened this issue 3 years ago • 6 comments

Just wanted to mention that for some missing tools like col or which, uuencode etc. one can use the "PerlPowerTools" tools from their bin folder - didn't manage to install them via cpan PerlPowerTools though.

https://github.com/briandfoy/PerlPowerTools/tree/master/bin

normen avatar Jan 18 '22 02:01 normen

Just found out that they install fine to ~/Documents/perl5/ when using cpan and disabling tests:

cpan -Ti PerlPowerTools

normen avatar Jan 18 '22 13:01 normen

Ah, yes, testing fails (because it requires a compiler, IIRC). So it's always cpan -T .

holzschu avatar Jan 18 '22 13:01 holzschu

Wait! I remembered: I disabled testing by default (a-Shell sets CPAN_OPTS to -T). How did you get this bug? cpan PerlPowerTools should work, normally.

holzschu avatar Jan 18 '22 20:01 holzschu

I don't know, for some reason it doesn't get picked up. I also get a ghost error message Skipping -T because I couldn't find a matching namespace with most installs. Maybe that has something to do with it?

normen avatar Jan 18 '22 21:01 normen

I tried it; it doesn't work with either nothing or -Ti. But I can see that cpan also it tries to install App::a2p, which has C components, so it should not work. I'm glad it worked for you, but I don't understand why.

holzschu avatar Jan 19 '22 12:01 holzschu

No idea, most installs fail due to the perl interpreter count limitation but then I can compile them manually in th .cpan/builds folder.

normen avatar Jan 23 '22 17:01 normen