OS/2, eCS & ArcaOS - Technical > Programming

Problem with Perl5 when compiling openssl-0.9.8zd

<< < (2/2)

Ian B Manners:
Check in any other files in the Perl directory for the correct path.
I normally just do a couple of search and replaces on the file contents.

ie, top of the contents in file c2ph,

#!L:/Perl/bin/perl
    eval 'exec L:/Perl/bin/perl -S $0 ${1+"$@"}'
   if $running_under_some_shell;
#

There was also another file from memory that you had to edit to change drive (and directory) references,
this might nolonger be correct but it rings a bell, I think its the main file that "SET PERLLIB_PREFIX=L:/Perl/lib;C:\perl\lib"
is suppost to fix but from experience I found something worked better by actually changing file contents
instead of relying on the SET PERLLIB_PREFIX statement.

I'm still using Perl v5.8.0

R.M. Klippstein:
Well, Some progress, But No Cigar! Thanks for the help Dave & Ian. I've installed 5.8.0 and it Kinda works!
Seems it can't find the core of Perl library (which I do have installed!)
I'm using:
SET PERL_SH_DIR=C:/Perl/bin

set PERLLIB_PREFIX=L:/Perl/lib; C:/Perl/lib;

here is tetperl.cmd

This is perl, v5.8.0 built for os2_emx

Copyright 1987-2002, 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.com/, 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 <ENTER>:
====================================
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 <ENTER>:
====================================
Ouph, the most frequent problem is behind...  Now testing Perl library search.
Cannot find the core of Perl library.  If you have it installed:
Consider getting help via
     view perl PERLLIB_PREFIX
or in whatever way you like the Perl documentation accessed, say, via
  perldoc perlos2
man, acrobat, netscape, lynx, GNU info, TeX, reading REAME.os2, reading
POD files, and so on.
Skipping further tests now...
Tests finished. Press <ENTER>:

Thanks for any additional ideas,  klipp

Andreas Schnellbacher:
Get your PERLLIB_PREFIX env var right and try again. (Check for slashes and backslashes.)

Ian B Manners:
SET PERL_LIBBATH=L:/Perl/lib;C:\perl\lib
SET PERLLIB_PREFIX=L:/Perl/lib;C:\perl\lib

note / and \

I also have the following in my config.sys but you should find out if you need them or not.

SET PERL_BADFREE=0
SET PERL_BADLANG=0
SET INFOPATH=C:\PERL\BOOK

and obviously your sh bin is different to mine, which is  SET PERL_SH_DIR=c:\bin

R.M. Klippstein:
THANK YOU Ian! That got everything working! Its a shame you're information wasn't included in either the 5.8.0 or Perl5 readme's.

klipp

Navigation

[0] Message Index

[*] Previous page

Go to full version