Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^6: Need Help Installing Net::SSH2

by DanielSpaniel (Scribe)
on Sep 07, 2011 at 18:18 UTC ( [id://924635]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Need Help Installing Net::SSH2
in thread Need Help Installing Net::SSH2

Thanks for the info ... However, I don't seem to be progressing very far. I tried installing the OpenSSL the way you suggested and got errors (as in first code-box below). Then, noting it seemed to be with regards to 64-bit stuff (which the machine is) I used a different "march" value, as in the second box below (which resulted in different errors).

# ./Configure linux-elf -march=pentium # make making all in crypto... make[1]: Entering directory `/home/xyz/Downloads/ssltest/openssl-1.0.0 +d/crypto' ( echo "#ifndef MK1MF_BUILD"; \ echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */' +; \ echo ' #define CFLAGS "gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN + -DHAVE_DLFCN_H -march=pentium -DL_ENDIAN -DTERMIO -O3 -fomit-frame-p +ointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSS +L_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160 +_ASM -DAES_ASM -DWHIRLPOOL_ASM"'; \ echo ' #define PLATFORM "linux-elf"'; \ echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \ echo '#endif' ) >buildinf.h gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN +-DHAVE_DLFCN_H -march=pentium -DL_ENDIAN -DTERMIO -O3 -fomit-frame-po +inter -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL +_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ +ASM -DAES_ASM -DWHIRLPOOL_ASM -c -o cryptlib.o cryptlib.c cryptlib.c:1:0: error: CPU you selected does not support x86-64 instru +ction set cryptlib.c:1:0: error: CPU you selected does not support x86-64 instru +ction set make[1]: *** [cryptlib.o] Error 1 make[1]: Leaving directory `/home/xyz/Downloads/ssltest/openssl-1.0.0d +/crypto' make: *** [build_crypto] Error 1

-----------------------------------------------------

# ./Configure linux-elf -march=x86-64 # make making all in crypto... make[1]: Entering directory `/home/xyz/Downloads/ssltest/openssl-1.0.0 +d/crypto' gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN +-DHAVE_DLFCN_H -march=x86-64 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-poi +nter -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_ +BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_A +SM -DAES_ASM -DWHIRLPOOL_ASM -c -o x86cpuid.o x86cpuid.s x86cpuid.s: Assembler messages: x86cpuid.s:8: Error: invalid instruction suffix for `push' x86cpuid.s:9: Error: invalid instruction suffix for `push' x86cpuid.s:10: Error: invalid instruction suffix for `push' x86cpuid.s:11: Error: invalid instruction suffix for `push' x86cpuid.s:13: Error: invalid instruction suffix for `pushf' x86cpuid.s:14: Error: invalid instruction suffix for `pop' x86cpuid.s:17: Error: invalid instruction suffix for `push' x86cpuid.s:18: Error: invalid instruction suffix for `popf' x86cpuid.s:19: Error: invalid instruction suffix for `pushf' x86cpuid.s:20: Error: invalid instruction suffix for `pop' x86cpuid.s:99: Error: invalid instruction suffix for `pop' x86cpuid.s:100: Error: invalid instruction suffix for `pop' x86cpuid.s:101: Error: invalid instruction suffix for `pop' x86cpuid.s:102: Error: invalid instruction suffix for `pop' x86cpuid.s:130: Error: invalid instruction suffix for `pushf' x86cpuid.s:131: Error: invalid instruction suffix for `pop' x86cpuid.s:135: Error: invalid instruction suffix for `push' x86cpuid.s:136: Error: invalid instruction suffix for `push' x86cpuid.s:153: Error: invalid instruction suffix for `pushf' x86cpuid.s:154: Error: invalid instruction suffix for `pop' x86cpuid.s:209: Error: invalid instruction suffix for `push' x86cpuid.s:218: Error: invalid instruction suffix for `pop' x86cpuid.s:226: Error: invalid instruction suffix for `push' x86cpuid.s:245: Error: invalid instruction suffix for `pop' make[1]: *** [x86cpuid.o] Error 1 make[1]: Leaving directory `/home/xyz/Downloads/ssltest/openssl-1.0.0d +/crypto' make: *** [build_crypto] Error 1

Any suggestions? I feel very incompetent at doing this :-(

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2025-05-25 02:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.