On 10/28/2010 10:30 PM, Sisyphus wrote:
>
> ----- Original Message ----- From: "Sisyphus" <sisyph...@optusnet.com.au>
>>
>> It should work. (No problem for me on Strawberry 5.12.0.1.)
>> Looking at test1.txt it seems that there's a pre-existing build. 
>> Could you
>> run 'dmake realclean', and then try again. (Post the 'dmake' results 
>> again
>> if it still fails.)
>
> Aaah ... found a Strawberry 5.10 installation and I get the same error 
> as you reported.
>
> Might need to use the same compiler both with Strawberry 5.10 and to 
> build libssh2. (Doesn't seem to matter with 5.12.)
>
> Can you alter your Strawberry path so that the mingw installation that 
> built libssh2 is found *instead* of the mingw installation that ships 
> with Strawberry ? That did the trick for me on Strawberry 5.10:
>
> set PATH=C:\mingw\bin;%PATH%
>
> (or whatever)
>
> Cheers,
> Rob
>

http://strawberryperl.com/release-notes/5.12.1.0.html mentions Net::SSH2 
does that have any bearing?

Let me update you first and then I will try what you suggest.  If you 
want to take this discussion off list for now we can do that and maybe  
I'll post back a guide to the list or something if somebody interested 
later.  If you want to keep it on list that's cool too.

dmake realclean tried to run "rm" command so I deleted/rextracted 
Netssh2 and copying back over the modified Makefile.PL.  I got the same 
results.  I then changed to use
push @search_paths, 'C:/msys/1.0/local', 'C:/msys/1.0/local/ssl', 
'C:/msys/1.0/mingw'

It looked like it was going to work then ld.exe crashed (got ld.exe 
stopped working dialog).  The box I am on at present is Windows 7 
64bit.  If you think thats a good chance of causing the problems which i 
suspect I'll stop for now until tomorrow when I get at my virtual XP 
install at work.


C:\formsys\Net-SSH2-0.33>dmake
cp lib/Net/SSH2/File.pm blib\lib\Net\SSH2\File.pm
cp lib/Net/SSH2/Dir.pm blib\lib\Net\SSH2\Dir.pm
cp lib/Net/SSH2/PublicKey.pm blib\lib\Net\SSH2\PublicKey.pm
cp lib/Net/SSH2/SFTP.pm blib\lib\Net\SSH2\SFTP.pm
cp lib/Net/SSH2/Listener.pm blib\lib\Net\SSH2\Listener.pm
cp lib/Net/SSH2/Channel.pm blib\lib\Net\SSH2\Channel.pm
cp lib/Net/SSH2.pm blib\lib\Net\SSH2.pm
AutoSplitting blib\lib\Net\SSH2.pm (blib\lib\auto\Net\SSH2)
C:\strawberry\perl\bin\perl.exe "-Iinc" 
C:\strawberry\perl\lib\ExtUtils\xsubpp
-typemap C:\strawberry\perl\lib\ExtUtils\typemap -typemap typemap  
SSH2.xs > SSH
2.xsc && C:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e 
"mv" --
SSH2.xsc SSH2.c
gcc -c  -IC:/msys/1.0/local/include -IC:/msys/1.0/mingw/include 
-IC:/msys/1.0/lo
cal/ssl/include -I.     -s -O2 -DWIN32 -DHAVE_DES_FCRYPT 
-DUSE_SITECUSTOMIZE -DP
ERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing 
-DPERL_MSVCRT_READ
FIX -s -O2        -DVERSION=\"0.33\"    -DXS_VERSION=\"0.33\"  
"-IC:\strawberry\
perl\lib\CORE"   SSH2.c
Running Mkbootstrap for Net::SSH2 ()
C:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e "chmod" 
-- 644 SS
H2.bs
C:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Mksymlists \
      -e "Mksymlists('NAME'=>\"Net::SSH2\", 'DLBASE' => 'SSH2', 
'DL_FUNCS' => {
}, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"
dlltool --def SSH2.def --output-exp dll.exp
g++.exe -o blib\arch\auto\Net\SSH2\SSH2.dll -Wl,--base-file -Wl,dll.base 
-mdll -
s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" SSH2.o 
-Wl,--image-bas
e,0x7d370000  C:\strawberry\perl\lib\CORE\libperl510.a 
C:\msys\1.0\local\lib\lib
ssh2.a C:\msys\1.0\local\lib\libz.a C:\msys\1.0\local\ssl\lib\libssl.a 
C:\msys\1
.0\local\ssl\lib\libcrypto.a C:\msys\1.0\mingw\lib\libmoldname.a 
C:\msys\1.0\min
gw\lib\libkernel32.a C:\msys\1.0\mingw\lib\libuser32.a 
C:\msys\1.0\mingw\lib\lib
gdi32.a C:\msys\1.0\mingw\lib\libwinspool.a 
C:\msys\1.0\mingw\lib\libcomdlg32.a
C:\msys\1.0\mingw\lib\libadvapi32.a C:\msys\1.0\mingw\lib\libshell32.a 
C:\msys\1
.0\mingw\lib\libole32.a C:\msys\1.0\mingw\lib\liboleaut32.a 
C:\msys\1.0\mingw\li
b\libnetapi32.a C:\msys\1.0\mingw\lib\libuuid.a 
C:\msys\1.0\mingw\lib\libws2_32.
a C:\msys\1.0\mingw\lib\libmpr.a C:\msys\1.0\mingw\lib\libwinmm.a 
C:\msys\1.0\mi
ngw\lib\libversion.a C:\msys\1.0\mingw\lib\libodbc32.a 
C:\msys\1.0\mingw\lib\lib
odbccp32.a dll.exp
collect2: ld returned 255 exit status <<<-----crashed here
dmake:  Error code 129, while making 'blib\arch\auto\Net\SSH2\SSH2.dll'

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to