Re: [Ssh-sftp-perl-users] Net::SSH::Perl Install
Brought to you by:
dbrobins
From: Pierce, S. <Sea...@ar...> - 2011-10-27 20:20:55
|
Thank you Michal! This was a key in getting Net::SSH::Perl installed. Pratap, thank you too. I was able to successfully install Net::SSH::Perl using SunStudio 12.2. Building this module was a pain but I enjoy the functionality. -Sean From: VANOLE, MICHAEL J [mailto:mv...@at...] Sent: Thursday, October 27, 2011 6:00 AM To: S Pratap Singh; Pierce, Sean Cc: ssh...@li... Subject: RE: [Ssh-sftp-perl-users] Net::SSH::Perl Install >From the author of Math::Pari -- pari-2.5 is not supported. Use 2.1 or 2.3. I had the same issues. I went to 2.1.7 and did: "perl Makefile.PL machine=none" and had no problems From: S Pratap Singh [mailto:kda...@gm...] Sent: Wednesday, October 26, 2011 11:50 PM To: Pierce, Sean Cc: ssh...@li... Subject: Re: [Ssh-sftp-perl-users] Net::SSH::Perl Install Hi Sean, I am not sure about this error and never worked on Solaris. However I would suggest you to use following command before you run the installation once again PATH=/usr/bin:/sbin:/usr/local/bin LD_LIBARAY_PAT=/lib:/usr/lib:/usr/local/lib then export the path on the current environment or make it permanent in your settings and try again to install it. If that does not help then please try installing pari separately using CPAN utility if solaris does have this feature. CPAN> Math::Pari INSTALL Also I would suggest you to use NET::SSH2 and try again . http://search.cpan.org/~rkitover/Net-SSH2-0.40/lib/Net/SSH2.pm Regards, Pratap :- Step forward and do something rather than doing nothing. :) On Wed, Oct 26, 2011 at 2:15 PM, Pierce, Sean <Sea...@ar...<mailto:Sea...@ar...>> wrote: Hello- I am seeking help installing Net::SSH::Perl. I am stuck in pari-2.5.0. Painful so far but I feel close and could use your advice to complete the installation. Context is: Solaris 10, openCSW perl 5.10 created with SunPro compiler. Net::SSH::Perl compiled fine in SunStudion12.2 till pari-2.5.0. Issue is the following link error: /opt/csw/gcc2/bin/gcc -o "/opt/csw/share/perl/.cpan/build/Math-Pari-2 +.01080605-cubJEW/pari-2.5.0/Osolaris-ix86"/libpari.so.2.5.0 -shared +-O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -fPIC -Wl,-G,-h,l +ibpari.so.3 mp.o mpinl.o F2x.o FF.o Flx.o FpE.o FpV.o FpX.o Hensel.o +QX_factor.o Qfb.o RgV.o RgX.o ZV.o ZX.o alglin1.o alglin2.o arith1.o +arith2.o base1.o base2.o base3.o base4.o base5.o bb_group.o bibli1.o +bibli2.o bit.o buch1.o buch2.o buch3.o buch4.o concat.o ellanal.o ell +iptic.o galconj.o gen1.o gen2.o gen3.o hnf_snf.o ifactor1.o lll.o nff +actor.o perm.o polarit1.o polarit2.o polarit3.o prime.o random.o root +pol.o subcyclo.o subgroup.o trans1.o trans2.o trans3.o anal.o compat. +o compile.o default.o errmsg.o es.o eval.o hash.o init.o intnum.o mem +bers.o paricfg.o pariinl.o parse.o sumiter.o DedekZeta.o aprcl.o elld +ata.o ellsea.o galois.o galpol.o groupid.o krasner.o kummer.o mpqs.o +part.o stark.o subfield.o thue.o -lc -lm Text relocation remains referenced against symbol offset in file readonly_constants 0x1cc init.o readonly_constants 0x1d0 init.o ld: fatal: relocations remain against allocatable but non-writable sec +tions collect2: ld returned 1 exit status *** Error code 1 dmake: Fatal error: Command failed for target `libpari.so.2.5.0' Same area compiled with gcc2 hits a different error in the same area: /opt/csw/gcc2/bin/gcc -o gp-sta -O3 -Wall -fno-strict-aliasing -fomit +-frame-pointer mp.o mpinl.o F2x.o FF.o Flx.o FpE.o FpV.o FpX.o He +nsel.o QX_factor.o Qfb.o RgV.o RgX.o ZV.o ZX.o alglin1.o alglin2.o ar +ith1.o arith2.o base1.o base2.o base3.o base4.o base5.o bb_group.o bi +bli1.o bibli2.o bit.o buch1.o buch2.o buch3.o buch4.o concat.o ellana +l.o elliptic.o galconj.o gen1.o gen2.o gen3.o hnf_snf.o ifactor1.o ll +l.o nffactor.o perm.o polarit1.o polarit2.o polarit3.o prime.o random +.o rootpol.o subcyclo.o subgroup.o trans1.o trans2.o trans3.o anal.o +compat.o compile.o default.o errmsg.o es.o eval.o hash.o init.o intnu +m.o members.o paricfg.o pariinl.o parse.o sumiter.o DedekZeta.o aprcl +.o elldata.o ellsea.o galois.o galpol.o groupid.o krasner.o kummer.o +mpqs.o part.o stark.o subfield.o thue.o gp.o gp_init.o gp_rl.o highlv +l.o whatnow.o plotport.o plotnull.o -Wl,-rpath,"/opt/csw/share/perl/. +cpan/build/Math-Pari-2.01080605-cubJEW/pari-2.5.0"/Ognu-ix86:"/usr/lo +cal/lib":/usr/lib -lm ld: fatal: option -dn and -P are incompatible ld: fatal: Flags processing errors collect2: ld returned 1 exit status [download]<http://www.perlmonks.org/?abspart=1;displaytype=displaycode;node_id=933988;part=2> Any advice would be appreciated. Its been a long time since I played with C Thanks -Sean ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Ssh-sftp-perl-users mailing list Ssh...@li...<mailto:Ssh...@li...> https://lists.sourceforge.net/lists/listinfo/ssh-sftp-perl-users -- Regards, Pratap Singh |