Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / v9 / man / man1 / perlnetware.1
CommitLineData
920dae64
AT
1.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
2.\"
3.\" Standard preamble:
4.\" ========================================================================
5.de Sh \" Subsection heading
6.br
7.if t .Sp
8.ne 5
9.PP
10\fB\\$1\fR
11.PP
12..
13.de Sp \" Vertical space (when we can't use .PP)
14.if t .sp .5v
15.if n .sp
16..
17.de Vb \" Begin verbatim text
18.ft CW
19.nf
20.ne \\$1
21..
22.de Ve \" End verbatim text
23.ft R
24.fi
25..
26.\" Set up some character translations and predefined strings. \*(-- will
27.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
28.\" double quote, and \*(R" will give a right double quote. | will give a
29.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to
30.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C'
31.\" expand to `' in nroff, nothing in troff, for use with C<>.
32.tr \(*W-|\(bv\*(Tr
33.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
34.ie n \{\
35. ds -- \(*W-
36. ds PI pi
37. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
38. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
39. ds L" ""
40. ds R" ""
41. ds C` ""
42. ds C' ""
43'br\}
44.el\{\
45. ds -- \|\(em\|
46. ds PI \(*p
47. ds L" ``
48. ds R" ''
49'br\}
50.\"
51.\" If the F register is turned on, we'll generate index entries on stderr for
52.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
53.\" entries marked with X<> in POD. Of course, you'll have to process the
54.\" output yourself in some meaningful fashion.
55.if \nF \{\
56. de IX
57. tm Index:\\$1\t\\n%\t"\\$2"
58..
59. nr % 0
60. rr F
61.\}
62.\"
63.\" For nroff, turn off justification. Always turn off hyphenation; it makes
64.\" way too many mistakes in technical documents.
65.hy 0
66.if n .na
67.\"
68.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
69.\" Fear. Run. Save yourself. No user-serviceable parts.
70. \" fudge factors for nroff and troff
71.if n \{\
72. ds #H 0
73. ds #V .8m
74. ds #F .3m
75. ds #[ \f1
76. ds #] \fP
77.\}
78.if t \{\
79. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
80. ds #V .6m
81. ds #F 0
82. ds #[ \&
83. ds #] \&
84.\}
85. \" simple accents for nroff and troff
86.if n \{\
87. ds ' \&
88. ds ` \&
89. ds ^ \&
90. ds , \&
91. ds ~ ~
92. ds /
93.\}
94.if t \{\
95. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
96. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
97. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
98. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
99. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
100. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
101.\}
102. \" troff and (daisy-wheel) nroff accents
103.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
104.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
105.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
106.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
107.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
108.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
109.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
110.ds ae a\h'-(\w'a'u*4/10)'e
111.ds Ae A\h'-(\w'A'u*4/10)'E
112. \" corrections for vroff
113.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
114.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
115. \" for low resolution devices (crt and lpr)
116.if \n(.H>23 .if \n(.V>19 \
117\{\
118. ds : e
119. ds 8 ss
120. ds o a
121. ds d- d\h'-1'\(ga
122. ds D- D\h'-1'\(hy
123. ds th \o'bp'
124. ds Th \o'LP'
125. ds ae ae
126. ds Ae AE
127.\}
128.rm #[ #] #H #V #F C
129.\" ========================================================================
130.\"
131.IX Title "PERLNETWARE 1"
132.TH PERLNETWARE 1 "2006-01-07" "perl v5.8.8" "Perl Programmers Reference Guide"
133.SH "NAME"
134perlnetware \- Perl for NetWare
135.SH "DESCRIPTION"
136.IX Header "DESCRIPTION"
137This file gives instructions for building Perl 5.7 and above, and also
138Perl modules for NetWare. Before you start, you may want to read the
139\&\s-1README\s0 file found in the top level directory into which the Perl source
140code distribution was extracted. Make sure you read and understand
141the terms under which the software is being distributed.
142.SH "BUILD"
143.IX Header "BUILD"
144This section describes the steps to be performed to build a Perl \s-1NLM\s0
145and other associated NLMs.
146.Sh "Tools & \s-1SDK\s0"
147.IX Subsection "Tools & SDK"
148The build requires CodeWarrior compiler and linker. In addition,
149the \*(L"NetWare \s-1SDK\s0\*(R", \*(L"\s-1NLM\s0 & NetWare Libraries for C\*(R" and
150\&\*(L"NetWare Server Protocol Libraries for C\*(R", all available at
151<http://developer.novell.com/ndk/>, are also required.
152Microsoft Visual \*(C+ version 4.2 or later is also required.
153.Sh "Setup"
154.IX Subsection "Setup"
155The build process is dependent on the location of the NetWare \s-1SDK\s0.
156Once the Tools & \s-1SDK\s0 are installed, the build environment has to
157be setup. The following batch files setup the environment.
158.IP "SetNWBld.bat" 4
159.IX Item "SetNWBld.bat"
160The Execution of this file takes 2 parameters as input. The first
161being the NetWare \s-1SDK\s0 path, second being the path for CodeWarrior
162Compiler & tools. Execution of this file sets these paths and also
163sets the build type to Release by default.
164.IP "Buildtype.bat" 4
165.IX Item "Buildtype.bat"
166This is used to set the build type to debug or release. Change the
167build type only after executing SetNWBld.bat
168.IP "*" 4
169Example:
170 1. Typing \*(L"buildtype d on\*(R" at the command prompt causes the buildtype
171 to be set to Debug type with D2 flag set.
172 2. Typing \*(L"buildtype d off\*(R" or \*(L"buildtype d\*(R" at the command prompt causes
173 the buildtype to be set to Debug type with D1 flag set.
174 2. Typing \*(L"buildtype r\*(R" at the command prompt sets it to Release Build type.
175.Sh "Make"
176.IX Subsection "Make"
177The make process runs only under WinNT shell. The NetWare makefile is
178located under the NetWare folder. This makes use of miniperl.exe to
179run some of the Perl scripts. To create miniperl.exe, first set the
180required paths for Visual c++ compilier (specify vcvars32 location) at
181the command prompt. Then run nmake from win32 folder through WinNT
182command prompt. The build process can be stopped after miniperl.exe
183is created. Then run nmake from NetWare folder through WinNT command
184prompt.
185.PP
186Currently the following two build types are tested on NetWare:
187.IP "\(bu" 4
188\&\s-1USE_MULTI\s0, \s-1USE_ITHREADS\s0 & \s-1USE_IMP_SYS\s0 defined
189.IP "\(bu" 4
190\&\s-1USE_MULTI\s0 & \s-1USE_IMP_SYS\s0 defined and \s-1USE_ITHREADS\s0 not defined
191.Sh "Interpreter"
192.IX Subsection "Interpreter"
193Once miniperl.exe creation is over, run nmake from the NetWare folder.
194This will build the Perl interpreter for NetWare as \fIperl.nlm\fR.
195This is copied under the \fIRelease\fR folder if you are doing
196a release build, else will be copied under \fIDebug\fR folder for debug builds.
197.Sh "Extensions"
198.IX Subsection "Extensions"
199The make process also creates the Perl extensions as \fI<Extension\fR.nlm>
200.SH "INSTALL"
201.IX Header "INSTALL"
202To install NetWare Perl onto a NetWare server, first map the Sys
203volume of a NetWare server to \fIi:\fR. This is because the makefile by
204default sets the drive letter to \fIi:\fR. Type \fInmake nwinstall\fR from
205NetWare folder on a WinNT command prompt. This will copy the binaries
206and module files onto the NetWare server under \fIsys:\ePerl\fR
207folder. The Perl interpreter, \fIperl.nlm\fR, is copied under
208\&\fIsys:\eperl\esystem\fR folder. Copy this to \fIsys:\esystem\fR folder.
209.PP
210Example: At the command prompt Type \*(L"nmake nwinstall\*(R".
211 This will install NetWare Perl on the NetWare Server.
212 Similiarly if you type \*(L"nmake install\*(R",
213 This will cause the binaries to be installed on the local machine.
214 (Typically under the c:\eperl folder)
215.SH "BUILD NEW EXTENSIONS"
216.IX Header "BUILD NEW EXTENSIONS"
217To build extensions other than standard extensions, NetWare Perl has
218to be installed on Windows along with Windows Perl. The Perl for
219Windows can be either downloaded from the \s-1CPAN\s0 site and built using
220the sources, or the binaries can be directly downloaded from the
221ActiveState site. Installation can be done by invoking \fInmake
222install\fR from the NetWare folder on a WinNT command prompt after
223building NetWare Perl by following steps given above. This will copy
224all the *.pm files and other required files. Documentation files are
225not copied. Thus one must first install Windows Perl, Then install
226NetWare Perl.
227.PP
228Once this is done, do the following to build any extension:
229.IP "\(bu" 4
230Change to the extension directory where its source files are present.
231.IP "\(bu" 4
232Run the following command at the command prompt:
233.Sp
234.Vb 1
235\& perl -II<path to NetWare lib dir> -II<path to lib> Makefile.pl
236.Ve
237.Sp
238Example:
239.Sp
240.Vb 1
241\& perl -Ic:/perl/5.6.1/lib/NetWare-x86-multi-thread -Ic:\eperl\e5.6.1\elib MakeFile.pl
242.Ve
243.Sp
244or
245.Sp
246.Vb 1
247\& perl -Ic:/perl/5.8.0/lib/NetWare-x86-multi-thread -Ic:\eperl\e5.8.0\elib MakeFile.pl
248.Ve
249.IP "\(bu" 4
250nmake
251.IP "\(bu" 4
252nmake install
253.Sp
254Install will copy the files into the Windows machine where NetWare
255Perl is installed and these files may have to be copied to the NetWare
256server manually. Alternatively, pass \fIINSTALLSITELIB=i:\eperl\elib\fR as
257an input to makefile.pl above. Here \fIi:\fR is the mapped drive to the
258sys: volume of the server where Perl on NetWare is installed. Now
259typing \fInmake install\fR, will copy the files onto the NetWare server.
260.Sp
261Example: You can execute the following on the command prompt.
262.Sp
263.Vb 2
264\& perl -Ic:/perl/5.6.1/lib/NetWare-x86-multi-thread -Ic:\eperl\e5.6.1\elib MakeFile.pl
265\& INSTALLSITELIB=i:\eperl\elib
266.Ve
267.Sp
268or
269.Sp
270.Vb 2
271\& perl -Ic:/perl/5.8.0/lib/NetWare-x86-multi-thread -Ic:\eperl\e5.8.0\elib MakeFile.pl
272\& INSTALLSITELIB=i:\eperl\elib
273.Ve
274.IP "\(bu" 4
275Note: Some modules downloaded from \s-1CPAN\s0 may require NetWare related
276\&\s-1API\s0 in order to build on NetWare. Other modules may however build
277smoothly with or without minor changes depending on the type of
278module.
279.SH "ACKNOWLEDGEMENTS"
280.IX Header "ACKNOWLEDGEMENTS"
281The makefile for Win32 is used as a reference to create the makefile
282for NetWare. Also, the make process for NetWare port uses
283miniperl.exe to run scripts during the make and installation process.
284.SH "AUTHORS"
285.IX Header "AUTHORS"
286Anantha Kesari H Y (hyanantha@novell.com)
287Aditya C (caditya@novell.com)
288.SH "DATE"
289.IX Header "DATE"
290.IP "\(bu" 4
291Created \- 18 Jan 2001
292.IP "\(bu" 4
293Modified \- 25 June 2001
294.IP "\(bu" 4
295Modified \- 13 July 2001
296.IP "\(bu" 4
297Modified \- 28 May 2002