Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

can't install OpenSSL

704 views
Skip to first unread message

Dr S N Henson

unread,
May 11, 2001, 3:20:43 PM5/11/01
to

"Crosland, Jerel (Contract)" wrote:
>
> On a different server from my previous problems (this one is HP-UX 11.00) I
> got all the way through the "make test" but it fails during the "make
> install". Here is the error:
>
> making all in tools...
> installing man 1 and man 5
> installing man 3 and man 7
> cp: e_os.h and /opt/openssl/include/openssl/e_os.h are identical
> cp: e_os2.h and /opt/openssl/include/openssl/e_os2.h are identical
> *** Error exit code 1
>
> Stop.
> #
>
> When I did the config, the only switch I used was --openssldir=/opt/openssl
> switch, rather than letting it default to /usr/local. That's probably why
> it's blowing up, but it really shouldn't do this. How can I get this to run
> without errors?
>

Where have you actually extracted OpenSSL? Have you extracted it to
/opt/openssl and so the 'cp' is blowing up because its trying to install
files on top of themselves?

Steve.
--
Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/
Personal Email: she...@drh-consultancy.demon.co.uk
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the OpenSSL project: http://www.openssl.org/
Business Email: d...@celocom.com PGP key: via homepage.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openss...@openssl.org
Automated List Manager majo...@openssl.org

Crosland, Jerel (Contract)

unread,
May 11, 2001, 4:41:23 PM5/11/01
to
Yes, that is correct. I unzipped the file, then untarred it, letting it
setup it's own directory structure. Then I created a symlink in /opt called
"openssl" which points to "openssl.0.9.6a". I do this with all the packages
I install under HPUX. When I look under /opt/openssl/include/openssl all of
the files there are symlinks that point up two dirs to the main file. Then
this cp command comes along and tries to copy the files from the main dir
down to the include/openssl dir and it blows up. I also cannot turn off this
behavior with switches on cp.

Jerel Crosland
21st Century Insurance
Unix Level 2 Support
(818)704-3187


***********************************************************************
This e-mail and any files transmitted with it are intended
solely for the use of the addressee. This e-mail may
contain confidential and/or legally privileged information.
Any review, transmission, disclosure, copying, or any action
taken or not taken, by other than the intended recipient, in
reliance on the information, is prohibited. If you received
this e-mail in error, notify the sender and delete this e-mail
(and any accompanying material) from your computer and
network. In addition, please be advised that 21st Century
Insurance Group reserves the right to monitor, access and
review all messages, data and images transmitted through
our electronic mail system. By using our e-mail system, you
consent to this monitoring.
***********************************************************************

Dr S N Henson

unread,
May 11, 2001, 6:38:10 PM5/11/01
to

"Crosland, Jerel (Contract)" wrote:
>
> Yes, that is correct. I unzipped the file, then untarred it, letting it
> setup it's own directory structure. Then I created a symlink in /opt called
> "openssl" which points to "openssl.0.9.6a". I do this with all the packages
> I install under HPUX. When I look under /opt/openssl/include/openssl all of
> the files there are symlinks that point up two dirs to the main file. Then
> this cp command comes along and tries to copy the files from the main dir
> down to the include/openssl dir and it blows up. I also cannot turn off this
> behavior with switches on cp.
>

Well that's the problem. The symlink is effectively making cp try to
copy files back onto themselves when they follow the link. Many versions
of cp will give an error when they attempt to do this.

If instead of the link you make a directory /opt/openssl and proceed as
before it should install OK.

Crosland, Jerel (Contract)

unread,
May 11, 2001, 7:34:18 PM5/11/01
to
But the symlink merely a synonym for the real directory name. Why would that
cause a problem? I have a real directory at /opt/openssl.0.9.6a and in the
/opt directory I have a symbolic link named "openssl" which merely points to
the real directory openssl.0.9.6a. The problem lies in the fact that the
perl script is trying to copy /opt/openssl.0.9.6a/e_os.h to
/opt/openssl/include/openssl/e_os.h and the latter file is a symbolic link,
built by some part of the make script, which points to ../../e_os.h. When cp
tries to do the copy it it resolves the link first, then tries to do the
copy and it's the same file, so it blows up. The more I talk about this the
more I realize this is a bug and I should be reporting this to the bug list.
I think that's my next stop.

Jerel Crosland
21st Century Insurance
Unix Level 2 Support
(818)704-3187

> -----Original Message-----
> From: Dr S N Henson [SMTP:d...@celocom.com]
> Sent: Friday, May 11, 2001 3:32 PM
> To: openss...@openssl.org
> Subject: Re: can't install OpenSSL
>
>
>

***********************************************************************
This e-mail and any files transmitted with it are intended
solely for the use of the addressee. This e-mail may
contain confidential and/or legally privileged information.
Any review, transmission, disclosure, copying, or any action
taken or not taken, by other than the intended recipient, in
reliance on the information, is prohibited. If you received
this e-mail in error, notify the sender and delete this e-mail
(and any accompanying material) from your computer and
network. In addition, please be advised that 21st Century
Insurance Group reserves the right to monitor, access and
review all messages, data and images transmitted through
our electronic mail system. By using our e-mail system, you
consent to this monitoring.
***********************************************************************

Lutz Jaenicke

