duncs / clusterssh

Cluster SSH - Cluster Admin Via SSH
https://github.com/duncs/clusterssh/wiki
896 stars 79 forks source link

recent cygwin upgrade broke cssh and build now fails so does cpan module #98

Closed maximlomans closed 6 years ago

maximlomans commented 6 years ago

i tried to in vain to find info on how to either remove the utility or upgrade it via perl . I eventually tried using Cpan's new App::ClusterSSH module but that too failed to install .. it used to work like a charm .. this is the error i get from current cssh $ cssh pirate@10.0.10.100 pirate@10.0.10.101 pirate@10.0.10.102 pirate@10.0.10.103 Can't locate App/ClusterSSH.pm in @INC (you may need to install the App::C lusterSSH module) (@INC contains: /usr/local/bin/../lib/perl5 /usr/local/b in/../lib /usr/local/lib/perl5/site_perl/5.26/x86_64-cygwin-threads /usr/l ocal/share/perl5/site_perl/5.26 /usr/lib/perl5/vendor_perl/5.26/x86_64-cyg win-threads /usr/share/perl5/vendor_perl/5.26 /usr/lib/perl5/5.26/x86_64-c ygwin-threads /usr/share/perl5/5.26) at /usr/local/bin/cssh line 8. BEGIN failed--compilation aborted at /usr/local/bin/cssh line 8. ? huh ? 1 #!/usr/bin/env perl 2 use strict; 3 use warnings; 4 5 use FindBin; 6 use lib $FindBin::Bin. '/../lib'; 7 use lib $FindBin::Bin. '/../lib/perl5'; 8 use App::ClusterSSH;

 my $app = App::ClusterSSH->new();

$app->options->add_common_ssh_options; $app->options->add_common_session_options; $app->run();

1;

END ----------------------------------------------cssh file usr/src/App-ClusterSSH-4.10_02 $ perl Build.PL Checking prerequisites... build_requires: ! CPAN::Changes is not installed ! Test::Differences is not installed ! Test::PerlTidy is not installed recommends:

ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation

Run 'Build installdeps' to install missing prerequisites.

Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'App-ClusterSSH' version '4.10_02'

after installing deps i ran build again .. Nest@9000-PC: $ usr/src/App-ClusterSSH-4.10_02 $ ./Build Building App-ClusterSSH Using perl binary: /usr/bin/perl Using perl version v5.26.1 Generating: ccon Generating: clusterssh_bash_completion.dist Generating: crsh Generating: csftp Generating: cssh Generating: ctel Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot re solve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot res olve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, c annot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot re solve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot r esolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot re solve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot res olve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, c annot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot re solve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot r esolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot re solve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot res olve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, c annot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot re solve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot r esolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot re solve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot res olve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, c annot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot re solve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot r esolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot re solve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot res olve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, c annot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot re solve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot r esolve link Cannot find "cssh" in podpath: using script::cssh as replacement path to cssh Cannot find "App::ClusterSSH::L10N" in podpath: using lib::App::ClusterSSH::L10N as re placement path to App::ClusterSSH::L10N

Nest@9000-PC /usr/src/App-ClusterSSH-4.10_02

maximlomans commented 6 years ago

$ cpan App::ClusterSSH CPAN: Storable loaded ok (v2.62) Reading '/home/Nest/.local/share/.cpan/Metadata' Database was generated on Fri, 15 Dec 2017 14:29:02 GMT Running install for module 'App::ClusterSSH' CPAN: Digest::SHA loaded ok (v5.98) CPAN: Compress::Zlib loaded ok (v2.074) Checksum for /home/Nest/.local/share/.cpan/sources/authors/id/D/DU/DUNCS/App-ClusterSSH-4.09.tar.gz ok 'YAML' not installed, will not store persistent state CPAN: CPAN::Meta::Requirements loaded ok (v2.140) CPAN: Parse::CPAN::Meta loaded ok (v2.150010) CPAN: CPAN::Meta loaded ok (v2.150010) CPAN: Module::CoreList loaded ok (v5.20170922_26) CPAN: Module::Build loaded ok (v0.4224) Configuring D/DU/DUNCS/App-ClusterSSH-4.09.tar.gz with Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'App-ClusterSSH' version '4.09' DUNCS/App-ClusterSSH-4.09.tar.gz /usr/bin/perl Build.PL -- OK Running Build for D/DU/DUNCS/App-ClusterSSH-4.09.tar.gz Building App-ClusterSSH Using perl binary: /usr/bin/perl Using perl version v5.26.1 Generating: ccon Generating: clusterssh_bash_completion.dist Generating: crsh Generating: csftp Generating: cssh Generating: ctel Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "cssh" in podpath: using script::cssh as replacement path to cssh Cannot find "App::ClusterSSH::L10N" in podpath: using lib::App::ClusterSSH::L10N as replacement path to App::ClusterSSH::L10N DUNCS/App-ClusterSSH-4.09.tar.gz ./Build -- OK Running Build test t/00-load.t ....... ok t/01l10n.t ........ ok t/02base.t ........ ok t/05getopts.t ..... ok t/10host.t ........ 1/? Failed test 'realname set' at t/10host.t line 40. got: 'Eevo5ang.nesting-homei.net' expected: 'Eevo5ang'

