Installing The Junos Xml Protocol Perl Client - Juniper JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010 Manual

Junos xml management protocol guide
Hide thumbs Also See for JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010:
Table of Contents

Advertisement

Installing the Junos XML Protocol Perl Client

Copyright © 2010, Juniper Networks, Inc.
% perl install-prereqs.pl -used_by example -force
where the
-used_by example
specific example, and the
exists or if the
make test
To install the required modules in a private directory:
Set the
,
1.
PERL5LIB
MANPATH
% setenv PERL5LIB private-directory-path
% setenv MANPATH "$MANPATH/:$PERL5LIB/../man"
% setenv PATH "$PATH/:$PERL5LIB/../bin"
For sh, ksh, and bash shells,
PERL5LIB=private-directory-path
Go to the
parent-directory/junoscript-perl-release
2.
package was unpacked:
Issue the following command:
3.
% perl install-prereqs.pl -used_by example -install_directory $PERL5LIB -force
where the
-used_by example
specific example, and the
exists or if the
make test
installs the prerequisite Perl modules in the private directory that you specified in
Step 1.
To view any missing dependencies, issue the following command:
% perl required-mod.pl
This command lists the modules that still require installation.
After installing the prerequisites package as detailed in "Unpacking and Installing the
Junos XML Protocol Perl Client Prerequisites Package" on page 208, install the Junos XML
protocol Perl client software. Go to the
that was created in Step 2 in "Unpacking the Junos XML Protocol Perl Client and Sample
Scripts" on page 207. Perform the following steps to install the client software:
Create the makefile:
1.
To install the Perl client in the standard directory (generally
% perl Makefile.pl
Checking if your kit is complete...
Looks good
Writing Makefile for junoscript-perl
To install the Perl client in a private directory:
Chapter 9: Writing Junos XML Protocol Perl Client Applications
option is invoked to install only modules used by a
option installs the module even if an older version
-force
command fails.
, and
environment variables.
PATH
can be set with
$PERL5LIB
directory where the prerequisites
option is invoked to install only modules used by a
option installs the module even if an older version
-force
command fails. The
-install_directory $PERL5LIB
parent-directory/junoscript-perl-release/
EXPORT
option
directory
):
/usr/local/lib
209

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents