[OpenAFS] Configuring openssh 3.7.1p2+AFS on Tru64 OS version 5.1A

Padiyath Sreekumaran Kumar.Padiyath@psi.ch
Thu, 25 Sep 2003 07:31:57 +0200


     Hello,
     Sorry for not mentioning the Subject in my previous mail.
     Iam enclosing it again.

     "
   Hallo,
    Iam trying to configure openssh-3.7.1p2 on a Tru64 system with OS V5.1A.
    I hace compiled prior to this zlib-1.1.4,openssl-0.9.7b,krb4-1.2.2 with
out errors.
    Iam executing configure in the following way:

    ./configure --sysconfdir=/etc/ssh --with-osfsia
--with-zlib=/usr/tmp/zlib --with-kerberos4=/usr/athena --prefix=/usr
--with-afs=/usr/afsws --libexecdir=/usr/libexec/openssh --with-ipv4-default
--with-ssl-dir=/usr/tmp/openssl

    Iam using gcc to compile the program. I get the following errors during
the ./configure execution:

   configure:1844: gcc -c -g -O2  conftest.c >&5
configure: In function `main':
configure:1835: `not' undeclared (first use in this function)
configure:1835: (Each undeclared identifier is reported only once
configure:1835: for each function it appears in.)
configure:1835: parse error before "big"
configure:1847: $? = 1
configure: failed program was:
#line 1827 "configure"
#include "confdefs.h"    <-------------------------------------------(where
is this headerfile file?)
#include <sys/types.h>
#include <sys/param.h>
.
.
.
.
.
.
.
checking for (overly) strict mkstemp... yes
checking whether getpgrp takes no argument... yes
checking OpenSSL header version... not found
<------------------------------------
configure: error: OpenSSL version header not found.
<--------------------------------------
.
.
.
.
.

    In config.log I see the follwing message:
    =============================

configure:8769: test -s conftest
configure:8772: $? = 0
configure:8838: checking OpenSSL header version
configure:8869: gcc -o conftest -g -O2 -Wall -Wpointer-arith
-Wno-uninitialized -I/usr/tmp/open
ssl/include -I/usr/tmp/zlib/include  -L/usr/tmp/openssl/lib
-L/usr/tmp/zlib/lib  conftest.c -lr
t -lz  -lsecurity -ldb -lm -laud -lcrypto >&5
configure:8850:30: openssl/opensslv.h: No such file or directory
configure: In function `main':
configure:8858: warning: implicit declaration of function `exit'
configure:8860: `OPENSSL_VERSION_NUMBER' undeclared (first use in this
function)
configure:8860: (Each undeclared identifier is reported only once
configure:8860: for each function it appears in.)
configure:8860: `OPENSSL_VERSION_TEXT' undeclared (first use in this
function)
configure:8872: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 8846 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <string.h>
#include <openssl/opensslv.h>
#define DATA "conftest.sslincver"
int main(void) {
        FILE *fd;
        int rc;

        fd = fopen(DATA,"w");
        if(fd == NULL)
                exit(1);

        if ((rc = fprintf(fd ,"%x (%s)\n", OPENSSL_VERSION_NUMBER,
OPENSSL_VERSION_TEXT)) <0)
                exit(1);

        exit(0);
}

configure:8889: result: not found
configure:8891: error: OpenSSL version header not found.
<------------------------



     My /usr/tmp/openssl/include contains the following files:
   ============================================

$ls /usr/tmp/openssl/include/
Makefile           des.h              krb-archaeology.h  otp.h
rtbl.h
Makefile.am        editline.h         krb-protos.h       parse_bytes.h
sha.h
Makefile.in        err.h              krb.h              parse_time.h
sl.h
acl.h              getarg.h           krb_db.h           parse_units.h
stamp-h1
base64.h           glob.h             krb_err.h          prot.h
sys
bits               ifaddrs.h          krb_log.h          protos.h
vers.h
bits.c             kadm.h             ktypes.h           protos.hin
version.h
com_err.h          kadm_err.h         md4.h              rc4.h
version.h.in
com_right.h        kafs.h             md5.h              resolve.h
vis.h
config.h           kdc.h              netdb.x            roken-common.h
win32
config.h.in        klog.h             opensslv.h         roken.h
xdbm.h



      Any help will be appreciated.
      Thanks in advance,
       Kumar (Kumar.padiyath@psi.ch)