Failed test 'realname set' at t/10host.t line 51. got: 'Eevo5ang.nesting-homei.net' expected: 'Eevo5ang'

Failed test 'realname set' at t/10host.t line 61. got: 'Eevo5ang.nesting-homei.net' expected: 'Eevo5ang'

Failed test 'realname set' at t/10host.t line 71. got: 'Eevo5ang.nesting-homei.net' expected: 'Eevo5ang'

Failed test 'realname set' at t/10host.t line 81. got: 'Eevo5ang.nesting-homei.net' expected: 'Eevo5ang'

Failed test 'realname set' at t/10host.t line 91. got: 'Eevo5ang.nesting-homei.net' expected: 'Eevo5ang'

Failed test 'realname set' at t/10host.t line 109. got: 'Eevo5ang.nesting-homei.net' expected: 'Eevo5ang'

Failed test 'realname set' at t/10host.t line 117. got: 'Eevo5ang.nesting-homei.net' expected: 'Eevo5ang'

Failed test 'realname set' at t/10host.t line 133. got: 'Eevo5ang.nesting-homei.net' expected: 'Eevo5ang'

Failed test 'realname set' at t/10host.t line 141. got: 'Eevo5ang.nesting-homei.net' expected: 'Eevo5ang'

  Failed test 'realname set'
  at t/10host.t line 159.
  got: 'Eevo5ang.nesting-homei.net'
  expected: 'Eevo5ang'

    Failed test 'realname set'
    at t/10host.t line 177.
    got: 'Eevo5ang.nesting-homei.net'
   expected: 'Eevo5ang'

t/10host.t ........ 113/? DUNCS/App-ClusterSSH-4.09.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports DUNCS/App-ClusterSSH-4.09.tar.gz cntl +c

maximlomans commented 6 years ago

After updating cpan, which took the best part of an hour+half and manually installing Aspell's en_us language pack and setting up locale and other suggested env paths my errs are somewhat diff

