NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Openssh build with old SSL ?



Hello
thanks for your answer

i see also with following Syntax i can bind the new version from openssl
 - LDFLAGS="-L/usr/pkg/lib/" CPPFLAGS="-I/usr/pkg/include/"

>checking for openssl/opensslv.h... yes
>checking OpenSSL header version... 10100000 (OpenSSL 1.1.0-dev xx XXX xxxx)
>checking OpenSSL library version... 10100000 (OpenSSL 1.1.0-dev xx XXX
xxxx)
>checking whether OpenSSL's headers match the library... yes

but i dont know how i can add this string without any error message to
me Makefile.

snip from Makefile
>BUILD_DEFS+=            IPV6_READY
>
>LDFLAGS="-L/usr/pkg/lib/" CPPFLAGS="-I/usr/pkg/include/"
>
>### --with-bsd-auth wird mit nachfolgenden Fehler gestopt
>### ../auth.h:39:22: error: bsd_auth.h: No such file or directory ###
>### CONFIGURE_ARGS+=    --with-bsd-auth
>CONFIGURE_ARGS+=        --with-mantype=man

from config.log i dont find any possible info
>checking whether the C compiler works... no
>configure: error: in `/usr/pkgsrc/security/openssh5.9/work/openssh-5.9p1':
>configure: error: C compiler cannot create executables
>See `config.log' for more details
>*** Error code 77
>
>Stop.
>make: stopped in /usr/pkgsrc/security/openssh5.9
>*** Error code 1



> Adding:
> 
> PREFER.openssl=pkgsrc
> 
> To your /etc/mk.conf should do the trick.
> 
> -Dustin
> 
> On Wed, Feb 29, 2012 at 9:10 AM, Maurizio Caloro <mauric%gmx.ch@localhost> 
> wrote:
>> Hello
>> Here i try to compile openssh5.1 with openssl-Snapshot-1.1.0 but "Configure" 
>> it's take always the ssl version 0.9.9 version?
>> please what's thw right way to change this so that OPenssh compile with 
>> Openssl 1.1.0.
>>
>> and what are the best way to deinstall the System ssh/ssl Version from me 
>> NetBSD now?
>>
>> Thanks for Help
>> Mauri
>>
>> # /usr/bin/openssl version
>> OpenSSL 0.9.9-dev 09 May 200
>>
>> # /usr/pkg/bin/openssl version
>> OpenSSL 1.1.0-dev xx XXX xxxx
>>
>> Makefile from OpenSSH5.9
>> -try two diffrent way's but without success
>> +CONFIGURE_ARGS+=        --with-ssl-dir=/usr/pkg/include/openssl/
>> +CONFIGURE_ARGS+=        --with-ssl-dir=/usr/pkg/bin/
>>
>> Configure from Openssh5.9
>> [SNIP]
>> checking whether getpgrp requires zero arguments... yes
>> checking OpenSSL header version... 909000 (OpenSSL 0.9.9-dev 09 May 2008)
>> checking OpenSSL library version... 909000 (OpenSSL 0.9.9-dev 09 May 2008)
>> checking whether OpenSSL's headers match the library... yes
>> checking if programs using OpenSSL functions will link... yes
>> --
>> NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
>> Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
> 



Home | Main Index | Thread Index | Old Index