Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^8: ssh with perl

by varalaxmibbnl (Acolyte)
on Sep 19, 2013 at 09:49 UTC ( [id://1054820]=note: print w/replies, xml ) Need Help??


in reply to Re^7: ssh with perl
in thread ssh with perl

thanx for the reply... plz tell me how to Share the file /home/bbnladmin/.cpanm/work/1379567866.1970/build.log.... how do we do that i don't know

Replies are listed 'Best First'.
Re^9: ssh with perl
by daxim (Curate) on Sep 19, 2013 at 10:29 UTC
    I wanted you to copy the text from the log file and paste it here to Perlmonks so we can read it. Nevermind, let's concentrate on just that one failing module, all the other errors in that log were just because of Math::Pari not being installed. Run:

    cpanm --sudo --verbose Math::Pari

    and give the output, like last time.

      i have run this code and the output is as follows.....

      cpanm (App::cpanminus) 1.7001 on perl 5.010001 built for x86_64-linux- +gnu-thread-multi Work directory is /home/bbnladmin/.cpanm/work/1379586701.23792 You have make /usr/bin/make You have LWP 6.05 You have /bin/tar: tar (GNU tar) 1.22 Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gp +l.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching Math::Pari on cpanmetadb ... --> Working on Math::Pari Fetching http://www.cpan.org/authors/id/I/IL/ILYAZ/modules/Math-Pari-2 +.01080605.tar.gz ... OK Unpacking Math-Pari-2.01080605.tar.gz Math-Pari-2.01080605/ Math-Pari-2.01080605/Changes Math-Pari-2.01080605/func_codes.h Math-Pari-2.01080605/INSTALL Math-Pari-2.01080605/libPARI/ Math-Pari-2.01080605/libPARI/codes_2014 Math-Pari-2.01080605/libPARI/expected_codes Math-Pari-2.01080605/libPARI/extract_codes.pl Math-Pari-2.01080605/libPARI/gphelp Math-Pari-2.01080605/libPARI/Makefile.PL Math-Pari-2.01080605/Makefile.PL Math-Pari-2.01080605/MANIFEST Math-Pari-2.01080605/META.yml Math-Pari-2.01080605/Pari.pm Math-Pari-2.01080605/Pari.xs Math-Pari-2.01080605/PariInit.pm Math-Pari-2.01080605/patches/ Math-Pari-2.01080605/patches/diff_2.1.2_gccism Math-Pari-2.01080605/patches/diff_2.1.3_interface Math-Pari-2.01080605/patches/diff_2.1.4_interface Math-Pari-2.01080605/patches/diff_2.1.6_align_power_of_2 Math-Pari-2.01080605/patches/diff_2.1.6_no-common Math-Pari-2.01080605/patches/diff_2.1.6_ploth64 Math-Pari-2.01080605/patches/diff_2.1.7_-O Math-Pari-2.01080605/patches/diff_2.1.7_div Math-Pari-2.01080605/patches/diff_2.1.7_mingw-w64 Math-Pari-2.01080605/patches/diff_2.1.7_restart Math-Pari-2.01080605/patches/diff_2.2.2_interface Math-Pari-2.01080605/patches/diff_2.3.5_mingw-w64 Math-Pari-2.01080605/patches/diff_pari-2.1.3-ix86-divl Math-Pari-2.01080605/patches/patch-pari-unnormalized-float Math-Pari-2.01080605/README Math-Pari-2.01080605/t/ Math-Pari-2.01080605/t/000_load-problem.t Math-Pari-2.01080605/t/00_Pari.t Math-Pari-2.01080605/t/PlotRect.t Math-Pari-2.01080605/t/zz_leak.t Math-Pari-2.01080605/test_eng/ Math-Pari-2.01080605/test_eng/ex.t Math-Pari-2.01080605/test_eng/Testout.pm Math-Pari-2.01080605/TODO Math-Pari-2.01080605/typemap Math-Pari-2.01080605/utils/ Math-Pari-2.01080605/utils/chap3_to_pod Math-Pari-2.01080605/utils/comp_funcs.pl Math-Pari-2.01080605/utils/foncpari.pl Math-Pari-2.01080605/utils/inc.h Math-Pari-2.01080605/utils/inc_h.diff Math-Pari-2.01080605/utils/Math/ Math-Pari-2.01080605/utils/Math/PariBuild.pm Math-Pari-2.01080605/utils/notes Math-Pari-2.01080605/utils/paridoc_to_pod Math-Pari-2.01080605/utils/README Entering Math-Pari-2.01080605 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.76) Running Makefile.PL Configuring Math-Pari-2.01080605 ... Did not find GP/PARI build direct +ory around. Non-interactive session, autofetching... Getting GP/PARI from ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/ Cannot list (Illegal PORT command. ): at utils/Math/PariBuild.pm line 319. Can't fetch file with Net::FTP, now trying with LWP::UserAgent... Not in this directory, trying `ftp://megrez.math.u-bordeaux.fr/pub/par +i/unix/OLD/'... Did not find any file matching /((?:.*\/)?pari\W*(?!2\.(?:[3-9]|\d\d+) +\.)(\d+\.\d+\.\d+).*\.t(?:ar\.)?gz)$/ via FTP. ============================================== ftp -pinegv megrez.math.u-bordeaux.fr < ftp-cmd Connected to pari.math.u-bordeaux1.fr. 220 Welcome to PARI/GP FTP service. 331 Please specify the password. 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. 250 Directory successfully changed. 227 Entering Passive Mode (147,210,16,88,185,91). 150 Here comes the directory listing. drwxrwsr-x 2 1000 2000 4096 Oct 11 2012 OLD -rw-rw-r-- 1 1000 2000 147 Jun 22 2011 README -rw-r--r-- 1 1001 1001 88674 Jun 21 2011 pari-2.5.0.cha +ngelog -rw-r--r-- 1 1001 1001 2714449 Jun 21 2011 pari-2.5.0.tar +.gz -rw-rw-r-- 1 1001 1001 189 Jun 21 2011 pari-2.5.0.tar +.gz.asc -rw-r--r-- 1 1000 1000 3664 Feb 02 2012 pari-2.5.1.cha +ngelog -rw-r--r-- 1 1000 2000 2718726 Feb 06 2012 pari-2.5.1.tar +.gz -rw-r--r-- 1 1000 2000 198 Feb 06 2012 pari-2.5.1.tar +.gz.asc -rw-r--r-- 1 1000 1000 4818 Jun 10 2012 pari-2.5.2.cha +ngelog -rw-r--r-- 1 1000 2000 2719367 Aug 03 2012 pari-2.5.2.tar +.gz -rw-r--r-- 1 1000 2000 198 Aug 03 2012 pari-2.5.2.tar +.gz.asc -rw-r--r-- 1 1000 1000 6053 Sep 25 2012 pari-2.5.3.cha +ngelog -rw-r--r-- 1 1000 2000 2720543 Oct 03 2012 pari-2.5.3.tar +.gz -rw-r--r-- 1 1000 2000 198 Oct 03 2012 pari-2.5.3.tar +.gz.asc -rw-r--r-- 1 1000 1000 7273 May 04 12:57 pari-2.5.4.cha +ngelog -rw-r--r-- 1 1000 2000 2721861 May 05 14:43 pari-2.5.4.tar +.gz -rw-r--r-- 1 1000 2000 198 May 05 14:43 pari-2.5.4.tar +.gz.asc lrwxrwxrwx 1 1000 2000 17 May 03 17:25 pari.tgz -> pa +ri-2.5.0.tar.gz 226 Directory send OK. 250 Directory successfully changed. 227 Entering Passive Mode (147,210,16,88,120,45). 150 Here comes the directory listing. -rwxrwxr-x 1 1000 2000 66815 Oct 05 2001 hosttype -rw-rw-r-- 1 1000 2000 448280 Dec 16 1991 pari-1.36.tar. +gz -rw-rw-r-- 1 1000 2000 483064 May 20 1992 pari-1.37.tar. +gz -rw-rw-r-- 1 1000 2000 627783 Sep 24 1993 pari-1.38.tar. +gz -rw-rw-r-- 1 1000 2000 807777 May 02 1995 pari-1.39.03.t +ar.gz -rw-rw-r-- 1 1000 2000 761096 Jan 19 1995 pari-1.39a.tar +.gz -rw-rw-r-- 1 1000 2000 1360614 Jun 29 1999 pari-2.0.16.be +ta.tgz -rw-rw-r-- 1 1000 2000 1387556 Sep 24 1999 pari-2.0.17.be +ta.tgz -rw-rw-r-- 1 1000 2000 1420185 Dec 20 1999 pari-2.0.18.be +ta.tgz -rw-rw-r-- 1 1000 2000 1457771 Mar 17 2000 pari-2.0.19.be +ta.tgz -rw-rw-r-- 1 1000 2000 1471736 Jun 07 2000 pari-2.0.20.be +ta.tgz -rw-rw-r-- 1 1000 2000 1501819 Oct 27 2000 pari-2.0.21.be +ta.tgz -rw-rw-r-- 1 1000 2000 1524250 Nov 16 2000 pari-2.1.0.tgz -rw-rw-r-- 1 1000 2000 1530823 Apr 30 2001 pari-2.1.1.tgz -rw-rw-r-- 1 1000 2000 1536816 Oct 16 2001 pari-2.1.2.tgz -rw-rw-r-- 1 1000 2000 1538989 Jan 12 2002 pari-2.1.3.tgz -rw-rw-r-- 1 1000 2000 1539118 Jun 23 2002 pari-2.1.4.tgz -rw-rw-r-- 1 1000 2000 1540679 Apr 04 2003 pari-2.1.5.tgz -rw-r--r-- 1 1001 1001 100582 Nov 25 2004 pari-2.1.6.cha +ngelog -rw-r--r-- 1 1001 1001 1541464 Nov 25 2004 pari-2.1.6.tgz -rw-r--r-- 1 1000 2000 189 Nov 26 2004 pari-2.1.6.tgz +.asc -rw-r--r-- 1 1001 1001 101340 Sep 19 2005 pari-2.1.7.cha +ngelog -rw-r--r-- 1 1001 1001 1542137 Sep 20 2005 pari-2.1.7.tgz -rw-r--r-- 1 1000 2000 189 Sep 20 2005 pari-2.1.7.tgz +.asc -rw-rw-r-- 1 1001 2000 214331 May 15 2006 pari-2.3.0.cha +ngelog -rw-rw-r-- 1 1001 2000 2009553 May 22 2006 pari-2.3.0.tar +.gz -rw-r--r-- 1 1000 2000 189 Mar 28 2007 pari-2.3.0.tar +.gz.asc -rw-rw-r-- 1 1001 2000 216451 Oct 05 2006 pari-2.3.1.cha +ngelog -rw-rw-r-- 1 1001 2000 2012604 Oct 08 2006 pari-2.3.1.tar +.gz -rw-rw-r-- 1 1000 2000 189 Oct 08 2006 pari-2.3.1.tar +.gz.asc -rw-r--r-- 1 1001 1001 5909 Mar 27 2007 pari-2.3.2.cha +ngelog -rw-r--r-- 1 1001 1001 2015734 Mar 27 2007 pari-2.3.2.tar +.gz -rw-r--r-- 1 1000 2000 189 Mar 28 2007 pari-2.3.2.tar +.gz.asc -rw-r--r-- 1 1001 1001 9067 Dec 22 2007 pari-2.3.3.cha +ngelog -rw-r--r-- 1 1001 1001 2016896 Dec 22 2007 pari-2.3.3.tar +.gz -rw-r--r-- 1 1000 1000 189 Jan 06 2008 pari-2.3.3.tar +.gz.asc -rw-r--r-- 1 1001 1001 11600 Jul 08 2008 pari-2.3.4.cha +ngelog -rw-r--r-- 1 1001 2000 2024690 Jul 10 2008 pari-2.3.4.tar +.gz -rw-r--r-- 1 1001 1001 197 Sep 15 2008 pari-2.3.4.tar +.gz.asc -rw-r--r-- 1 1000 1000 14327 Feb 05 2010 pari-2.3.5.cha +ngelog -rw-r--r-- 1 1000 1000 2018097 Feb 05 2010 pari-2.3.5.tar +.gz -rw-r--r-- 1 1000 1000 197 Feb 05 2010 pari-2.3.5.tar +.gz.asc -rw-r--r-- 1 1000 2000 2224 Oct 11 2012 pari1.39.txt 226 Directory send OK. 200 Switching to Binary mode. 227 Entering Passive Mode (147,210,16,88,253,189). 150 Opening BINARY mode data connection for pari-2.1.7.tgz (1542137 by +tes). 226 Transfer complete. 1542137 bytes received in 1.98 secs (761.3 kB/s) 221 Goodbye. ============================================== ====================================================================== +==== === === If the output from FTP session above successfully lists === directories, your installs of Net::FTP and, possibly, LWP === is completely broken. How comes??? === ====================================================================== +==== FTP session is for debugging only; I'm ignoring the downloaded file. (Set $ENV{MATHPARI_USEFTP} to TRUE to actually use the downloaded fi +le.) One can rerun Makefile.PL after fetching GP/PARI archive (e.g., pari-2 +.1.7.tgz, or pari-2.3.4.tar.gz) manually to the current directory, or a (grand)p +arent directory of the current directory. [Keep in mind that the numbers "inside version" of Math::Pari module correspond to the last versions of GP/PARI it was tested with (addi +tionally, 2.0108* works best with the last 2.1.* version, 2.1.7). As an alternative to having archive in CWD or its (grand)parent, sp +ecify pari_tgz=PATH_TO_TAR_GZ option to Makefile.PL. There is no need to extract the archive, or build GP/PARI; but if y +ou have it extracted [and patched, if needed], you may specify paridir=PATH_TO_DIST_DIR option to Makefile.PL instead of `pari_tgz'. However, in this case the files WON'T be auto-patched. As a last-resort solution, there is also a possibility to use an al +ready compiled PARI library. See the documentation in README and INSTALL + files.] N/A ! Configure failed for Math-Pari-2.01080605. See /home/bbnladmin/.cpan +m/work/1379586701.23792/build.log for details
        The explanation is in the middle: the installer could not download the pari C library archive on your system (proxy trouble???). Run:

        cpanm --look Math::Pari

        download ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/OLD/pari-2.1.7.tgz manually into that directory, complete the installation by running:

        tar -xvf pari-2.1.7.tgz perl Makefile.PL make make test sudo make install exit

        If you encounter problems with this, again provide the output.

        When this manual installation of Math::Pari is successful, then you can attempt the Net::SSH::Perl installation again.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1054820]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-28 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found