| 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" |
| 134 | perlnetware \- Perl for NetWare |
| 135 | .SH "DESCRIPTION" |
| 136 | .IX Header "DESCRIPTION" |
| 137 | This file gives instructions for building Perl 5.7 and above, and also |
| 138 | Perl 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 |
| 140 | code distribution was extracted. Make sure you read and understand |
| 141 | the terms under which the software is being distributed. |
| 142 | .SH "BUILD" |
| 143 | .IX Header "BUILD" |
| 144 | This section describes the steps to be performed to build a Perl \s-1NLM\s0 |
| 145 | and other associated NLMs. |
| 146 | .Sh "Tools & \s-1SDK\s0" |
| 147 | .IX Subsection "Tools & SDK" |
| 148 | The build requires CodeWarrior compiler and linker. In addition, |
| 149 | the \*(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. |
| 152 | Microsoft Visual \*(C+ version 4.2 or later is also required. |
| 153 | .Sh "Setup" |
| 154 | .IX Subsection "Setup" |
| 155 | The build process is dependent on the location of the NetWare \s-1SDK\s0. |
| 156 | Once the Tools & \s-1SDK\s0 are installed, the build environment has to |
| 157 | be setup. The following batch files setup the environment. |
| 158 | .IP "SetNWBld.bat" 4 |
| 159 | .IX Item "SetNWBld.bat" |
| 160 | The Execution of this file takes 2 parameters as input. The first |
| 161 | being the NetWare \s-1SDK\s0 path, second being the path for CodeWarrior |
| 162 | Compiler & tools. Execution of this file sets these paths and also |
| 163 | sets the build type to Release by default. |
| 164 | .IP "Buildtype.bat" 4 |
| 165 | .IX Item "Buildtype.bat" |
| 166 | This is used to set the build type to debug or release. Change the |
| 167 | build type only after executing SetNWBld.bat |
| 168 | .IP "*" 4 |
| 169 | Example: |
| 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" |
| 177 | The make process runs only under WinNT shell. The NetWare makefile is |
| 178 | located under the NetWare folder. This makes use of miniperl.exe to |
| 179 | run some of the Perl scripts. To create miniperl.exe, first set the |
| 180 | required paths for Visual c++ compilier (specify vcvars32 location) at |
| 181 | the command prompt. Then run nmake from win32 folder through WinNT |
| 182 | command prompt. The build process can be stopped after miniperl.exe |
| 183 | is created. Then run nmake from NetWare folder through WinNT command |
| 184 | prompt. |
| 185 | .PP |
| 186 | Currently 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" |
| 193 | Once miniperl.exe creation is over, run nmake from the NetWare folder. |
| 194 | This will build the Perl interpreter for NetWare as \fIperl.nlm\fR. |
| 195 | This is copied under the \fIRelease\fR folder if you are doing |
| 196 | a release build, else will be copied under \fIDebug\fR folder for debug builds. |
| 197 | .Sh "Extensions" |
| 198 | .IX Subsection "Extensions" |
| 199 | The make process also creates the Perl extensions as \fI<Extension\fR.nlm> |
| 200 | .SH "INSTALL" |
| 201 | .IX Header "INSTALL" |
| 202 | To install NetWare Perl onto a NetWare server, first map the Sys |
| 203 | volume of a NetWare server to \fIi:\fR. This is because the makefile by |
| 204 | default sets the drive letter to \fIi:\fR. Type \fInmake nwinstall\fR from |
| 205 | NetWare folder on a WinNT command prompt. This will copy the binaries |
| 206 | and module files onto the NetWare server under \fIsys:\ePerl\fR |
| 207 | folder. The Perl interpreter, \fIperl.nlm\fR, is copied under |
| 208 | \&\fIsys:\eperl\esystem\fR folder. Copy this to \fIsys:\esystem\fR folder. |
| 209 | .PP |
| 210 | Example: 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" |
| 217 | To build extensions other than standard extensions, NetWare Perl has |
| 218 | to be installed on Windows along with Windows Perl. The Perl for |
| 219 | Windows can be either downloaded from the \s-1CPAN\s0 site and built using |
| 220 | the sources, or the binaries can be directly downloaded from the |
| 221 | ActiveState site. Installation can be done by invoking \fInmake |
| 222 | install\fR from the NetWare folder on a WinNT command prompt after |
| 223 | building NetWare Perl by following steps given above. This will copy |
| 224 | all the *.pm files and other required files. Documentation files are |
| 225 | not copied. Thus one must first install Windows Perl, Then install |
| 226 | NetWare Perl. |
| 227 | .PP |
| 228 | Once this is done, do the following to build any extension: |
| 229 | .IP "\(bu" 4 |
| 230 | Change to the extension directory where its source files are present. |
| 231 | .IP "\(bu" 4 |
| 232 | Run 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 |
| 238 | Example: |
| 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 |
| 244 | or |
| 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 |
| 250 | nmake |
| 251 | .IP "\(bu" 4 |
| 252 | nmake install |
| 253 | .Sp |
| 254 | Install will copy the files into the Windows machine where NetWare |
| 255 | Perl is installed and these files may have to be copied to the NetWare |
| 256 | server manually. Alternatively, pass \fIINSTALLSITELIB=i:\eperl\elib\fR as |
| 257 | an input to makefile.pl above. Here \fIi:\fR is the mapped drive to the |
| 258 | sys: volume of the server where Perl on NetWare is installed. Now |
| 259 | typing \fInmake install\fR, will copy the files onto the NetWare server. |
| 260 | .Sp |
| 261 | Example: 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 |
| 268 | or |
| 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 |
| 275 | Note: 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 |
| 277 | smoothly with or without minor changes depending on the type of |
| 278 | module. |
| 279 | .SH "ACKNOWLEDGEMENTS" |
| 280 | .IX Header "ACKNOWLEDGEMENTS" |
| 281 | The makefile for Win32 is used as a reference to create the makefile |
| 282 | for NetWare. Also, the make process for NetWare port uses |
| 283 | miniperl.exe to run scripts during the make and installation process. |
| 284 | .SH "AUTHORS" |
| 285 | .IX Header "AUTHORS" |
| 286 | Anantha Kesari H Y (hyanantha@novell.com) |
| 287 | Aditya C (caditya@novell.com) |
| 288 | .SH "DATE" |
| 289 | .IX Header "DATE" |
| 290 | .IP "\(bu" 4 |
| 291 | Created \- 18 Jan 2001 |
| 292 | .IP "\(bu" 4 |
| 293 | Modified \- 25 June 2001 |
| 294 | .IP "\(bu" 4 |
| 295 | Modified \- 13 July 2001 |
| 296 | .IP "\(bu" 4 |
| 297 | Modified \- 28 May 2002 |