Thread

Posted on Sat Oct 13 05:05:01 2007 by mmccaws
problem with prerequisites for Net-SSH-Perl
I am working on a HPUX system built this year. I'm trying to load NET::SSH::Perl but the required modules seem to go in circles trying to get them loaded. I don't think I've been able to get any of these loaded Crypt::DSA Digest::SHA1 Crypt::DES Convert::PEM String::CRC32 Crypt::RSA Math::Pari Digest::BubbleBabble Crypt::DH Math::GMP Crypt::DES_EDE3 Data::random errors like below. Any suggestions???????????? Thanks Mike
Checking if your kit is complete... Looks good ...Processor of family `hppa' detected ...I will use portable assembler-less build ...Assembler is not GNU assembler Writing Makefile for Math::PARI::libPARI Writing Makefile for Math::Pari cp libPARI.dumb.pod blib/lib/Math/libPARI.dumb.pod cp PariInit.pm blib/lib/Math/PariInit.pm cp Pari.pm blib/lib/Math/Pari.pm cp libPARI.pod blib/lib/Math/libPARI.pod cd libPARI && make LIB="" LIBPERL_A="libperl.a" LINKTYPE="dynamic" PREFIX="" OPTIMIZE="-fas +t +Onolimit +Opromote_indirect_calls +DAportable +DS2.0" PASTHRU_DEFINE="" PASTHRU_INC="" /usr/bin/perl -wle0 > pariinl.h /usr/bin/perl -pe1 ../pari-2.1.7/src/kernel/none/level0.h ../pari-2.1.7/src/kernel/none/lev +el1.h >> pariinl.h cc -c -I ../pari-2.1.7/src -I../pari-2.1.7/src/headers -I../pari-2.1.7/src/graph -I. -D_P +OSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LAR +GEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls +DAportable +DS2.0 + -DVERSION=\"\" -DXS_VERSION=\"\" +Z -Derr=pari_err -DDYNAMIC_PLOTTING -o es.o ../pari-2.1.7/src +/language/es.c (Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored. (Bundled) cc: warning 422: Unknown option "f" ignored. (Bundled) cc: warning 480: The +Onolimit option is available only with the C/ANSI C product; ignore +d. (Bundled) cc: warning 480: The +Opromote_indirect_calls option is available only with the C/ANSI C +product; ignored. (Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C product; ignored. (Bundled) cc: "../pari-2.1.7/src/headers/parigen.h", line 19: warning 5: "const" will become a keyw +ord. (Bundled) cc: "../pari-2.1.7/src/headers/parigen.h", line 19: error 1000: Unexpected symbol: "void" +. (Bundled) cc: "../pari-2.1.7/src/headers/parigen.h", line 19: warning 5: "const" will become a keyw +ord. (Bundled) cc: "../pari-2.1.7/src/headers/parigen.h", line 19: error 1000: Unexpected symbol: "void" +. (Bundled) cc: "../pari-2.1.7/src/headers/parigen.h", line 19: error 1506: Parameters allowed in fun +ction definition only. (Bundled) cc: "../pari-2.1.7/src/headers/paristio.h", line 37: error 1705: Function prototypes are +an ANSI feature. (Bundled) cc: "../pari-2.1.7/src/headers/paristio.h", line 38: error 1705: Function prototypes are +an ANSI feature. (Bundled) cc: "../pari-2.1.7/src/headers/paristio.h", line 39: error 1705: Function prototypes are +an ANSI feature. (Bundled) cc: "../pari-2.1.7/src/headers/paristio.h", line 40: error 1705: Function prototypes are +an ANSI feature. (Bundled) cc: "../pari-2.1.7/src/headers/paricom.h", line 56: warning 5: "const" will become a keyw +ord. (Bundled) cc: "../pari-2.1.7/src/headers/paricom.h", line 56: error 1000: Unexpected symbol: "long" +. (Bundled) cc: "../pari-2.1.7/src/headers/paridecl.h", line 23: error 1000: Unexpected symbol: "x". (Bundled) cc: "../pari-2.1.7/src/headers/paridecl.h", line 23: error 1506: Parameters allowed in fu +nction definition only. (Bundled) cc: "../pari-2.1.7/src/headers/paridecl.h", line 24: error 1000: Unexpected symbol: "_vec +". (Bundled) cc: error 2017: Cannot recover from earlier errors, terminating. *** Error exit code 1 Stop. *** Error exit code 1 Stop. /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
Direct Responses: 6252 | Write a response
Posted on Sat Oct 13 23:30:13 2007 by rahed in response to 6246
Re: problem with prerequisites for Net-SSH-Perl
First make sure you have libgmp3, libgmp3-dev and libpari1 (or similar names for HPUX).
Then if you encounter any problems when installing Net::SSH::Perl from cpan prompt install each of prerequisite modules separately (either from cpan or from distribution - perl Makefile.PL, make, make test, make install).

Math::Pari installation may cause problems so read README and INSTALL of this module.
Direct Responses: 6279 | Write a response
Posted on Wed Oct 17 17:42:17 2007 by mmccaws in response to 6252
Re: problem with prerequisites for Net-SSH-Perl
When I get the required libraries which directory do I place them? Mike
Direct Responses: 6308 | Write a response
Posted on Mon Oct 22 22:36:42 2007 by rahed in response to 6279
Re: problem with prerequisites for Net-SSH-Perl
They should install in a default directory. /usr/local/lib or so. It depends on OS.
Write a response