Just a quick shout to the internet about a problem that I have encountered (and solved):
I set up a container based on opensuse leap 15.0
I wanted to install some perl modules via cpan.
I got some build error messages including
“sh: -d: invalid option” eventually ending in make not okay
This happened on every module I tried.
The solution: the leap 15 docker image is so boiled down in size, that it does not even contain gzip. Ergo the CPAN packages cannot be unpacked.
just install gzip by running “zypper –non-interactive install gzip” … and your cpan should work again.