perlquestion
dwm042
For many years any attempt at this for me was a 'no go' because libssh2 and a generic Solaris gcc setup simply didn't mix (we're talking older boxes, circa 2000 hardware on Solaris 8 here; maybe gcc 3.2 or so). Recently I became aware of the <a href="http://www.opencsw.org/">opencsw project</a> which has nicely built packages for Solaris (including a 5.10 Perl) and though they don't support their Solaris 8 packages anymore, they still have them. One of the packages they have is a libssh2.<br><br>
Net::SSH2 though doesn't make very well. perl Makefile.PL leaves a Makefile with LD='c compiler used to compile the perl' and other oddities (optimizations that gcc doesn't like, etc). I've cut and fudged with the Makefile to the point it would compile, but it doesn't test. <br><br>
I asked on the chat channel; [tye] was quite a help. I thought I would post, so that this could be documented and perhaps some gurus at getting packages to compile and do so nicely could assist. Please understand that due to work, my reply rate might be <i>very</i> slow. But at this point, I have nothing to lose.<br><br>