<?xml version="1.0" encoding="windows-1252"?>
<node id="998672" title="Re^3: Installing Math::Pari module on Windows 2008" created="2012-10-12 08:53:34" updated="2012-10-12 08:53:34">
<type id="11">
note</type>
<author id="998367">
nikhilrai</author>
<data>
<field name="doctext">
&lt;p&gt;Thanks everyone for your replies. I am trying to install Net::SSH2 module now on windows 2008 R2 OS. 
&lt;/p&gt;&lt;p&gt;As per the instruction provided in the building guide for Win32, I am kind of stuck in step which build libssh2. 
&lt;/p&gt;&lt;p&gt;BUILDING_WIN32 document suggests the following approach for building libssh2:&lt;/p&gt;&lt;br&gt;
&lt;code&gt;
============================================================
* Build libssh2
Download the latest libssh2 from:
    http://libssh2.org/
Unpack it and go into it:
    tar zxvf libssh2-1.4.2.tar.gz
    cd libssh2-1.4.2
Note the directories where you built OpenSSL and zlib, I will use mine in the following example.
Build libssh2:

    ./buildconf
    ./configure --with-openssl --with-libz \
        --with-libssl-prefix=/c/Users/rkitover/src/openssl-1.0.1c \
        --with-libz-prefix=/c/Users/rkitover/src/zlib-1.2.7 \
        --disable-examples-build
    make -j3

The libssh2.a will be in src/.libs .
===========================================================
&lt;/code&gt;
&lt;p&gt;when I try to perform ./buildconf on CMD prompt shell, I ended up with below error:&lt;/p&gt;
&lt;code&gt;
C:\libssh2-1.4.2&gt;sh buildconf
which: libtoolize: unknown command
which: glibtoolize: unknown command
Neither libtoolize nor glibtoolize could be found!
&lt;/code&gt;
&lt;p&gt;Later I manually intalled libtooltize tool using 'libtool-1.5.26-setup.exe' and now ending up with below error:&lt;/p&gt;
&lt;code&gt;
C:\libssh2-1.4.2&gt;sh buildconf
buildconf: line 15: aclocal: command not found
buildconf: line 16: autoheader: command not found
buildconf: line 21: autoconf: command not found
buildconf: line 22: automake: command not found
C:\libssh2-1.4.2&gt;
&lt;/code&gt;
 I tried installing autoconf and automake similarly but again ending up with multiple compilations issues.&lt;br&gt;
 Can anyone suggest how to overcome this issue? &lt;br&gt;
 MinGw and MinGW_64 is already configured on host and running fine.&lt;br&gt;
 I've successfully done all the previous steps as suggested in http://cpansearch.perl.org/src/RKITOVER/Net-SSH2-0.45/README document&lt;br&gt;&lt;br&gt;
 
 Thanks,&lt;br&gt;
 Nikhil. 
</field>
<field name="root_node">
998371</field>
<field name="parent_node">
998390</field>
</data>
</node>