Nest@9000-PC / $ cpan App::ClusterSSH Reading '/home/Nysten/.local/share/.cpan/Metadata' Database was generated on Fri, 15 Dec 2017 14:29:02 GMT CPAN: LWP::UserAgent loaded ok (v6.31) Fetching with LWP: http://www.cpan.org/authors/01mailrc.txt.gz CPAN: YAML loaded ok (v1.24) Reading '/home/Nysten/.local/share/.cpan/sources/authors/01mailrc.txt.gz' CPAN: Compress::Zlib loaded ok (v2.074) ............................................................................DONE Fetching with LWP: http://www.cpan.org/modules/02packages.details.txt.gz Reading '/home/Nysten/.local/share/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Sat, 16 Dec 2017 21:29:03 GMT ............................................................................DONE Fetching with LWP: http://www.cpan.org/modules/03modlist.data.gz Reading '/home/Nysten/.local/share/.cpan/sources/modules/03modlist.data.gz' DONE Writing /home/Nysten/.local/share/.cpan/Metadata Running install for module 'App::ClusterSSH' CPAN: Digest::SHA loaded ok (v6.00) Checksum for /home/Nysten/.local/share/.cpan/sources/authors/id/D/DU/DUNCS/App-ClusterSSH-4.09.tar.gz ok CPAN: CPAN::Meta::Requirements loaded ok (v2.140) CPAN: Parse::CPAN::Meta loaded ok (v2.150010) CPAN: CPAN::Meta loaded ok (v2.150010) CPAN: Module::CoreList loaded ok (v5.20171120) CPAN: Module::Build loaded ok (v0.4224) Configuring D/DU/DUNCS/App-ClusterSSH-4.09.tar.gz with Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'App-ClusterSSH' version '4.09' DUNCS/App-ClusterSSH-4.09.tar.gz /usr/bin/perl Build.PL -- OK Running Build for D/DU/DUNCS/App-ClusterSSH-4.09.tar.gz Building App-ClusterSSH Using perl binary: /usr/bin/perl Using perl version v5.26.1 Generating: ccon Generating: clusterssh_bash_completion.dist Generating: crsh Generating: csftp Generating: cssh Generating: ctel Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "cssh" in podpath: using script::cssh as replacement path to cssh Cannot find "App::ClusterSSH::L10N" in podpath: using lib::App::ClusterSSH::L10N as replacement path to App::ClusterSSH::L10N DUNCS/App-ClusterSSH-4.09.tar.gz ./Build -- OK Running Build test t/00-load.t ....... ok t/01l10n.t ........ ok t/02base.t ........ ok t/05getopts.t ..... ok t/10host.t ........ ok t/15config.t ...... 1/?

488 SKIP: { 489 skip "Test inappropriate when running as root", 5 if $< == 0; 490 note('move of .csshrc failure'); 491 $ENV{HOME} = tempdir( CLEANUP => 1 ); 492 open( $csshrc, '>', $ENV{HOME} . '/.csshrc' ); 493 print $csshrc "Something", $/; 494 close($csshrc); 495 open( $csshrc, '>', $ENV{HOME} . '/.csshrc.DISABLED' ); 496 print $csshrc "Something else", $/; 497 close($csshrc); 498 chmod( 0666, $ENV{HOME} . '/.csshrc.DISABLED', $ENV{HOME} ); 499 $config = App::ClusterSSH::Config->new(); 500 trap { 501 $config->write_user_config_file(); 502 }; 503 is( $trap->leaveby, 'die', 'died ok' ); 504 isa_ok( $config, "App::ClusterSSH::Config" ); 505 is( $trap->stdout, q{}, 'Expecting no STDOUT' ); 506 is( $trap->stderr, q{}, 'Expecting no STDERR' ); 507 is( $trap->die, 508 q{Unable to create directory $HOME/.clusterssh: Permission denied} 509 . $/, 510 'Expected die msg ' . $trap->stderr 511 ); 512 chmod( 0755, $ENV{HOME} . '/.csshrc.DISABLED', $ENV{HOME} ); 513 }

excerpt of code from t/15config.t

Failed test 'died ok'
at t/15config.t line 499.
got: 'return' expected: 'die'
expected to what ? Failed test 'Expecting no STDERR' at t/15config.t line 502.
got: 'Moved $HOME/.csshrc to $HOME/.csshrc.DISABLED Created new configuration file within $HOME/.clusterssh/ ' expected: ''

Failed test 'Expected die msg Moved $HOME/.csshrc to $HOME/.csshrc.DISABLED Created new configuration file within $HOME/.clusterssh/ ' at t/15config.t line 503.
got: undef expected: 'Unable to create directory $HOME/.clusterssh: Permission denied
' Looks like you failed 3 tests of 155. t/15config.t ...... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/155 subtests t/20helper.t ...... ok t/30cluster.t ..... 1/? Failed test 'undef isa 'App::ClusterSSH::Exception::LoadFile'' at t/30cluster.t line 95. undef isn't defined

Failed test 'Error on reading an existing file ok' at t/30cluster.t line 96. got: undef expected: 'Unable to read file /home/Nysten/.local/share/.cpan/build/App-ClusterSSH-4.09-4/t/30cluster.cannot_read: Permission denied' t/30cluster.t ..... 64/? # Looks like you failed 2 tests of 98. t/30cluster.t ..... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/98 subtests t/80clusterssh.t .. ok t/boilerplate.t ... ok t/changes.t ....... ok t/manifest.t ...... 1/4 # Distribution files are missing in MANIFEST: pod2htmd.tmp

