Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Environment is:

perl 5.38.0
cpan 2.36
(OS) Rocky Linux 8 host, connected via "ssh -Y".

I am trying to install Tk via cpan Tk and it is failing on inactivity_timeout reached:

... Extracting tkCanvas.c Extracting tkCanvas.h inactivity_timeout reached SREZIC/Tk-804.036.tar.gz /DIR/bin/perl Makefile.PL INSTALL_BASE=/DIR -- TIMED OUT Stopping: 'install' failed for 'Tk'.

The "Extracting" lines change but install fails with the same message. I could not find anything relevant on "Tk inactivity_timeout" here or via DuckDuckGo|Google.

What can I do to overcome damned "inactivity_timeout"?

Replies are listed 'Best First'.
Re: Tk install, via cpan, failing on "inactivity_timeout reached"
by Anonymous Monk on Nov 10, 2023 at 03:17 UTC

    Ok:sigh: <inactivity_timeout</c> is a setting of cpan; changed it from 6 to 300; will increase until Tk install does not fail due to the value.

      Turned out it was me myself who had changed the timeout value from default of 0 to not wait until the end of time for any prompt interaction.