X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlmodinstall.pod;h=8352bff474fd0e098c9c2db8efb17900c9e7623e;hb=a365f2ce4defc0d7fecd4e9484f8f958454c9192;hp=8da93db4973064afc6ac69d27b2b1ac5fc0d6e4a;hpb=91826056ab7442c93de1e63ab5fb15dce5c51d50;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlmodinstall.pod b/pod/perlmodinstall.pod index 8da93db..8352bff 100644 --- a/pod/perlmodinstall.pod +++ b/pod/perlmodinstall.pod @@ -65,7 +65,7 @@ directory) and use this approach. =item * -B +B You can use Andreas Koenig's CPAN module ( http://www.cpan.org/modules/by-module/CPAN ) @@ -75,7 +75,7 @@ A. DECOMPRESS Decompress the file with C -You can get gzip from ftp://prep.ai.mit.edu/pub/gnu. +You can get gzip from ftp://prep.ai.mit.edu/pub/gnu/ Or, you can combine this step with the next to save disk space: @@ -90,7 +90,6 @@ C. BUILD Go into the newly-created directory and type: perl Makefile.PL - make make test or @@ -138,23 +137,34 @@ If you used WinZip, this was already done for you. C. BUILD +You'll need the C utility, available at +http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/nmake15.exe +or dmake, available on CPAN. +http://search.cpan.org/dist/dmake/ + Does the module require compilation (i.e. does it have files that end -in .xs, .c, .h, .y, .cc, .cxx, or .C)? If it doesn't, go to INSTALL. -If it does, life is now officially tough for you, because you have to -compile the module yourself -- no easy feat on Windows. You'll need -the C utility, available at -ftp://ftp.microsoft.com/Softlib/MSLFILES/nmake15.exe. +in .xs, .c, .h, .y, .cc, .cxx, or .C)? If it does, life is now +officially tough for you, because you have to compile the module +yourself -- no easy feat on Windows. You'll need a compiler such as +Visual C++. Alternatively, you can download a pre-built PPM package +from ActiveState. +http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/ + +Go into the newly-created directory and type: + + perl Makefile.PL + nmake test + D. INSTALL -Copy the module into your Perl's I directory. That'll be one -of the directories you see when you type +While still in that directory, type: - perl -e 'print "@INC"' + nmake install =item * -B +B A. DECOMPRESS @@ -192,9 +202,9 @@ must be compiled, and you cannot install it "out of the box." If a module does not work on MacPerl but should, or needs to be compiled, see if the module exists already as a port on the -MacPerl Module Porters site (http://pudge.net/mmp/). +MacPerl Module Porters site ( http://pudge.net/mmp/ ). For more information on doing XS with MacPerl yourself, see -Arved Sandstrom's XS tutorial (http://macperl.com/depts/Tutorials/), +Arved Sandstrom's XS tutorial ( http://macperl.com/depts/Tutorials/ ), and then consider uploading your binary to the CPAN and registering it on the MMP site. @@ -253,7 +263,6 @@ See above. Go into the newly-created directory and type: perl Makefile.PL - make make test You will need the packages mentioned in F @@ -328,7 +337,6 @@ the DESCRIP.MMS for the module: Now you're ready to build: - mms mms test Substitute C for C above if you're using MMK. @@ -350,10 +358,10 @@ ASCII to EBCDIC. A. DECOMPRESS - Decompress the file with C +Decompress the file with C - You can get gzip from - http://www.s390.ibm.com/products/oe/bpxqp1.html. +You can get gzip from +http://www.s390.ibm.com/products/oe/bpxqp1.html B. UNPACK @@ -363,7 +371,7 @@ Unpack the result with The BUILD and INSTALL steps are identical to those for Unix. Some modules generate Makefiles that work better with GNU make, which is -available from http://www.mks.com/s390/gnu/index.htm. +available from http://www.mks.com/s390/gnu/ =back @@ -425,9 +433,7 @@ familiar with Perl on your operating system. Jon Orwant -orwant@tpj.com - -The Perl Journal, http://tpj.com +orwant@medita.mit.edu with invaluable help from Chris Nandor, and valuable help from Brandon Allbery, Charles Bailey, Graham Barr, Dominic Dunlop, Jarkko @@ -439,7 +445,7 @@ First version July 22, 1998; last revised November 21, 2001. =head1 COPYRIGHT -Copyright (C) 1998, 2001 Jon Orwant. All Rights Reserved. +Copyright (C) 1998, 2002, 2003 Jon Orwant. All Rights Reserved. Permission is granted to make and distribute verbatim copies of this documentation provided the copyright notice and this permission notice are