PERLNETWARE(1)
π PERLNETWARE π
okay bestie, so this one's called perlnetware and it's literally all about Perl for NetWare π the "Perl Programmers Reference Guide" girlies know. let's get into it β¨
πΈ NAME πΈ
perlnetware β Perl for NetWare π«Ά
β¨ DESCRIPTION β¨
okay so this file hands you the instructions for building Perl 5.7 and above, plus Perl modules, for NetWare. iconic. π
before you start, you might wanna read the README file that's chillin' in the top level directory into which the Perl source code distribution was extracted. and bestie, please make sure you read and understand the terms under which the software is being distributed. that part is not optional, fr fr π
π₯ BUILD π₯
this section describes the steps to be performed to build a Perl NLM and other associated NLMs. let's gooo π
π§° Tools & SDK
the build requires the CodeWarrior compiler and linker. also, these three are required:
- the
NetWare SDK NLM & NetWare Libraries for CNetWare Server Protocol Libraries for C
all of them are available at http://developer.novell.com/wiki/index.php/Category:Novell_Developer_Kit β¨
and you also need Microsoft Visual C++ version 4.2 or later. yes, 4.2 or later. no cap. π«‘
π οΈ Setup
the build process is dependent on the location of the NetWare SDK. once the Tools & SDK are installed, the build environment has to be setup. the following batch files setup the environment. π
SetNWBld.batβ the execution of this file takes 2 parameters as input. the first being the NetWare SDK path, the second being the path for CodeWarrior Compiler & tools. execution of this file sets these paths and also sets the build type to Release by default.Buildtype.batβ this is used to set the build type to debug or release. change the build type only after executingSetNWBld.batβ οΈ
Example:
- typing
"buildtype d on"at the command prompt causes the buildtype to be set to Debug type with D2 flag set. - typing
"buildtype d off"or"buildtype d"at the command prompt causes the buildtype to be set to Debug type with D1 flag set. - typing
"buildtype r"at the command prompt sets it to Release Build type.
π§΅ Make
the make process runs only under WinNT shell. the NetWare makefile is located under the NetWare folder. this makes use of miniperl.exe to run some of the Perl scripts. π¦
to create miniperl.exe, first set the required paths for the Visual c++ compiler (specify vcvars32 location) at the command prompt. then run nmake from the win32 folder through the WinNT command prompt. the build process can be stopped after miniperl.exe is created. then run nmake from the NetWare folder through the WinNT command prompt. π
currently the following two build types are tested on NetWare:
USE_MULTI,USE_ITHREADS&USE_IMP_SYSdefinedUSE_MULTI&USE_IMP_SYSdefined andUSE_ITHREADSnot defined
π« Interpreter
once miniperl.exe creation is over, run nmake from the NetWare folder. this will build the Perl interpreter for NetWare as perl.nlm. this is copied under the Release folder if you are doing a release build, else it will be copied under the Debug folder for debug builds. πΈ
π§© Extensions
the make process also creates the Perl extensions as <Extension.nlm> π
π INSTALL π
to install NetWare Perl onto a NetWare server, first map the Sys volume of a NetWare server to i:. this is because the makefile by default sets the drive letter to i:. π
type nmake nwinstall from the NetWare folder on a WinNT command prompt. this will copy the binaries and module files onto the NetWare server under sys:\Perl folder. the Perl interpreter, perl.nlm, is copied under sys:\perl\system folder. copy this to sys:\system folder. π«Ά
Example:
At the command prompt Type "nmake nwinstall".
This will install NetWare Perl on the NetWare Server.
Similarly, if you type "nmake install",
this will cause the binaries to be installed on the local machine.
(Typically under the c:\perl folder)
π BUILD NEW EXTENSIONS π
to build extensions other than standard extensions, NetWare Perl has to be installed on Windows along with Windows Perl. the Perl for Windows can be either downloaded from the CPAN site and built using the sources, or the binaries can be directly downloaded from the ActiveState site. β¨
installation can be done by invoking nmake install from the NetWare folder on a WinNT command prompt after building NetWare Perl by following the steps given above. this will copy all the *.pm files and other required files. documentation files are not copied. thus one must first install Windows Perl, then install NetWare Perl. π
once this is done, do the following to build any extension:
- change to the extension directory where its source files are present.
- run the following command at the command prompt:
perl -II<path to NetWare lib dir> -II<path to lib> Makefile.pl
Example:
perl -Ic:/perl/5.6.1/lib/NetWare-x86-multi-thread \
-Ic:\perl\5.6.1\lib MakeFile.pl
or
perl -Ic:/perl/5.8.0/lib/NetWare-x86-multi-thread \
-Ic:\perl\5.8.0\lib MakeFile.pl
nmakenmake install
install will copy the files into the Windows machine where NetWare Perl is installed and these files may have to be copied to the NetWare server manually. alternatively, pass INSTALLSITELIB=i:\perl\lib as an input to makefile.pl above. here i: is the mapped drive to the sys: volume of the server where Perl on NetWare is installed. now typing nmake install will copy the files onto the NetWare server. π¦
Example: you can execute the following on the command prompt.
perl -Ic:/perl/5.6.1/lib/NetWare-x86-multi-thread \
-Ic:\perl\5.6.1\lib MakeFile.pl
INSTALLSITELIB=i:\perl\lib
or
perl -Ic:/perl/5.8.0/lib/NetWare-x86-multi-thread \
-Ic:\perl\5.8.0\lib MakeFile.pl
INSTALLSITELIB=i:\perl\lib
- Note: some modules downloaded from CPAN may require NetWare related API in order to build on NetWare. other modules may however build smoothly with or without minor changes depending on the type of module. π§
ngl bestie, that Note is important β if a CPAN module needs NetWare related API, it's just not gonna build without it. lowkey a vibe check fail for that module π
π ACKNOWLEDGEMENTS π
the makefile for Win32 is used as a reference to create the makefile for NetWare. also, the make process for the NetWare port uses miniperl.exe to run scripts during the make and installation process. π
π¦ AUTHORS π¦
Anantha Kesari H Y (hyanantha@novell.com) Aditya C (caditya@novell.com)
π DATE π
- Created β 18 Jan 2001
- Modified β 25 June 2001
- Modified β 13 July 2001
- Modified β 28 May 2002
and that's the whole thing, bestie!! this page ships with perl v5.34.0, dated 2026-09-03 π go build yourself a perl.nlm, you absolute icon πβ¨
π¦ where this page comes from
- ubuntu jammy: perl-doc 5.34.0-3ubuntu1.9 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms