1PERLNETWARE(1)         Perl Programmers Reference Guide         PERLNETWARE(1)
2
3
4

NAME

6       perlnetware - Perl for NetWare
7

DESCRIPTION

9       This file gives instructions for building Perl 5.7 and above, and also
10       Perl modules for NetWare. Before you start, you may want to read the
11       README file found in the top level directory into which the Perl source
12       code distribution was extracted. Make sure you read and understand the
13       terms under which the software is being distributed.
14

BUILD

16       This section describes the steps to be performed to build a Perl NLM
17       and other associated NLMs.
18
19   Tools & SDK
20       The build requires CodeWarrior compiler and linker.  In addition, the
21       "NetWare SDK", "NLM & NetWare Libraries for C" and "NetWare Server
22       Protocol Libraries for C", all available at
23       <http://developer.novell.com/wiki/index.php/Category:Novell_Developer_Kit>,
24       are required. Microsoft Visual C++ version 4.2 or later is also
25       required.
26
27   Setup
28       The build process is dependent on the location of the NetWare SDK.
29       Once the Tools & SDK are installed, the build environment has to be
30       setup.  The following batch files setup the environment.
31
32       SetNWBld.bat
33           The Execution of this file takes 2 parameters as input. The first
34           being the NetWare SDK path, second being the path for CodeWarrior
35           Compiler & tools. Execution of this file sets these paths and also
36           sets the build type to Release by default.
37
38       Buildtype.bat
39           This is used to set the build type to debug or release. Change the
40           build type only after executing SetNWBld.bat
41
42           Example:
43
44           1.  Typing "buildtype d on" at the command prompt causes the
45               buildtype to be set to Debug type with D2 flag set.
46
47           2.  Typing "buildtype d off" or "buildtype d" at the command prompt
48               causes the buildtype to be set to Debug type with D1 flag set.
49
50           3.  Typing "buildtype r" at the command prompt sets it to Release
51               Build type.
52
53   Make
54       The make process runs only under WinNT shell.  The NetWare makefile is
55       located under the NetWare folder.  This makes use of miniperl.exe to
56       run some of the Perl scripts. To create miniperl.exe, first set the
57       required paths for Visual c++ compiler (specify vcvars32 location) at
58       the command prompt.  Then run nmake from win32 folder through WinNT
59       command prompt.  The build process can be stopped after miniperl.exe is
60       created. Then run nmake from NetWare folder through WinNT command
61       prompt.
62
63       Currently the following two build types are tested on NetWare:
64
65       ·   USE_MULTI, USE_ITHREADS & USE_IMP_SYS defined
66
67       ·   USE_MULTI & USE_IMP_SYS defined and USE_ITHREADS not defined
68
69   Interpreter
70       Once miniperl.exe creation is over, run nmake from the NetWare folder.
71       This will build the Perl interpreter for NetWare as perl.nlm.  This is
72       copied under the Release folder if you are doing a release build, else
73       will be copied under Debug folder for debug builds.
74
75   Extensions
76       The make process also creates the Perl extensions as <Extension.nlm>
77

INSTALL

79       To install NetWare Perl onto a NetWare server, first map the Sys volume
80       of a NetWare server to i:. This is because the makefile by default sets
81       the drive letter to i:.  Type nmake nwinstall from NetWare folder on a
82       WinNT command prompt.  This will copy the binaries and module files
83       onto the NetWare server under sys:\Perl folder. The Perl interpreter,
84       perl.nlm, is copied under sys:\perl\system folder.  Copy this to
85       sys:\system folder.
86
87       Example: At the command prompt Type "nmake nwinstall".
88                 This will install NetWare Perl on the NetWare Server.
89                 Similarly, if you type "nmake install",
90                 this will cause the binaries to be installed on the local
91       machine.
92                 (Typically under the c:\perl folder)
93

BUILD NEW EXTENSIONS

95       To build extensions other than standard extensions, NetWare Perl has to
96       be installed on Windows along with Windows Perl. The Perl for Windows
97       can be either downloaded from the CPAN site and built using the
98       sources, or the binaries can be directly downloaded from the
99       ActiveState site.  Installation can be done by invoking nmake install
100       from the NetWare folder on a WinNT command prompt after building
101       NetWare Perl by following steps given above.  This will copy all the
102       *.pm files and other required files.  Documentation files are not
103       copied.  Thus one must first install Windows Perl, Then install NetWare
104       Perl.
105
106       Once this is done, do the following to build any extension:
107
108       ·   Change to the extension directory where its source files are
109           present.
110
111       ·   Run the following command at the command prompt:
112
113               perl -II<path to NetWare lib dir> -II<path to lib> Makefile.pl
114
115           Example:
116
117               perl -Ic:/perl/5.6.1/lib/NetWare-x86-multi-thread -Ic:\perl\5.6.1\lib MakeFile.pl
118
119           or
120
121               perl -Ic:/perl/5.8.0/lib/NetWare-x86-multi-thread -Ic:\perl\5.8.0\lib MakeFile.pl
122
123       ·   nmake
124
125       ·   nmake install
126
127           Install will copy the files into the Windows machine where NetWare
128           Perl is installed and these files may have to be copied to the
129           NetWare server manually. Alternatively, pass
130           INSTALLSITELIB=i:\perl\lib as an input to makefile.pl above. Here
131           i: is the mapped drive to the sys: volume of the server where Perl
132           on NetWare is installed. Now typing nmake install, will copy the
133           files onto the NetWare server.
134
135           Example: You can execute the following on the command prompt.
136
137                     perl -Ic:/perl/5.6.1/lib/NetWare-x86-multi-thread -Ic:\perl\5.6.1\lib MakeFile.pl
138                     INSTALLSITELIB=i:\perl\lib
139
140           or
141
142                     perl -Ic:/perl/5.8.0/lib/NetWare-x86-multi-thread -Ic:\perl\5.8.0\lib MakeFile.pl
143                     INSTALLSITELIB=i:\perl\lib
144
145       ·   Note: Some modules downloaded from CPAN may require NetWare related
146           API in order to build on NetWare.  Other modules may however build
147           smoothly with or without minor changes depending on the type of
148           module.
149

ACKNOWLEDGEMENTS

151       The makefile for Win32 is used as a reference to create the makefile
152       for NetWare.  Also, the make process for NetWare port uses miniperl.exe
153       to run scripts during the make and installation process.
154

AUTHORS

156       Anantha Kesari H Y (hyanantha@novell.com) Aditya C (caditya@novell.com)
157

DATE

159       ·   Created - 18 Jan 2001
160
161       ·   Modified - 25 June 2001
162
163       ·   Modified - 13 July 2001
164
165       ·   Modified - 28 May 2002
166
167
168
169perl v5.16.3                      2013-03-04                    PERLNETWARE(1)
Impressum