Re: Can't build TclTLS 2.0b1 - SOLVED

Liste des GroupesRevenir à cl tcl 
Sujet : Re: Can't build TclTLS 2.0b1 - SOLVED
De : nospam.nurdglaw (at) *nospam* gmail.com (Alan Grunwald)
Groupes : comp.lang.tcl
Date : 09. Jul 2025, 20:02:35
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <104meek$cat7$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : Mozilla Thunderbird
On 09/07/2025 18:47, Ralf Fassel wrote:
* Alan Grunwald <nospam.nurdglaw@gmail.com>
| In file included from /usr/include/openssl/ssl.h:21,
|                  from ./generic/tlsInt.h:31,
|                  from ./generic/tls.c:26:
| /usr/include/openssl/macros.h:155:4: error: #error "OPENSSL_API_COMPAT
| expresses an impossible API compatibility level"
|   155 | # error "OPENSSL_API_COMPAT expresses an impossible API
|   compatibility level"
|       |    ^~~~~
>
| Good news - no trace of /usr/local/include
| Bad news is obvious.
--<snip-snip>--
>
| The error (at line 155) that does trigger indicates that
| OPENSSL_API_LEVEL < 908 which I don't understand, since it seems to me
| after reading macros.h several times in different directions that
| since OPENSSL_API_COMPAT isn't defined, OPENSSL_API_LEVEL should be
| set to
| OPENSSL_CONFIGURED_API, i.e. 30000.
 - Start from scratch (delete and re-extract the tcltls sources, make
   absolutely sure to use only one TCL version, re-configure tcltls).
 - Temporarily rename the /usr/local/include/openssl (probably add a
   00README.txt in /usr/local/include)
 - if the error persists, try to find out what the macro
   OPENSSL_API_LEVEL is set to:
    use this little hack from Stackoverflow:
      #define STR_HELPER(x) #x
     #define STR(x) STR_HELPER(x)
      #define AAA 123
     #pragma message "content of AAA: " STR(AAA)
   (just make a backup copy of openssl/macros.h and add that #pragma at
  strategic places)
 - or just #define OPENSSL_API_COMPAT to the default value (30000)
 Needless to say that on my system (opensuse 15.6, gcc 7.5.0), tcltls
2.0b1 configured and compiled with no problem against either tcl8.6 or
tcl9.0.2.
 R'
:blush:
While looking at what I'd need to do to clear things down and start again from scratch, I spotted that I had downloaded openssl_1.1.1 myself in January 2023. Buoyed by this discovery, I did
make uninstall
from the openssl_1.1.1 download directory, then started again with tcltls 2.0b1, which... compiled and linked with no problem.
Many, many thanks to Ralf, Brian and Ashok.
Alan

Date Sujet#  Auteur
4 Jul 25 * Can't build TclTLS 2.0b117Alan Grunwald
6 Jul 25 `* Re: Can't build TclTLS 2.0b116Brian
6 Jul 25  `* Re: Can't build TclTLS 2.0b115Alan Grunwald
6 Jul 25   `* Re: Can't build TclTLS 2.0b114Alan Grunwald
6 Jul 25    `* Re: Can't build TclTLS 2.0b113Brian
7 Jul 25     `* Re: Can't build TclTLS 2.0b112Alan Grunwald
8 Jul 25      `* Re: Can't build TclTLS 2.0b111Brian
8 Jul 25       `* Re: Can't build TclTLS 2.0b110Alan Grunwald
8 Jul 25        `* Re: Can't build TclTLS 2.0b19Ashok
8 Jul 25         `* Re: Can't build TclTLS 2.0b18Ralf Fassel
9 Jul 25          `* Re: Can't build TclTLS 2.0b17Brian
9 Jul 25           `* Re: Can't build TclTLS 2.0b16Ralf Fassel
9 Jul 25            `* Re: Can't build TclTLS 2.0b15Alan Grunwald
9 Jul 25             `* Re: Can't build TclTLS 2.0b14Ralf Fassel
9 Jul 25              +* Re: Can't build TclTLS 2.0b1 - SOLVED2Alan Grunwald
10 Jul 25              i`- Re: Can't build TclTLS 2.0b1 - SOLVED1Ralf Fassel
10 Jul 25              `- Re: Can't build TclTLS 2.0b11Christian Gollwitzer

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal