Re: Net-SSH2 build process

2010-10-29 Thread Richie
On 10/29/2010 10:39 PM, Richie wrote: > On 10/29/2010 9:13 PM, Richie wrote: >> I worked around it by adding C:\MinGW\bin to PATH for now. Are doing >> anything extra to incorporate a static gcc lib into the SSH2.dll? > > Forget about this question. I checked back on my other box and it > doesn

Re: Net-SSH2 build process

2010-10-29 Thread Richie
On 10/29/2010 9:13 PM, Richie wrote: > I worked around it by adding C:\MinGW\bin to PATH for now. Are doing > anything extra to incorporate a static gcc lib into the SSH2.dll? Forget about this question. I checked back on my other box and it doesn't see

Re: Net-SSH2 build process

2010-10-29 Thread Richie
On 10/29/2010 9:01 PM, Sisyphus wrote: > > Installing to "/usr/local" should be avoided, since the MinGW compiler > won't > look there by default. > # > > Maybe "/mingw" is not the same as "msys/1.0/mingw" ... perhaps it's > someplace else in the msys tree. I d

Re: Net-SSH2 build process

2010-10-29 Thread Sisyphus
- Original Message - From: "Richie" > I'm not sure about this. My msys doesn't seem to find all those mingw > includes by default. On checking, it looks like I could be mistaken about that. I was basing that statement on the wiki at http://www.mingw.org/wiki/MSYS : ###

Checking for Available Port

2010-10-29 Thread Edwards, Mark (CXO)
I'm writing a simple port listener script using $local=IO::Socket::INET->new(Proto=>"tcp", LocalPort=>$port, Listen=>1, Reuse=>1,) or die "Can't open listening port: $!\n"; Everything works fine except I want to check to see if the port is available before I try to open i

Re: Net-SSH2 build process

2010-10-29 Thread Richie
On 10/29/2010 5:05 AM, sisyphus wrote: > What's in C:/msys/1.0/mingw ? (My msys/1.0/mingw is empty.) The premade msys that I used (linked in earlier emails) puts the mingw install inside the msys structure. I tied the install method described in the wiki and I think it created a c:\mingw dir an

Re: Net-SSH2 build process

2010-10-29 Thread sisyphus
> From: "Richie" > > Just tried 5.12 portable. Had to use the following pieces, but it > worked > > push @search_paths, 'C:/msys/1.0/local', 'C:/msys/1.0/local/ssl' , > > 'C:/msys/1.0/mingw' (Makefile.PL) > > set PATH=C:\msys\1.0\mingw\bin;%PATH% (strawberry shell) > > > > Perhaps the extra

Re: Net-SSH2 build process

2010-10-29 Thread sisyphus
> Sisyphus wrote: > > > - Original Message - > From: "Richie" > collect2: ld returned 255 exit status <<<-crashed here There have been problems with collect2 and mingw in the past. I would've thought they were fixed by the time 5.10 arrived, but perhaps not. (Otherwise I do