⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 perlsolaris.1

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 1
📖 第 1 页 / 共 3 页
字号:
.\" Automatically generated by Pod::Man 2.16 (Pod::Simple 3.05).\".\" Standard preamble:.\" ========================================================================.de Sh \" Subsection heading.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Vb \" Begin verbatim text.ft CW.nf.ne \\$1...de Ve \" End verbatim text.ft R.fi...\" Set up some character translations and predefined strings.  \*(-- will.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left.\" double quote, and \*(R" will give a right double quote.  \*(C+ will.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,.\" nothing in troff, for use with C<>..tr \(*W-.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'.ie n \{\.    ds -- \(*W-.    ds PI pi.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch.    ds L" "".    ds R" "".    ds C` "".    ds C' ""'br\}.el\{\.    ds -- \|\(em\|.    ds PI \(*p.    ds L" ``.    ds R" '''br\}.\".\" Escape single quotes in literal strings from groff's Unicode transform..ie \n(.g .ds Aq \(aq.el       .ds Aq '.\".\" If the F register is turned on, we'll generate index entries on stderr for.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index.\" entries marked with X<> in POD.  Of course, you'll have to process the.\" output yourself in some meaningful fashion..ie \nF \{\.    de IX.    tm Index:\\$1\t\\n%\t"\\$2"...    nr % 0.    rr F.\}.el \{\.    de IX...\}.\".\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2)..\" Fear.  Run.  Save yourself.  No user-serviceable parts..    \" fudge factors for nroff and troff.if n \{\.    ds #H 0.    ds #V .8m.    ds #F .3m.    ds #[ \f1.    ds #] \fP.\}.if t \{\.    ds #H ((1u-(\\\\n(.fu%2u))*.13m).    ds #V .6m.    ds #F 0.    ds #[ \&.    ds #] \&.\}.    \" simple accents for nroff and troff.if n \{\.    ds ' \&.    ds ` \&.    ds ^ \&.    ds , \&.    ds ~ ~.    ds /.\}.if t \{\.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u".    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'.\}.    \" troff and (daisy-wheel) nroff accents.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'.ds 8 \h'\*(#H'\(*b\h'-\*(#H'.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#].ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#].ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#].ds ae a\h'-(\w'a'u*4/10)'e.ds Ae A\h'-(\w'A'u*4/10)'E.    \" corrections for vroff.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'.    \" for low resolution devices (crt and lpr).if \n(.H>23 .if \n(.V>19 \\{\.    ds : e.    ds 8 ss.    ds o a.    ds d- d\h'-1'\(ga.    ds D- D\h'-1'\(hy.    ds th \o'bp'.    ds Th \o'LP'.    ds ae ae.    ds Ae AE.\}.rm #[ #] #H #V #F C.\" ========================================================================.\".IX Title "PERLSOLARIS 1".TH PERLSOLARIS 1 "2007-12-18" "perl v5.10.0" "Perl Programmers Reference Guide".\" For nroff, turn off justification.  Always turn off hyphenation; it makes.\" way too many mistakes in technical documents..if n .ad l.nh.SH "NAME"README.solaris \- Perl version 5 on Solaris systems.SH "DESCRIPTION".IX Header "DESCRIPTION"This document describes various features of Sun's Solaris operating systemthat will affect how Perl version 5 (hereafter just perl) iscompiled and/or runs.  Some issues relating to the older SunOS 4.x arealso discussed, though they may be out of date..PPFor the most part, everything should just work..PPStarting with Solaris 8, perl5.00503 (or higher) is supplied with theoperating system, so you might not even need to build a newer versionof perl at all.  The Sun-supplied version is installed in /usr/perl5with /usr/bin/perl pointing to /usr/perl5/bin/perl.  Do not disturbthat installation unless you really know what you are doing.  If youremove the perl supplied with the \s-1OS\s0, you will render some bits ofyour system inoperable.  If you wish to install a newer version of perl,install it under a different prefix from /usr/perl5.  Common prefixesto use are /usr/local and /opt/perl..PPYou may wish to put your version of perl in the \s-1PATH\s0 of all users bychanging the link /usr/bin/perl.  This is probably \s-1OK\s0, as most perlscripts shipped with Solaris use an explicit path.  (There are a fewexceptions, such as /usr/bin/rpm2cpio and /etc/rcm/scripts/README, butthese are also sufficiently generic that the actual version of perlprobably doesn't matter too much.).PPSolaris ships with a range of Solaris-specific modules.  If you chooseto install your own version of perl you will find the source of many ofthese modules is available on \s-1CPAN\s0 under the Sun::Solaris:: namespace..PPSolaris may include two versions of perl, e.g. Solaris 9 includesboth 5.005_03 and 5.6.1.  This is to provide stability across Solarisreleases, in cases where a later perl version has incompatibilitieswith the version included in the preceeding Solaris release.  Thedefault perl version will always be the most recent, and in generalthe old version will only be retained for one Solaris release.  Notealso that the default perl will \s-1NOT\s0 be configured to search for modulesin the older version, again due to compatibility/stability concerns.As a consequence if you upgrade Solaris, you will have torebuild/reinstall any additional \s-1CPAN\s0 modules that you installed forthe previous Solaris version.  See the \s-1CPAN\s0 manpage under 'autobundle'for a quick way of doing this..PPAs an interim measure, you may either change the #! line of yourscripts to specifically refer to the old perl version, e.g. onSolaris 9 use #!/usr/perl5/5.00503/bin/perl to use the perl versionthat was the default for Solaris 8, or if you have a large number ofscripts it may be more convenient to make the old version of perl thedefault on your system.  You can do this by changing the appropriatesymlinks under /usr/perl5 as follows (example for Solaris 9):.PP.Vb 7\& # cd /usr/perl5\& # rm bin man pod\& # ln \-s ./5.00503/bin\& # ln \-s ./5.00503/man\& # ln \-s ./5.00503/lib/pod\& # rm /usr/bin/perl\& # ln \-s ../perl5/5.00503/bin/perl /usr/bin/perl.Ve.PPIn both cases this should only be considered to be a temporarymeasure \- you should upgrade to the later version of perl as soon asis practicable..PPNote also that the perl command-line utilities (e.g. perldoc) and anythat are added by modules that you install will be under/usr/perl5/bin, so that directory should be added to your \s-1PATH\s0..Sh "Solaris Version Numbers.".IX Subsection "Solaris Version Numbers."For consistency with common usage, perl's Configure script performssome minor manipulations on the operating system name and versionnumber as reported by uname.  Here's a partial translation table:.PP.Vb 7\&          Sun:                      perl\*(Aqs Configure:\& uname    uname \-r   Name           osname     osvers\& SunOS    4.1.3     Solaris 1.1     sunos      4.1.3\& SunOS    5.6       Solaris 2.6     solaris    2.6\& SunOS    5.8       Solaris 8       solaris    2.8\& SunOS    5.9       Solaris 9       solaris    2.9\& SunOS    5.10      Solaris 10      solaris    2.10.Ve.PPThe complete table can be found in the Sun Managers' \s-1FAQ\s0<ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq> under\&\*(L"9.1) Which Sun models run which versions of SunOS?\*(R"..SH "RESOURCES".IX Header "RESOURCES"There are many, many sources for Solaris information.  A few of theimportant ones for perl:.IP "Solaris \s-1FAQ\s0" 4.IX Item "Solaris FAQ"The Solaris \s-1FAQ\s0 is available at<http://www.science.uva.nl/pub/solaris/solaris2.html>..SpThe Sun Managers' \s-1FAQ\s0 is available at<ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq>.IP "Precompiled Binaries" 4.IX Item "Precompiled Binaries"Precompiled binaries, links to many sites, and much, much more areavailable at <http://www.sunfreeware.com/> and<http://www.blastwave.org/>..IP "Solaris Documentation" 4.IX Item "Solaris Documentation"All Solaris documentation is available on-line at <http://docs.sun.com/>..SH "SETTING UP".IX Header "SETTING UP".Sh "File Extraction Problems on Solaris.".IX Subsection "File Extraction Problems on Solaris."Be sure to use a tar program compiled under Solaris (not SunOS 4.x)to extract the perl\-5.x.x.tar.gz file.  Do not use \s-1GNU\s0 tar compiledfor SunOS4 on Solaris.  (\s-1GNU\s0 tar compiled for Solaris should be fine.)When you run SunOS4 binaries on Solaris, the run-time system magicallyalters pathnames matching m#lib/locale# so that when tar tries to createlib/locale.pm, a file named lib/oldlocale.pm gets created instead.If you found this advice too late and used a SunOS4\-compiled taranyway, you must find the incorrectly renamed file and move it backto lib/locale.pm..Sh "Compiler and Related Tools on Solaris.".IX Subsection "Compiler and Related Tools on Solaris."You must use an \s-1ANSI\s0 C compiler to build perl.  Perl can be compiledwith either Sun's add-on C compiler or with gcc.  The C compiler thatshipped with SunOS4 will not do..PP\fIInclude /usr/ccs/bin/ in your \s-1PATH\s0.\fR.IX Subsection "Include /usr/ccs/bin/ in your PATH.".PPSeveral tools needed to build perl are located in /usr/ccs/bin/:  ar,as, ld, and make.  Make sure that /usr/ccs/bin/ is in your \s-1PATH\s0..PPYou need to make sure the following packages are installed(this info is extracted from the Solaris \s-1FAQ\s0):.PPfor tools (sccs, lex, yacc, make, nm, truss, ld, as): SUNWbtool,SUNWsprot, SUNWtoo.PPfor libraries & headers: SUNWhea, SUNWarc, SUNWlibm, SUNWlibms, SUNWdfbh,SUNWcg6h, SUNWxwinc, SUNWolinc.PP

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -