Re: Can't build TclTLS 2.0b1

Liste des GroupesRevenir à cl tcl 
Sujet : Re: Can't build TclTLS 2.0b1
De : brian199 (at) *nospam* comcast.net (Brian)
Groupes : comp.lang.tcl
Date : 09. Jul 2025, 02:36:14
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <104kh2e$3rlhc$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Mozilla Thunderbird
On 7/8/25 12:08 PM, Ralf Fassel wrote:
* Ashok <apnmbx-public@yahoo.com>
| So I'm guessing that /usr/include is already in the default system
| include search path and therefore gets ignored when specified as the
| -I
| option. Additionally, /usr/local/include appears before /usr/include
| in the default search path. That might explain what you are seeing.
    https://stackoverflow.com/questions/4980819/what-are-the-gcc-default-include-directories
 suggests to use
    echo | gcc -xc -E -v -
 to see the defaults plus any effect of environment variables like CPATH
    % echo | gcc -xc -E -v -
   [...]
     #include "..." search starts here:
     #include <...> search starts here:
      /usr/lib64/gcc/x86_64-suse-linux/7/include
      /usr/local/include
      /usr/lib64/gcc/x86_64-suse-linux/7/include-fixed
      /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/include
      /usr/include
     End of search list.
 So indeed /usr/local/include is listed *before* /usr/include.
 One could use -isystem/usr/include to change that order:
    % echo | gcc -isystem/usr/include -xc -E -v -
   [...]
     #include "..." search starts here:
     #include <...> search starts here:
      /usr/include
      /usr/lib64/gcc/x86_64-suse-linux/7/include
      /usr/local/include
      /usr/lib64/gcc/x86_64-suse-linux/7/include-fixed
      /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/include
     End of search list.
  HTH
R'
Another option is to remove the standard include paths. So use the "-nostdinc" option and add back the "-I/usr/include" path too via the CFLAGS env var.
See https://commandlinefanatic.com/cgi-bin/showarticle.cgi?article=art026
The last option is just delete that old version of OpenSSL.

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