- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Openssl and perl problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 02:59 AM
тАО09-12-2002 02:59 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 03:02 AM
тАО09-12-2002 03:02 AM
Re: Openssl and perl problem
http://hpux.cs.utah.edu/hppd/hpux/Languages/openssl-0.9.6d/
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 03:24 AM
тАО09-12-2002 03:24 AM
Re: Openssl and perl problem
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 03:41 AM
тАО09-12-2002 03:41 AM
Re: Openssl and perl problem
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!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 03:43 AM
тАО09-12-2002 03:43 AM
Re: Openssl and perl problem
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 04:03 AM
тАО09-12-2002 04:03 AM
Re: Openssl and perl problem
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!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 04:09 AM
тАО09-12-2002 04:09 AM
Re: Openssl and perl problem
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 04:15 AM
тАО09-12-2002 04:15 AM
Re: Openssl and perl problem
Here you go -
$whereis perl
perl: /usr/bin/perl /usr/contrib/bin/perl
$whence perl
/usr/bin/perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 04:18 AM
тАО09-12-2002 04:18 AM
Re: Openssl and perl problem
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 04:20 AM
тАО09-12-2002 04:20 AM
Re: Openssl and perl problem
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 04:26 AM
тАО09-12-2002 04:26 AM
Re: Openssl and perl problem
run
/usr/bin/perl -v
and
/usr/contrib/bin/perl -v
to check the versions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 04:38 AM
тАО09-12-2002 04:38 AM
Re: Openssl and perl problem
Thanks for the reply.
Attached is a file with the answers to your questions.
The file is an executable so it may look that perl is not installed properly!?!
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 04:40 AM
тАО09-12-2002 04:40 AM
Re: Openssl and perl problem
Let's use another way - set the include directories explicitly:
# perl -help
...
-Idirectory specify @INC/#include directory (several -I's allowed)
...
Ollie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 04:48 AM
тАО09-12-2002 04:48 AM
Re: Openssl and perl problem
The problem is that the config file from openssl didn't find the libraries from perl5 at the expectet point.
Have a look where are your perl libraries:
"find / -name perl5db.pl"
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 04:54 AM
тАО09-12-2002 04:54 AM
Re: Openssl and perl problem
You need to link "/opt/perl" to the directory containing the perl "lib" directory, maybe "/application/opt/perl" in your case, so that "/opt/perl/lib/5.6.1/strict.pm" finds the right file.
Good luck,
Ollie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 05:16 AM
тАО09-12-2002 05:16 AM
Re: Openssl and perl problem
The perl libs are in the following directory -
/application/opt/perl/lib/5.6.1/perl5db.pl
I have tried to link the following directorys -
ln -s /application/opt/perl /opt/perl
But still no joy!!
Any other suggestions??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 05:18 AM
тАО09-12-2002 05:18 AM
Re: Openssl and perl problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 05:27 AM
тАО09-12-2002 05:27 AM
Re: Openssl and perl problem
Still complaining about being unable to find stricit.pm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 05:45 AM
тАО09-12-2002 05:45 AM
Re: Openssl and perl problem
in openssl source directory type
./config -h
the last line shows which perl is called. Please submit the output.
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 05:55 AM
тАО09-12-2002 05:55 AM
Re: Openssl and perl problem
Copied the stricit.rpm from /application/opt/perl/lib/5.6.1 to /opt/perl/lib/5.6.1.
This got the ./config to work.
HOWEVER when i now perform an 'make', i get the following -
$ make
+ rm -f libcrypto
+ rm -f libssl
making all in crypto...
cc -I. -I../include -DTHREADS -D_REENTRANT -DDSO_DL -DCFLAG=+z -D_REENTR
ANT +O3 +Optrs_strongly_typed +Olibcalls -Ae +ESlit -DB_ENDIAN -DBN_DIV2W -DMD32
_XARRAY -c cryptlib.c
(Bundled) cc: warning 480: The +O3 option is available only with the C/ANSI C pr
oduct; ignored.
(Bundled) cc: warning 480: The +Optrs_strongly_typed option is available only wi
th the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Olibcalls option is available only with the C/AN
SI C product; ignored.
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The +ESlit option is available only with the C/ANSI C
product; ignored.
cpp: "cryptlib.c", line 104: warning 2013: Unknown preprocessing directive.
(Bundled) cc: "../include/openssl/stack.h", line 73: warning 5: "const" will bec
ome a keyword
(Bundled) cc: warning 480: The +Olibcalls option is available only with the C/AN
SI C product; ignored.
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The +ESlit option is available only with the C/ANSI C
product; ignored.
cpp: "cryptlib.c", line 104: warning 2013: Unknown preprocessing directive.
(Bundled) cc: "../include/openssl/stack.h", line 73: warning 5: "const" will bec
ome a keyword.
(Bundled) cc: "../include/openssl/stack.h", line 73: error 1000: Unexpected symb
ol: "char".
(Bundled) cc: "../include/openssl/stack.h", line 73: warning 5: "const" will bec
ome a keyword.
(Bundled) cc: "../include/openssl/stack.h", line 73: warning 5: "const" will bec
ome a keyword.
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 06:02 AM
тАО09-12-2002 06:02 AM
Re: Openssl and perl problem
Have you installed the gnu gcc compiler to your system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 06:06 AM
тАО09-12-2002 06:06 AM
Re: Openssl and perl problem
Ignite-UX-11-00 B.3.3.116 HP-UX Installation Utilities for
Installing 11.00 Systems
LMN-BL 2.00 Logica Mobile Networks BaseLine 0
2
OnlineDiag B.11.00.20.09 HPUX 11.0 Support Tools Bundle, M
ar 2002
QPK1100 B.11.00.56.5 Quality Pack for HP-UX 11.00, Mar
ch 2002
UXCoreMedia B.11.00.02 HP-UX Media Kit (Reference Only.
See Description)
UnlimUserLic B.11.00.02 HP-UX Unlimited-User License
XSWGR1100 B.11.00.47.08 General Release Patches, November
1999 (ACE)
#
# Product(s) not contained in a Bundle:
#
binutils 2.11.2 binutils
bison 1.35 bison
byacc 20001120 byacc
gcc 3.2 gcc
unzip 5.42.2001-06-12 Unzip
#
The gcc s/w is on the box.
So i don't think it is a compiler problem..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 06:30 AM
тАО09-12-2002 06:30 AM
Re: Openssl and perl problem
cc is afaik not listet in swlist without options but always there.
Make the following:
export PATH=$PATH:/opt/gcc/bin
ln -s /usr/local/bin/as /usr/bin/as
export CC=c++
and then run make again.
Good luck
...must leave for today
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 08:41 PM
тАО09-12-2002 08:41 PM
Re: Openssl and perl problem
I would suggest taking the OpenSSL out of the equation by simplifying the problem.
If you type:
perl -e "use strict;"
it should produce the same problem.
Now you can experiment until the library is found and once this is successful the OpenSSL compilation should also work!
Good luck,
Ollie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 09:50 PM
тАО09-12-2002 09:50 PM
Re: Openssl and perl problem
good morning from Germany.
Were you successful?
regards
Dirk