Re: [Ssh-sftp-perl-users] new Net-SFTP-0.10 module install on solaris 10 sparc machine???
Brought to you by:
dbrobins
From: Salvador F. <sfa...@ya...> - 2009-10-19 20:28:27
|
Hi, It seems that gcc can not find the assembler. Adjust your $PATH or install the assembler. I have been able to compile Math::Pari under Solaris 10 and the bundled Perl 5.8.4 using the SUN compiler (that is "gratis", available from sun.com). It is recommended to use the same C compiler that was used for compiling Perl. Another option is to just compile a new Perl using gcc and use it instead of the one that comes with the OS. Cheers, - Salva ----- Original Message ---- > From: "Arifuddin, Arif" <Ari...@xe...> > To: Salvador Fandino <sfa...@ya...>; ssh...@li... > Sent: Mon, October 19, 2009 7:35:35 PM > Subject: Re: [Ssh-sftp-perl-users] new Net-SFTP-0.10 module install on solaris 10 sparc machine??? > > # cd Math-Pari-2.010801 > # ls > blib libPARI Makefile.PL pari-2.1.7.tgz patches > test_eng > Changes libPARI.dumb.pod MANIFEST PariInit.pm > pm_to_blib TODO > func_codes.h libPARI.pod META.yml Pari.pm README > typemap > INSTALL Makefile pari-2.1.7 Pari.xs t > utils > # bash > # /usr/perl5/bin/perlgcc Makefile.PL > Setting up Math::Pari with Perl 5.008004 on solaris version 2.10; > cc=gcc, gccversion=, ccflags='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -D_TS_ERRNO', > ld=gcc, ldflags='', optimize='-O2 -fno-strict-aliasing'. > Found GP/PARI build directory in ./pari-2.1.7 > (integer-formatted version 2001007). > ...Will not overwrite libPARI/paricfg.h... (remove it manually if needed) > You may also want to remove libPARI/paricfg.h if your configuration changed > from the time of the first build in this directory... > Have /usr/perl5/5.8.4/lib/Sun/Solaris/PerlGcc > Want /usr/perl5/5.8.4/lib/sun4-solaris-64int > Your perl and your Config.pm seem to have different ideas about the > architecture they are running on. > Perl thinks: [PerlGcc] > Config says: [sun4-solaris-64int] > This may or may not cause problems. Please check your installation of perl > if you have problems building this extension. > ...Processor of family `sparcv9' detected > ...I will use assembler build of type 'sparcv8_micro'. > sh: as: not found > sh: as: not found > ...Assembler is not GNU assembler > Have /usr/perl5/5.8.4/lib/Sun/Solaris/PerlGcc > Want /usr/perl5/5.8.4/lib/sun4-solaris-64int > Your perl and your Config.pm seem to have different ideas about the > architecture they are running on. > Perl thinks: [PerlGcc] > Config says: [sun4-solaris-64int] > This may or may not cause problems. Please check your installation of perl > if you have problems building this extension. > Writing Makefile for Math::PARI::libPARI > Writing Makefile for Math::Pari > > > # /usr/sfw/bin/gmake > Skip blib/lib/Math/libPARI.dumb.pod (unchanged) > Skip blib/lib/Math/PariInit.pm (unchanged) > Skip blib/lib/Math/Pari.pm (unchanged) > Skip blib/lib/Math/libPARI.pod (unchanged) > cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-O2 > -fno-strict-aliasing" PREFIX="/usr/perl5/5.8.4" PASTHRU_DEFINE="" PASTHRU_INC="" > /bin/sh: make: not found > gmake: *** [libPARI/libPARI.a] Error 1 > > > > # /usr/sfw/bin/gmake test > cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-O2 > -fno-strict-aliasing" PREFIX="/usr/perl5/5.8.4" PASTHRU_DEFINE="" PASTHRU_INC="" > /bin/sh: make: not found > gmake: *** [libPARI/libPARI.a] Error 1 > > > # /usr/sfw/bin/gmake install > cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-O2 > -fno-strict-aliasing" PREFIX="/usr/perl5/5.8.4" PASTHRU_DEFINE="" PASTHRU_INC="" > /bin/sh: make: not found > gmake: *** [libPARI/libPARI.a] Error 1 > > > Thanks for your help! > > regards, > > Ari...@Xe... > > > > > > -----Original Message----- > From: Salvador Fandino [mailto:sfa...@ya...] > Sent: Fri 10/16/2009 9:01 PM > To: Arifuddin, Arif > Subject: Re: [Ssh-sftp-perl-users] new Net-SFTP-0.10 module install on solaris > 10 sparc machine??? > > Hi > > Post the error you get when trying to compile Math::Pari > > Or try using Net::SFTP::Foreign that's far easier to install than Net::SFTP > > Cheers, > > - Salva > > > > > > ----- Original Message ---- > > From: "Arifuddin, Arif" > > To: ssh...@li... > > Sent: Sat, October 17, 2009 3:14:48 AM > > Subject: [Ssh-sftp-perl-users] new Net-SFTP-0.10 module install on solaris 10 > sparc machine??? > > > > Most of the prerequisites modules installed using > > > > /usr/perl5/bin/perlgcc Makefile.PL > > /usr/sfw/bin/gmake > > /usr/sfw/bin/gmake test > > /usr/sfw/bin/gmake install > > > > except for the Math/Pari.pm which is looking for make...and cant find? what > > should i do? > > > > > > bash-3.00# ./sftp.pl > > Can't locate Math/Pari.pm in @INC (@INC contains: > > /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib > > /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 > > /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int > > /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at > > /usr/perl5/site_perl/5.8.4/Net/SSH/Perl/Util/SSH2MP.pm line 6. > > BEGIN failed--compilation aborted at > > /usr/perl5/site_perl/5.8.4/Net/SSH/Perl/Util/SSH2MP.pm line 6. > > Compilation failed in require at > /usr/perl5/site_perl/5.8.4/Net/SSH/Perl/Util.pm > > line 56. > > BEGIN failed--compilation aborted at > > /usr/perl5/site_perl/5.8.4/Net/SFTP/Buffer.pm line 9. > > Compilation failed in require at > > /usr/perl5/site_perl/5.8.4/Net/SFTP/Attributes.pm line 7. > > BEGIN failed--compilation aborted at > > /usr/perl5/site_perl/5.8.4/Net/SFTP/Attributes.pm line 7. > > Compilation failed in require at /usr/perl5/site_perl/5.8.4/Net/SFTP.pm line > 8. > > BEGIN failed--compilation aborted at /usr/perl5/site_perl/5.8.4/Net/SFTP.pm > line > > 8. > > Compilation failed in require at ./sftp.pl line 3. > > BEGIN failed--compilation aborted at ./sftp.pl line 3. > > > > thanks! > > > > regards, > > > > Ari...@Xe... > > > > > > > > > > ------------------------------------------------------------------------------ > > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > > is the only developer event you need to attend this year. Jumpstart your > > developing skills, take BlackBerry mobile applications to market and stay > > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > > http://p.sf.net/sfu/devconference > > _______________________________________________ > > Ssh-sftp-perl-users mailing list > > Ssh...@li... > > https://lists.sourceforge.net/lists/listinfo/ssh-sftp-perl-users > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Ssh-sftp-perl-users mailing list > Ssh...@li... > https://lists.sourceforge.net/lists/listinfo/ssh-sftp-perl-users |