Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Unable to install Net::SSH2 on Solaris10

by marto (Cardinal)
on Mar 07, 2012 at 10:35 UTC ( [id://958241]=note: print w/replies, xml ) Need Help??


in reply to Unable to install Net::SSH2 on Solaris10

The output of perl MakeFile.PL is fairly self explanatory, the modules README file further explains dependencies.

Replies are listed 'Best First'.
Re^2: Unable to install Net::SSH2 on Solaris10
by ashok.g (Beadle) on Mar 07, 2012 at 13:52 UTC
    I have installed all the prerequisites.. but still it says the same....

      Did you read this:

      You can pass your libssh2 lib and include dirs on the command line. E. +g.: perl Makefile.PL lib=$HOME/libssh2/lib inc=$HOME/libssh2/include

      If that fails, post your perl version (perl -V), Net::SSH2 version.

        Here is the output you requested:
        bash-3.00# perl -V Summary of my perl5 (revision 5 version 8 subversion 9) configuration: Platform: osname=solaris, osvers=2.10, archname=sun4-solaris-thread-multi uname='sunos indialab103 5.10 generic_142909-17 sun4u sparc sunw,s +un-fire-v440 ' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemulti +plicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='/usr/sfw/bin/gcc', ccflags ='-D_REENTRANT -fno-strict-aliasing + -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUT +ENV', optimize='-O', cppflags='-D_REENTRANT -fno-strict-aliasing -pipe' ccversion='', gccversion='3.4.3 (csl-sol210-3_4-branch+sol_rpath)' +, gccosandvers='solaris2.10' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +6 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', + lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='/usr/sfw/bin/gcc', ldflags =' ' libpth=/usr/lib /usr/sfw/lib libs=-lsocket -lnsl -ldl -lm -lpthread -lc perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC +_WRAP PERL_USE_SAFE_PUTENV USE_FAST_STDIO USE_ITHREA +DS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under solaris Compiled at Mar 7 2012 05:00:33 @INC: /usr/local/perl.5.8.9/lib/5.8.9/sun4-solaris-thread-multi /usr/local/perl.5.8.9/lib/5.8.9 /usr/local/perl.5.8.9/lib/site_perl/5.8.9/sun4-solaris-thread-mult +i /usr/local/perl.5.8.9/lib/site_perl/5.8.9
        Strange....!!!

        I have installed the prerequisites using pkgadd and now when you ask me I tried to do perl -V command and it showed the following errors:
        bash-3.00# perl -V Bareword found where operator expected at /dev/null line 1, near "/lib +/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 2, near "/lib +/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 5, near "/lib +/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 6, near "/lib +/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 7, near "/lib +/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 8, near "/lib +/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 9, near "/lib +/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 10, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 11, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 12, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 13, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 14, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 15, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 16, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 17, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 18, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 19, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 20, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 21, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 22, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 23, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 24, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 25, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 26, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 27, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 28, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 29, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 30, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 31, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 32, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 33, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 34, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 35, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 36, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 37, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 38, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 39, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 40, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 41, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 42, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 43, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 44, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 45, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 46, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 47, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 48, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 49, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 50, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 51, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 52, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 53, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 54, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 55, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 56, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 57, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 58, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 59, near "/li +b/libssh2" (Missing operator before libssh2?) Bareword found where operator expected at /dev/null line 60, near "/li +b/libssh2" (Missing operator before libssh2?) syntax error at /dev/null line 1, near "ld: warning:" Execution of /dev/null aborted due to compilation errors.
        Does something got messed up here? Please help!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-24 06:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found