[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: openldap-2.3.37 configure can not find openssl/ssl.h (ITS#5099)



Yannick LE NY wrote:
> Sorry, but at works, I can use only webmail and
> I have no options to send my e-mail in text mode only.

Well, I'm sorry but the ITS can't handle MIME messages.

> I send you my config.log in an other e-mail for you only.
> I found nothing in this file for the openssl headers problem.

Well, I've found plenty:

<snip>
configure:19446: checking openssl/ssl.h usability
configure:19458: cc -c -g -O2  conftest.c >&5
conftest.c:124:25: openssl/ssl.h: No such file or directory
</snip>

<snip>
| #include <openssl/ssl.h>
configure:19487: result: no
configure:19491: checking openssl/ssl.h presence
configure:19501: cc -E  conftest.c
conftest.c:90:25: openssl/ssl.h: No such file or directory
</snip>

<snip>
| #include <openssl/ssl.h>
configure:19527: result: no
configure:19562: checking for openssl/ssl.h
configure:19569: result: no
configure:19821: error: Could not locate TLS/SSL package
</snip>

the file openssl/ssl.h cannot be located on your system.  Apparently,
it's not where you expect it to be, or CPPFLAGS are not being read as
expected by configure.  I'm more inclined towards the latter, as no "-I"
appears in the cc commands in your log.

>> As per the request to add configure switches to locate common packages, it
>> should be rejected, as the appropriate way to let compilers detect
> packages is
>> by CPPFLAGS, LDFLAGS, LD_LIBRARY_PATH.
> Ok, that is your choice

That's the project's choice, not mine, although I find it reasonable.

> but configure switches to locate common packages

represent a broken means to

> help users to compile openldap.

as they do not allow, for example, to sort the order in which paths
should be searched and so.

> Sometimes users don't know how to
> configure CPPFLAGS, LDFLAGS, LD_LIBRARY_PATH for their environnment
> because there are administrators but not developpers.

That's another business.  In this case, administrators could use bundled
packages instead of building their own.

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it
---------------------------------------