Deutsch   English   Français   Italiano  
<104kh2e$3rlhc$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Brian <brian199@comcast.net>
Newsgroups: comp.lang.tcl
Subject: Re: Can't build TclTLS 2.0b1
Date: Tue, 8 Jul 2025 20:36:14 -0500
Organization: A noiseless patient Spider
Lines: 53
Message-ID: <104kh2e$3rlhc$1@dont-email.me>
References: <1049lbt$12gnk$1@dont-email.me>
 <0567ed22-5320-4ee4-b8bb-6f94ae0b37ae@comcast.net>
 <104dtd8$277hu$1@dont-email.me> <104ec79$2am3h$1@dont-email.me>
 <104ej6j$2d4at$1@dont-email.me> <104hfo2$34c9v$1@dont-email.me>
 <104hjol$352sa$1@dont-email.me> <104j517$3is7p$1@dont-email.me>
 <104jc8i$3knji$1@dont-email.me> <ygafrf6zk31.fsf@akutech.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 09 Jul 2025 03:36:14 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4118750cac8b4b7a8821377ca4233936";
	logging-data="4052524"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18f4DoIET/tN6/DPkYjv9LT"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:fWsp3P7zlD5wUPk9uumVjzyI+tk=
In-Reply-To: <ygafrf6zk31.fsf@akutech.de>
Content-Language: en-US

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.