Re: Broken-ness configuring with openssl-0.9.7b and openssh-3.6.1p1

From: David Favor (david_at_davidfavor.com)
Date: 04/29/03


Date: 29 Apr 2003 04:17:09 -0700

Sebastian Hans <hanss@in.tum.de> wrote in message news:<b8bhvj$54rc3$1@sunsystem5.informatik.tu-muenchen.de>...
> David Favor <david@davidfavor.com> wrote:
> >
> > Note the include files [of openssl] are put in:
> >
> > /usr/local/openssl/include/openssl not /usr/local/openssl/include
> >
> > as I'd expect... And also as openssh-3.6.1p1 expects as its configure
> > script builds up a gcc line:
> >
> > gcc -o conftest -g -O2 -pipe -Wall -Wpointer-arith -Wno-uninitialized \
> > -I/usr/local/openssl/include -I/usr/src/active/zlib \
> > -L/usr/local/openssl/lib -L/usr/src/active/zlib \
> > conftest.c -lutil -lz -lnsl -lcrypto
> >
> > Again notice /usr/local/openssl/include in the gcc line, however the
> > files are of course in /usr/local/openssl/include/openssl.
> >
> > It appears impossible to fix this without maybe manually copying files
> > from /usr/local/openssl/include/openssl to its parent directory.
>
> What's to fix? Looks as it should to me. Doesn't openssh build
> correctly? You didn't give an error message or anything.
> Openssh includes e.g. opensshl/crypto.h, so -I/usr/local/openssl/include
> is perfectly correct.
>
> Ciao.
> Seb.

The configure error I get is:

   checking OpenSSL header version... not found
   configure: error: OpenSSL version header not found

This works if I:

1) cd /usr/local/openssl/include

2) cp ./openssl/* .

3) rmdir ./openssl

The problem appears to be a trailing 'openssl' which is appended to
the include directory.



Relevant Pages

  • OpenSSL bugfix
    ... Looking at the commit logs, there has not been an update to openssl ... The patch / fix is trivial and it has been in the ...
    (freebsd-current)
  • Downgrading 4.9-stable to 4.9-release-p3
    ... I upgraded some servers to 4.9-stable a few weeks ago, not realizing ... upgrade to that. ... With this openssl fix, couldn't I ...
    (freebsd-questions)
  • Re: ports hosed
    ... >> It was the closest thing to openssl. ... >> problem with ports such as openssl. ... the fix is really simple and you fix it and move on. ... Kent Stewart ...
    (freebsd-questions)
  • Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade
    ... compiled with GCC 4.2. ... It turns out OpenSSL uses function ... OpenSSL need the patch similar to attached one to ... the best way to fix the code and to integrate the fix into ...
    (freebsd-current)
  • Re: Broken-ness configuring with openssl-0.9.7b and openssh-3.6.1p1
    ... >> It appears impossible to fix this without maybe manually copying files ... You didn't give an error message or anything. ... checking OpenSSL header version... ...
    (comp.security.ssh)