site logo  PerlSetup

HomePage | Categories |* BLOG *| RecentChanges | RecentlyCommented | Login/Register

Revision [778]

Last edited on 2008-03-09 07:24:36 by MikeGreene
Additions:
{{image class="center" title="rewrite" url="http://www.mgreene.org/graphics/rewrite.png"}}
Deletions:
{{image class="center" title="rewrite" url="images/rewrite.png"}}


Revision [301]

Edited on 2007-05-25 15:08:29 by MikeGreene

No differences.

Revision [300]

Edited on 2007-05-25 15:07:56 by MikeGreene
Additions:
FYI: here is the output from testperl.cmd -
====================================
Testing perl... Getting version...
====================================
This is perl, v5.8.8 built for os2
Copyright 1987-2006, Larry Wall
OS/2 port Copyright (c) 1990, 1991, Raymond Chen, Kai Uwe Rommel
Version 5 port Copyright (c) 1994-2002, Andreas Kaiser, Ilya Zakharevich
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
====================================
We checked that Perl can be loaded. Apparently, your PATH and LIBPATH
are set to reasonable values. From now on the tests are coded in Perl.
Press :
====================================
The next step is to check that you installed shell in a location perl can
find, so that you can start external programs.
I could find your shell, its version is '@(#)PD KSH v5.2.7 96/06/04'
Press :
====================================
Ouph, the most frequent problem is behind... Now testing Perl library search.
Found Perl library. Fine...
Press :
====================================
The following entries in '/perl/lib/5.8.8/os2/Config.pm'
contain path settings which look suspicious:
aphostname => 'u:/bin/hostname'
gnupatch => 'U:/MOZTOOLS/patch.exe'
libpth => 'U:/usr/lib U:/usr/lib/gcc-lib/i386-pc-os2-emx/3.3.5 u:/extras/lib u:/dev/qt/trunk/lib u:/openldap/lib'
perl5 => 'u:/perl/bin/perl'
perlpath => 'u:/perl/bin/perl'
sysman => 'e:/usr/man/man1'
timeincl => 'U:/USR/include/sys/time.h '
Press :
====================================
Apparently you edited '/perl/lib/5.8.8/Net/Config.pm',
so I expect you know what you did. OK...
Tests finished. Press :


Revision [299]

Edited on 2007-05-25 15:05:12 by MikeGreene
Additions:
set PERLPATH=d:\perl
Deletions:
set PERLPATH=u:\perl


Revision [298]

Edited on 2007-05-25 15:04:43 by MikeGreene
Additions:
@ECHO OFF
set PERLPATH=u:\perl
set PATH=%PATH%;%PERLPATH%\bin;
set BEGINLIBPATH=%PERLPATH%\bin
set PERL_SH_DIR=%PERLPATH%
Deletions:
set PATH=%PATH%;d:\perl\bin;
set BEGINLIBPATH=d:\perl\bin
set PERL_SH_DIR=d:/perl


Revision [275]