unread,
May 12, 2001, 3:02:52 AM5/12/01
to
On Fri, May 11, 2001 at 04:07:52PM -0700, Crosland, Jerel (Contract) wrote:
> But the symlink merely a synonym for the real directory name. Why would that
> cause a problem? I have a real directory at /opt/openssl.0.9.6a and in the
> /opt directory I have a symbolic link named "openssl" which merely points to
> the real directory openssl.0.9.6a. The problem lies in the fact that the
> perl script is trying to copy /opt/openssl.0.9.6a/e_os.h to
> /opt/openssl/include/openssl/e_os.h and the latter file is a symbolic link,
> built by some part of the make script, which points to ../../e_os.h. When cp
> tries to do the copy it it resolves the link first, then tries to do the
> copy and it's the same file, so it blows up. The more I talk about this the
> more I realize this is a bug and I should be reporting this to the bug list.
> I think that's my next stop.

* It is not necessary to take this to the openssl-bugs list. Both Steve
Henson and myself are members of the OpenSSL developers team and all other
members of the team read openssl-users, too. You won't reach a new
audience.
* I again repeat my recommondation:
- unpack the OpenSSL source into an independant directory, say
/home/sources/openssl-0.9.6a
Then you can
mkdir /opt/openssl-0.9.6a
ln -s /opt/openssl-0.9.6a /opt/openssl
and finally
make install
* We do not support that the build directory and the installation directory
are the same, thus /home/sources/openssl-0.9.6a != /opt/openssl-0.9.6a !!

Best regards,
Lutz
--
Lutz Jaenicke Lutz.J...@aet.TU-Cottbus.DE
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153

Richard Levitte - VMS Whacker

unread,
May 12, 2001, 4:06:50 AM5/12/01
to
From: "Crosland, Jerel (Contract)" <Jerel.C...@i21.com>

Jerel.Crosland> But the symlink merely a synonym for the real
Jerel.Crosland> directory name. Why would that cause a problem? I have
Jerel.Crosland> a real directory at /opt/openssl.0.9.6a and in the
Jerel.Crosland> /opt directory I have a symbolic link named "openssl"
Jerel.Crosland> which merely points to the real directory openssl.0.9.6a.

It's a synonym, and thusly translates to the real dirctory whenever
used. Therefore, it's in effect the same directory.

--
Richard Levitte \ Spannvägen 38, II \ LeV...@stacken.kth.se
Chairman@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
Redakteur@Stacken \ SWEDEN \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis -- po...@bofh.se
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.

Crosland, Jerel (Contract)

unread,
May 14, 2001, 6:10:46 PM5/14/01
to
Thanks to everyone who helped, especially Richard Levitte. I finally got it
through my thick skull, and allowed OpenSSL to install to a different
directory than the source unpacked into. Everything went smoothly with the
installation. I now have to configure and test, but at least it's all there
now.

OpenSSL is the first package I've ever installed under HPUX that required
installation under a different directory than the source tree. Usually there
is a src dir under the top level, etc, but OpenSSL is not structured that
way. Sorry it took me so long and so much bandwidth to get this solved.

Thanks again to all who helped and offered suggestions.

Jerel Crosland
21st Century Insurance
Unix Level 2 Support
(818)704-3187

> -----Original Message-----
> From: Dr S N Henson [SMTP:d...@celocom.com]
> Sent: Friday, May 11, 2001 11:41 AM
> To: openss...@openssl.org
> Subject: Re: can't install OpenSSL
>
>
>
> "Crosland, Jerel (Contract)" wrote:
> >

> > On a different server from my previous problems (this one is HP-UX
> 11.00) I
> > got all the way through the "make test" but it fails during the "make
> > install". Here is the error:
> >
> > making all in tools...
> > installing man 1 and man 5
> > installing man 3 and man 7
> > cp: e_os.h and /opt/openssl/include/openssl/e_os.h are identical
> > cp: e_os2.h and /opt/openssl/include/openssl/e_os2.h are identical
> > *** Error exit code 1
> >
> > Stop.
> > #
> >
> > When I did the config, the only switch I used was
> --openssldir=/opt/openssl
> > switch, rather than letting it default to /usr/local. That's probably
> why
> > it's blowing up, but it really shouldn't do this. How can I get this to
> run
> > without errors?
> >
>
> Where have you actually extracted OpenSSL? Have you extracted it to
> /opt/openssl and so the 'cp' is blowing up because its trying to install
> files on top of themselves?
>

> Steve.
> --
> Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/
> Personal Email: she...@drh-consultancy.demon.co.uk
> Senior crypto engineer, Celo Communications: http://www.celocom.com/
> Core developer of the OpenSSL project: http://www.openssl.org/
> Business Email: d...@celocom.com PGP key: via homepage.

> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> User Support Mailing List openss...@openssl.org
> Automated List Manager majo...@openssl.org

***********************************************************************
This e-mail and any files transmitted with it are intended
solely for the use of the addressee. This e-mail may
contain confidential and/or legally privileged information.
Any review, transmission, disclosure, copying, or any action
taken or not taken, by other than the intended recipient, in
reliance on the information, is prohibited. If you received
this e-mail in error, notify the sender and delete this e-mail
(and any accompanying material) from your computer and
network. In addition, please be advised that 21st Century
Insurance Group reserves the right to monitor, access and
review all messages, data and images transmitted through
our electronic mail system. By using our e-mail system, you
consent to this monitoring.
***********************************************************************

MidoriOkuno

unread,
May 15, 2001, 4:41:58 AM5/15/01
to
Hello,

I 'm installing openssl-0.9.6a.
But it failed in "make install".
The error message is as follows.

.
.
making all in ssl...
making all in rsaref...
making all in apps...
making all in test...


making all in tools...
installing man 1 and man 5

Can't locate Config.pm in @INC at /usr/local/lib/perl5/File/Basename.pm line
115

0 new messages