Net-Netconf

 view release on metacpan or  search on metacpan

README.md  view on Meta::CPAN

<hardware-model>olive</hardware-model>
<os-name>junos</os-name>
<os-version>15.2I20151211</os-version>
<host-name>device1</host-name>
</system-information>
</rpc-reply>

hardware information:  olive
os-name:  junos
host-name: device1
```


Troubleshooting  (Ubuntu12.04LTS or higher version) 
=================

    1. Installing libxml2 and libxml2-dev 
       - Install using apt-get
            apt-get install libxml2
            apt-get install libxml2-dev
       - Installing from source code
         Download your system specific package from http://packages.ubuntu.com/
         For Precise(12.04 LTS) download its .dpkg packages
         For libxml2: http://packages.ubuntu.com/precise/libxml2
         For libxml2-dev : http://packages.ubuntu.com/precise/libxml2-dev
         
         Install these packages in your system :
            dpkg -i libxml2_2.7xyz__.dpkg
            dpkg -i libxml2-dev_2xyz__.dpkg
            
      Note : Libxml2 and libxml2-dev should be of same version
      
    If you get libxml related error even after installing its dependency like libxml2 and libxml2-dev then try 
    below  command
            apt-get install libxml-libxml-perl
            
    Sometimes you may get error like "Checking for ability to link against xml2...no " while installing LibXML then 
    use this command
          sudo apt-get install zlib1g-dev
          
    2. For error related to Net::SSH2
       Sometimes you may get error like,
              fatal error: openssl/crypto.h: No such file or directory
              #include <openssl/crypto.h>
                            ^
              compilation terminated.
              make: *** [SSH2.o] Error 1
      then use then command:
      sudo apt-get install libssl-dev
      
    3. For YAML related Errors
       Sometimes you may get that yaml is not installed then run following commands:
             apt-get install libyaml-appconfig-perl
             apt-get install libconfig-yaml-perl

    3. For libz errors like:
             /usr/bin/ld: /usr/local/lib/libz.a(crc32.o): relocation R_X86_64_32 against `.rodata' can not be used when 
               making a shared object; recompile with -fPIC
             /usr/local/lib/libz.a: could not read symbols: Bad value
         try installing from source code:
             download libz source code, https://google-desktop-for-linux-mirror.googlecode.com/files/zlib-1.2.3.tar.gz
             according to platform u are using.
             open Makefile and add -fPIC in cflag, (smth like: CFLAGS=-O3 -DUSE_MMAP -fPIC)
             then compile it:
             ./configure
             make test
             make install
        
    4. For cpan related errors:
       While installing some files using cpan, for example "cpan File::Which" you may get error like checksum mismatch
       for distribution, then try installing that package using "cpanm"
       First install cpanm in your system by:
       apt-get install cpanminus
       and then install desired package by using cpanm, for example:
       cpanm File::Which
       
       While installing perl dependency using cpan, if you get errors like "XML::NamespaceSupport package not found" or
       unmet dependency then first install that package using cpan / cpanm and then install your desired package.
       you can also try installing by force :
       apt-get -f install
             
# CONTRIBUTORS

 - [Ganesh Nalawade](https://github.com/ganeshnalawade)
 - [Priyal Jain](https://github.com/Jainpriyal)



( run in 0.366 second using v1.01-cache-2.11-cpan-39bf76dae61 )