Edited on 2007-04-29 07:10:14 by MikeGreene
Additions:
I found that I needed to use perl standalone for some configuration files, so I decided to use [[http://smedley.info/os2ports/ Paul Smedley's 5.8.8 port]]. **NOTE: A new build should be available sometime after 29 April 2007.** Paul has a package in [[http://warpin.netlabs.org/en/site/index.xml WarpIn]] format that requires Knut's pathrewriters package which in turn requires the klibc package. Both these are available at Netlabs, look for klibccfg.wpi and libc-0_6_1-csd1.wpi.
Deletions:
I found that I needed to use perl standalone for some configuration files, so I decided to use the most [[http://smedley.info/os2ports/ recent port Paul Smedley built in Feb 2007]]. **NOTE: A new build should be available sometime after 29 April 2007.** Paul has a package in WarpIn format that requires Knut's pathrewriters package which in turn requires the klibc package. Both these are available at Netlabs, look for klibccfg.wpi and libc-0_6_1-csd1.wpi.


Revision [274]

Edited on 2007-04-29 07:07:31 by MikeGreene

No differences.

Revision [273]

Edited on 2007-04-29 07:07:11 by MikeGreene
Additions:
{{image class="center" title="rewrite" url="images/rewrite.png"}}


Revision [272]

Edited on 2007-04-29 07:05:25 by MikeGreene
Additions:
Next, I grabbed [[http://www.mgreene.org/pub/testperl.cmd testperl.cmd]] and [[http://www.mgreene.org/pub/sh.exe sh.exe]] from the from the 5.8.0 distro which can be found on [[http://hobbes.nmsu.edu/cgi-bin/h-search?sh=1&button=Search&key=perl-5.8.0-&stype=all&sort=date&dir=%2F hobbes]]. I used the sh.exe from this archive because the script expected this version and this is why the **PERL_SH_DIR** is in the above cmd file. Also, here is the 5.8.0 [[http://www.mgreene.org/pub/perldoc.zip inf]] file just for reference.
Deletions:
Next, I grabbed [[http://www.mgreene.org/pub/testperl.cmd testperl.cmd]] and [[http://www.mgreene.org/pub/sh.exe sh.exe]] from the from the 5.8.0 distro which can be found on [[http://hobbes.nmsu.edu/cgi-bin/h-search?sh=1&button=Search&key=perl-5.8.0-&stype=all&sort=date&dir=%2F hobbes]]. I used the sh.exe from this archive because the script expected this version and this is why the **PERL_SH_DIR** is in the above cmd file. Also, here is the 5.8.0 [[http://www.mgreene.org/pub/perl.inf inf]] file just for reference.


Revision [271]

Edited on 2007-04-29 06:59:10 by MikeGreene
Additions:
**NOTE: I am installing perl to my D drive**
I use the following cmd file to setup the perl environment, but it could actually be placed in config.sys:
Next, I grabbed [[http://www.mgreene.org/pub/testperl.cmd testperl.cmd]] and [[http://www.mgreene.org/pub/sh.exe sh.exe]] from the from the 5.8.0 distro which can be found on [[http://hobbes.nmsu.edu/cgi-bin/h-search?sh=1&button=Search&key=perl-5.8.0-&stype=all&sort=date&dir=%2F hobbes]]. I used the sh.exe from this archive because the script expected this version and this is why the **PERL_SH_DIR** is in the above cmd file. Also, here is the 5.8.0 [[http://www.mgreene.org/pub/perl.inf inf]] file just for reference.
The test passed, now to do something with it.
Deletions:
**NOTE: I am installing to my D drive**
I downloaded the archive and unzip'd to my D: drive. Next came the cmd file, so I started with:
Next, I grabbed [[http://www.mgreene.org/pub/testperl.cmd testperl.cmd]] and sh.exe from the from the 5.8.0 distro which can be found on [[http://hobbes.nmsu.edu/cgi-bin/h-search?sh=1&button=Search&key=perl-5.8.0-&stype=all&sort=date&dir=%2F hobbes]].


Revision [270]

Edited on 2007-04-29 06:47:56 by MikeGreene
Additions:
I found that I needed to use perl standalone for some configuration files, so I decided to use the most [[http://smedley.info/os2ports/ recent port Paul Smedley built in Feb 2007]]. **NOTE: A new build should be available sometime after 29 April 2007.** Paul has a package in WarpIn format that requires Knut's pathrewriters package which in turn requires the klibc package. Both these are available at Netlabs, look for klibccfg.wpi and libc-0_6_1-csd1.wpi.
**NOTE: I am installing to my D drive**
Ensure both klibc and pathrewriters are installed. Next install the perl package. You should be able to open the "kLIBC Pathrewriters" located in "System Setup" and see something like this:
I downloaded the archive and unzip'd to my D: drive. Next came the cmd file, so I started with:
set PERL_SH_DIR=d:/perl
Next, I grabbed [[http://www.mgreene.org/pub/testperl.cmd testperl.cmd]] and sh.exe from the from the 5.8.0 distro which can be found on [[http://hobbes.nmsu.edu/cgi-bin/h-search?sh=1&button=Search&key=perl-5.8.0-&stype=all&sort=date&dir=%2F hobbes]].
Deletions:
I found that I needed to use perl standalone for some configuration files, so I decided to use the most [[http://smedley.info/os2ports/ recent port Paul Smedley built in Feb 2007]]. I downloaded the archive and unzip'd to my D: drive. Next came the cmd file, so I started with:
set PERLIB_PREFIX=u:/perl/lib;d:\perl\lib
set PERL_SH_DIR=d:/moztools
Next, I grabbed [[http://www.mgreene.org/pub/testperl.cmd testperl.cmd]] from the 5.8.0 distro and the errors started.


Revision [269]

Edited on 2007-04-26 19:31:27 by MikeGreene
Additions:
I found that I needed to use perl standalone for some configuration files, so I decided to use the most [[http://smedley.info/os2ports/ recent port Paul Smedley built in Feb 2007]]. I downloaded the archive and unzip'd to my D: drive. Next came the cmd file, so I started with:
----- perlenv.cmd
%%
set PATH=%PATH%;d:\perl\bin;
set BEGINLIBPATH=d:\perl\bin
set PERLIB_PREFIX=u:/perl/lib;d:\perl\lib
set PERL_SH_DIR=d:/moztools
%%
-----
Next, I grabbed [[http://www.mgreene.org/pub/testperl.cmd testperl.cmd]] from the 5.8.0 distro and the errors started.
Deletions:
I found that I needed to use perl standalone for some configuration files, so I decided to use the most [[http://smedley.info/os2ports/ recent port Paul Smedley built in Feb 2007]].


Revision [268]

Edited on 2007-04-26 18:02:59 by MikeGreene
Additions:
I found that I needed to use perl standalone for some configuration files, so I decided to use the most [[http://smedley.info/os2ports/ recent port Paul Smedley built in Feb 2007]].


Revision [267]

Edited on 2007-04-26 17:57:55 by MikeGreene
Additions:
====Perl Setup====
Deletions:
Perl Setup


Revision [266]

The oldest known version of this page was created on 2007-04-26 17:56:01 by MikeGreene
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.7
Page was generated in 0.2390 seconds