加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

Building Perl 5.8.8

发布时间:2020-12-16 00:35:35 所属栏目:大数据 来源:网络整理
导读:Requirements Microsoft Visual C++ [we will use Visual Studio 98 / VC++ 6.0] [Visual Studio .NET will also work with the same instructions] Notes: When using the command-line (command-shell) with VC++,always set the Build Environment and up

Requirements

  • Microsoft Visual C++
    [we will use Visual Studio 98 / VC++ 6.0]
    [Visual Studio .NET will also work with the same instructions]
  • Notes:
    • When using the command-line (command-shell) with VC++,always set the Build Environment and update the System PATH to reflect the tools used in the build --> Guide: Working with the Command Shell

Download

  • Package(win32 source) : perl-5.8.8.tar.gz
  • Unpack as C:buildperl-5.8.8

Our Configuration

  • Install to : C:wwwperl
    [do not install to a directory that contains white spaces]

Configuration and Setup

  • Edit file C:buildperl-5.8.8win32Makefile
    • Edit INST_DRV = C:
      [specifies drive letter to install Perl on]
    • Edit INST_TOP = $(INST_DRV)wwwperl
      [specifies path to install Perl on]
    • Uncomment fields...
      [under perl 5.8.8,these fields are already uncommented by default]
      • CCTYPE = MSVC60
        [specifies compiler : Visual Studio C++ 6.0,Toolkit 2003,or .NET 2003 (if using .NET 2005,specify the last choice)]
      • CRYPT_SRC = fcrypt.c
        [implement the crypt() builtin function]

Build Instructions

  • Open a comand-line interface,with the Build Environment set.
    • cd /d C:buildperl-5.8.8win32
    • > nmake
      [ignore the 'warning ...' type messages]
    • > nmake test
      [this will run most of the tests from the testsuite,many tests will be skipped]
      [there should be no test failures when running under Windows NT/2000/XP with NTFS]
      [some tests might pause,momentarily]
      [tests can take 15 minutes to run on a P3]
      [Output: All tests successful,50 tests and 316 subtests skipped. Files=988,Tests=117873.]
    • > nmake install
      [this will install files to C:wwwperl]
      [ignore the 'cannot resolve ... in paragraph' type messages]

Add Perl to the PATH

  • Set PATH under Start ? Settings ? Control Panel ? System ? Advanced ? Environment Variables ? System variables ? Path
    • C:wwwperlbin

Help

  • List available command line options...
    perl -h
  • Print configuration summary...
    perl -V
  • Print version,subversion...
    perl -v

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读