1752781 Members
6666 Online
108789 Solutions
New Discussion юеВ

Openssl and perl problem

 
SOLVED
Go to solution
Gerard McNeill
Advisor

Openssl and perl problem

Hi all,

I am attempting to build openssl but i am getting the following problem -

$ ./config -DCFLAGS=+z

Operating system: 9000/778-hp-hpux11

Can't locate strict.pm in @INC (@INC contains: /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_pe

rl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl .) at ./Configure line 9.

BEGIN failed--compilation aborted at ./Configure line 9.

Can't locate strict.pm in @INC (@INC contains: /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_pe

rl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl .) at ./Configure line 9.

BEGIN failed--compilation aborted at ./Configure line 9.

This system (hpux-parisc-cc) is not supported. See file INSTALL for details.

$

I have tried to perform an ln -s command to link the location but no joy..

Any ideas

Gerard
29 REPLIES 29
Bill McNAMARA_1
Honored Contributor

Re: Openssl and perl problem

Maybe useful:
http://hpux.cs.utah.edu/hppd/hpux/Languages/openssl-0.9.6d/

Later,
Bill
It works for me (tm)
Dirk Wiedemann
Respected Contributor

Re: Openssl and perl problem

Hello Gerard,

as Bill suggest you can get a precompiled version under the link.
But if you want to compile openssl by yourself: perl5 stays normaly in the directory /opt/perl5/lib/5.6.1, the config tool search in /opt/perl/lib/5.6.1

regards
Dirk
Gerard McNeill
Advisor

Re: Openssl and perl problem

Hi,

Still no joy here.

The perl5.6.1 is in the following directory -

/application/opt/perl/bin/perl5.6.1

but i am getting no joy with installing OpenSSL.

It seems unable to find it!

All suggestions are welcome!!
Gerard
Ollie R
Respected Contributor

Re: Openssl and perl problem

Hi Gerard,

The "config" script looks in the PATH environment variable to locate the perl installation.

It looks for the first PATH entry containing "perl5" and takes the dirname from that.

Please check that the first PATH entry that mentions "perl5" is the correct location and if not then manually edit your "/etc/MANPATH", run ". /etc/MANPATH" and try the compilation again.

Good luck,

Ollie.
To err is human but to not award points is unforgivable
Gerard McNeill
Advisor

Re: Openssl and perl problem

Hi Ollie,

Thanks for the reply.

But there is no mention of perl5 in the MANPATH file.

Should i edit the file and put the following directory in /application/opt/bin/perl??

All suggestions welcomed!!
Gerard
Ollie R
Respected Contributor

Re: Openssl and perl problem

Hi Gerard,

Sorry, my brain appears to be on vacation today!

For every "MANPATH" read "PATH".

What do you get when you issue the commands "whereis perl" and "whence perl"?

Ollie.
To err is human but to not award points is unforgivable
Gerard McNeill
Advisor

Re: Openssl and perl problem

Ollie,

Here you go -

$whereis perl
perl: /usr/bin/perl /usr/contrib/bin/perl

$whence perl
/usr/bin/perl


Gerard
Dirk Wiedemann
Respected Contributor

Re: Openssl and perl problem

I'm not sure if it's just a typo: is your perl directory named /application/opt/perl/bin/perl5.6.1 or /application/opt/perl/bin/perl/5.6.1 ?
A simple way: if the directory /opt/perl dos not exist, you can create a link with "ln -s /application/opt/perl/bin/perl /opt/perl".

To the MANPATH: afaik it sets only a system wide search path for man pages, not for applications and libraries. Anyway, before changing the files MANPATH and PATH in /etc (and of course new login) you can run tests:
"export MANPATH=/perlverzeichnis:$MANPATH"

and
"export PATH=/perlverzeichnis:$PATH"
and look what happened.

Another test:
run "whereis perl" to find out if you have installed various versions of perl.

regards
Dirk
Ollie R
Respected Contributor

Re: Openssl and perl problem

Hi Gerard,

This is a problem.

Can you tell me, is "/application/opt/perl/bin/perl5.6.1" a directory or a file?

If it's a directory, what is the structure below it?

If it's an executable then there is a major problem with your "perl" installation.

Ollie.
To err is human but to not award points is unforgivable