[openssl-users] 'makedepend' in openssl builds: clarify need and correct usage

Jakob Bohm jb-openssl at wisemo.com
Wed Mar 16 22:10:33 UTC 2016


On 16/03/2016 22:52, Jeffrey Walton wrote:
>> After
>>
>>          ./configure ...
>>
>> I'm prompted
>>
>>          Since you've disabled or enabled at least one algorithm, you need to
>> do
>>          the following before building:
>>
>>                  make depend
>>
>> Exec'ing the 'make depend' stage returns lots of warnings,
>>
>> ....
> I'm not sure what's going on here. A lot has changed recently, and
> something could have been knocked loose.
>
>> Reading wiki & reports at openssl, there's confusing, if not conflicting,
>> advice.
>>
> OK, so the issue here is... Painting with a broad brush, there are
> three OpenSSL distros - 1.0.1, 1.0.2 and 1.1.0 (and even 0.9.8). There
> are also two build systems - the classic one from 1.0.1/1.0.2 (and
> even 0.9.8) and the new unified one from 1.1.0.
>
> Our task is to come up with one rule that "just works" everywhere to
> teach users. We want "one rule to rule them all" because its easiest
> on users. We don't want multiple rules. Its the reason 1.1.0 accepts a
> config of "./config no-ssl2 ..." even though SSLv2 has been removed.
> Its the rule we've been pounding into people's head's.
Wait, are you saying that OpenSSL 1.1.0 no longer implements
all the known SSL/TLS versions (some of which are disabled by
default because of security)?

That would mean it is no longer a full featured TLS and SSL
toolkit?

> The rule I've been following/practicing is the following. I do it
> regardless of whether I am prompted or not (because I like one simple
> rule to follow):
>
>       make depend && make clean && make
>
>      - 'make depend' gets the dependencies right
>      - 'make clean' gets rid of old/dated artifacts (with dependencies
> accounted for)
>      - 'make' builds under a "good" state (since depend and clean have executed)
>
> ************
>
> Regarding this from the wiki:
>
>      After configuring the library, you should run make. If prompted,
>      there's usually no need to make depend since you are building
>      from a clean download."
>
> We should probably remove that statement and replace it with the one
> rule. Sadly, I'm probably the guy who put it there. I'll get that
> fixed later today.
>
> ************
>
> If I can ask.... as a user, if I say do this _all the time_, then
> would it be easiest on you?
>
>      make depend && make clean && make
>
> Or is there something else you would recommend?
>
> ************
>
> As far as not configuring because stddef.h, that sounds like a bug.
>
> Jeff


Enjoy

Jakob
-- 
Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160316/2d088885/attachment.html>


More information about the openssl-users mailing list