Failed test 'All files are listed in MANIFEST or skipped' at t/manifest.t line 11. Looks like you failed 1 test of 4. t/manifest.t ...... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/4 subtests t/perltidy.t ...... 1/27 # The file 'lib/App/ClusterSSH.pm' is not tidy t/perltidy.t ...... 2/27 # +-----+----------------------------------------------------------+----------------------------------------------------------+ | 1463| -insertborderwidth => 4, | -insertborderwidth => 4, | | 1464| -width => 25, | -width => 25, | | 1465| -class => 'cssh', | -class => 'cssh', |

Test Summary Report

t/05getopts.t (Wstat: 0 Tests: 171 Failed: 0) TODO passed: 160-163, 168-171 t/15config.t (Wstat: 768 Tests: 155 Failed: 3) Failed tests: 142, 145-146 Non-zero exit status: 3 t/30cluster.t (Wstat: 512 Tests: 98 Failed: 2) Failed tests: 9-10 Non-zero exit status: 2 t/manifest.t (Wstat: 256 Tests: 4 Failed: 1) Failed test: 2 Non-zero exit status: 1 t/perltidy.t (Wstat: 256 Tests: 27 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=16, Tests=1782, 222 wallclock secs ( 0.02 usr 0.06 sys + 12.70 cusr 4.53 csys = 17.31 CPU) Result: FAIL Failed 4/16 test programs. 7/1782 subtests failed. DUNCS/App-ClusterSSH-4.09.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports DUNCS/App-ClusterSSH-4.09.tar.gz

cqexbesd commented 6 years ago

I have never tried using cssh under Cygwin and I don't know how many people will have access to such a system to try and help so in the mean time maybe you can go through each error and investigate the cause a little? That may allow someone on another platform to gain some insight.

I would guess the errors about "can't find in pod path" are from https://github.com/duncs/clusterssh/blob/master/bin_PL/_build_docs#L39 which tries to run each script with --generate-pod. If you don't want the docs they may not be important but on the other hand, maybe they suggest there is a problem with some of your installed modules?

maximlomans commented 6 years ago

i removed the files of my previous working cssh i.e ~ /.clusterssh/config and /bin/cssh etc files , and the version cpan pulled down, which isn't the latest 4.10.2 but the 4.9 and tried to build that , i'm still getting the same errors albeit not as messy .. ~/.local/share/.cpan/sources/authors/id/D/DU/DUNCS/App-ClusterSSH-4.10_02 $ ./Build Building App-ClusterSSH Using perl binary: /usr/bin/perl Using perl version v5.26.1 Generating: ccon Generating: clusterssh_bash_completion.dist Generating: crsh Generating: csftp Generating: cssh Generating: ctel Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "cssh" in podpath: using script::cssh as replacement path to cssh Cannot find "App::ClusterSSH::L10N" in podpath: using lib::App::ClusterSSH::L10N as replacement path to App: :ClusterSSH::L10N

i installed App::ClusterSSH::L10N via cpan so i know it's there, podpath apparently is shorthand for 'Plain Old Documentation' 's - path i have no documentation, cssh used to work just fine up till two weeks ago ,not once did i look up docs. ( same here: https://sourceforge.net/p/clusterssh/discussion/306666/thread/2f641e67/ )

duncs commented 6 years ago

Within that directory (where you ran 'Build') , can you run "perl -I./lib bin_PL/_build_docs" and see what that outputs? Can you also check to see if "PERL5LIB" is set, and if so unset it ("unset PERL5LIB") in-case it is trying to pull old libraries into use rather than the updated ones Duncs On Sunday, 17 December 2017, 16:58:22 GMT, marx engels notifications@github.com wrote:

i removed the files of my previous working cssh i.e ~ /.clusterssh/config and /bin/cssh etc files , and the version cpan pulled down, which isn't the latest 4.10.2 but the 4.9 and tried to build that , i'm still getting the same errors albeit not as messy .. ~/.local/share/.cpan/sources/authors/id/D/DU/DUNCS/App-ClusterSSH-4.10_02 $ ./Build Building App-ClusterSSH Using perl binary: /usr/bin/perl Using perl version v5.26.1 Generating: ccon Generating: clusterssh_bash_completion.dist Generating: crsh Generating: csftp Generating: cssh Generating: ctel Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoclose" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "--autoquit" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir_path" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "terminal_chdir" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "macros_enabled" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "XML::Simple" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "Tk::overview" in podpath: cannot find suitable replacement path, cannot resolve link Cannot find "cssh" in podpath: using script::cssh as replacement path to cssh Cannot find "App::ClusterSSH::L10N" in podpath: using lib::App::ClusterSSH::L10N as replacement path to App: :ClusterSSH::L10N

i installed App::ClusterSSH::L10N via cpan so i know it's there, podpath apparently is shorthand for 'Plain Old Documentation' 's - path i have no documentation, cssh used to work just fine up till two weeks ago ,not once did i look up docs. ( same here: https://sourceforge.net/p/clusterssh/discussion/306666/thread/2f641e67/ )

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

duncs commented 6 years ago

What is the output from perl -I./lib bin_PL/_build_docs? You system seems to be ignoring the location of the perl libraries.

Get you also provide the output from perl -V

maximlomans commented 6 years ago

excuse my delayed reply ,here's the output:

$: perl -I./lib bin_PL/_build_docs Can't open perl script "bin_PL/_build_docs": No such file or directory

$: perl -v This is perl 5, version 26, subversion 1 (v5.26.1) built for x86_64-cygwin-threads-multi (with 7 registered patches, see perl -V for more detail)

Copyright 1987-2017, Larry Wall $ perl -V Summary of my perl5 (revision 5 version 26 subversion 1) configuration:

Platform: osname=cygwin osvers=2.9.0(0.31853) archname=x86_64-cygwin-threads-multi uname='cygwin_nt-6.3 cygwin 2.9.0(0.31853) 2017-09-12 10:18 x86_64 cygwin ' config_args='-des -Dprefix=/usr -Dmksymlinks -Darchname=x86_64-cygwin-threads -Dlibperl=cygperl5_26.dll -Dcc=gcc -Dld=g++ -Accflags=-ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/build=/usr/src/debug/perl-5.26.1-1 -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/src/perl-5.26.1=/usr/src/debug/perl-5.26.1-1 -fwrapv' hint=recommended useposix=true d_sigaction=define useithreads=define usemultiplicity=define use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='gcc' ccflags ='-DPERL_USE_SAFE_PUTENV -USTRICT_ANSI__ -D_GNU_SOURCE -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/build=/usr/src/debug/perl-5.26.1-1 -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/src/perl-5.26.1=/usr/src/debug/perl-5.26.1-1 -fwrapv -fno-strict-aliasing -fstack-protector-strong -D_FORTIFY_SOURCE=2' optimize='-O3' cppflags='-DPERL_USE_SAFE_PUTENV -USTRICT_ANSI__ -D_GNU_SOURCE -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/build=/usr/src/debug/perl-5.26.1-1 -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/src/perl-5.26.1=/usr/src/debug/perl-5.26.1-1 -fwrapv -fno-strict-aliasing -fstack-protector-strong' ccversion='' gccversion='6.4.0' gccosandvers='' intsize=4 longsize=8 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long' ivsize=8 nvtype='double' nvsize=8 Off_t='off_t' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='g++' ldflags =' -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector-strong' libpth=/usr/lib libs=-lpthread -lgdbm -ldb -ldl -lcrypt -lgdbm_compat perllibs=-lpthread -ldl -lcrypt libc=/usr/lib/libcygwin.a so=dll useshrplib=true libperl=cygperl5_26.dll gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=dll d_dlsymun=undef ccdlflags=' ' cccdlflags=' ' lddlflags=' --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector-strong'

Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_OP_PARENT PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Locally applied patches: Cygwin: README Cygwin: use auto-image-base instead of fixed DLL base address Cygwin: modify hints Cygwin: Configure correct libsearch Cygwin: Configure correct libpth Cygwin: Win32 correct UTF8 handling Perl: File-Path-2.14 (fixes CVE2017-6512) Built under cygwin Compiled at Sep 26 2017 18:57:14 %ENV: CYGWIN="nodosfilewarning" @INC: /usr/local/lib/perl5/site_perl/5.26/x86_64-cygwin-threads /usr/local/share/perl5/site_perl/5.26 /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads /usr/share/perl5/vendor_perl/5.26 /usr/lib/perl5/5.26/x86_64-cygwin-threads /usr/share/perl5/5.26


i thought that much that it had to do with libs , i gave it some thought the output hinted at that. I see multiple versions of perl5.26 , also 5.14 and 5.22 . I did manage to get a working version 3.28 cssh though the old fashioned way ./cofigure + make install .

duncs commented 6 years ago

Can you run 'ls -la' in the directory?  The 'perl -I./lib bin_PL/_build_docs' is taken out of the build script so I don't understand why that didn't work as expected   Duncs On Sunday, 24 December 2017, 16:51:33 GMT, marx engels notifications@github.com wrote:

excuse my delayed reply ,here's the output:

$: perl -I./lib bin_PL/_build_docs Can't open perl script "bin_PL/_build_docs": No such file or directory

$: perl -v This is perl 5, version 26, subversion 1 (v5.26.1) built for x86_64-cygwin-threads-multi (with 7 registered patches, see perl -V for more detail)

Copyright 1987-2017, Larry Wall $ perl -V Summary of my perl5 (revision 5 version 26 subversion 1) configuration:

Platform: osname=cygwin osvers=2.9.0(0.31853) archname=x86_64-cygwin-threads-multi uname='cygwin_nt-6.3 cygwin 2.9.0(0.31853) 2017-09-12 10:18 x86_64 cygwin ' config_args='-des -Dprefix=/usr -Dmksymlinks -Darchname=x86_64-cygwin-threads -Dlibperl=cygperl5_26.dll -Dcc=gcc -Dld=g++ -Accflags=-ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/build=/usr/src/debug/perl-5.26.1-1 -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/src/perl-5.26.1=/usr/src/debug/perl-5.26.1-1 -fwrapv' hint=recommended useposix=true d_sigaction=define useithreads=define usemultiplicity=define use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='gcc' ccflags ='-DPERL_USE_SAFE_PUTENV -USTRICT_ANSI__ -D_GNU_SOURCE -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/build=/usr/src/debug/perl-5.26.1-1 -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/src/perl-5.26.1=/usr/src/debug/perl-5.26.1-1 -fwrapv -fno-strict-aliasing -fstack-protector-strong -D_FORTIFY_SOURCE=2' optimize='-O3' cppflags='-DPERL_USE_SAFE_PUTENV -USTRICT_ANSI__ -D_GNU_SOURCE -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/build=/usr/src/debug/perl-5.26.1-1 -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/src/perl-5.26.1=/usr/src/debug/perl-5.26.1-1 -fwrapv -fno-strict-aliasing -fstack-protector-strong' ccversion='' gccversion='6.4.0' gccosandvers='' intsize=4 longsize=8 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long' ivsize=8 nvtype='double' nvsize=8 Off_t='off_t' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='g++' ldflags =' -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector-strong' libpth=/usr/lib libs=-lpthread -lgdbm -ldb -ldl -lcrypt -lgdbm_compat perllibs=-lpthread -ldl -lcrypt libc=/usr/lib/libcygwin.a so=dll useshrplib=true libperl=cygperl5_26.dll gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=dll d_dlsymun=undef ccdlflags=' ' cccdlflags=' ' lddlflags=' --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector-strong'

Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_OP_PARENT PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Locally applied patches: Cygwin: README Cygwin: use auto-image-base instead of fixed DLL base address Cygwin: modify hints Cygwin: Configure correct libsearch Cygwin: Configure correct libpth Cygwin: Win32 correct UTF8 handling Perl: File-Path-2.14 (fixes CVE2017-6512) Built under cygwin Compiled at Sep 26 2017 18:57:14 %ENV: CYGWIN="nodosfilewarning" @inc: /usr/local/lib/perl5/site_perl/5.26/x86_64-cygwin-threads /usr/local/share/perl5/site_perl/5.26 /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads /usr/share/perl5/vendor_perl/5.26 /usr/lib/perl5/5.26/x86_64-cygwin-threads /usr/share/perl5/5.26

i thought that much that it had to do with libs , i gave it some thought the output hinted at that. . I managed to get a working version 3.28 cssh .

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or mute the thread.

maximlomans commented 4 years ago

fixed installation process used cpan without test and force install instead of building it which failed on every version since 4.09 cpan -Tif App-ClusterSSH got the latest version 4.14 works fine ;)