delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/08/28/02:55:48

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 67S6tmrQ2881717
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 67S6tmrQ2881717
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=ol+8DfBN
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 43F2A4BA903F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1787900146;
bh=/TJCHq3/kUTNBBoJpkIRj7IVtUiiiyFgePEfTMYdxbA=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=ol+8DfBNGV5v5L4Qd0m9hA9R6E0GWXYs9TvwURlV8jvKOFo3lCeSPN13fM54Ql24X
Zw2oWFPx3Qigb3NZUXfrm0Pl7R/pucfmGY/GJ5ADRgKpuPA8YM9P7EvhkMMfFGYKCI
6GAswKnHdyA0m4UUPaWHv4pcdRS6VTtjGfsbFtyY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F052A4BA2E3B
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F052A4BA2E3B
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1787900128; cv=none;
b=BaJDah7n0aae/Y7CKjmBoaNWQSkyOdIAlOqgl30vDZb8mXFA3br4q8QVBJ6uqvSET31sX3vaMDBtslP4kP8lMclrkZQiyn2ZBP6GnDxLNiEE1THV5gO2f/XWdB3st5zLgQ+L46ItrrL8UaWQViFq3mMXKyxSCBn8g7dMeXMCu7Q=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1787900128; c=relaxed/simple;
bh=dRzOESnVBb4HSNZ3TaVfJSSjSBo4aKi8Pao8w6hvE/s=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=XObFXSpOh93fMmqGYnxeUUtcO7ZqD690QEafVx9OgUVz+aB+dAEcwEugOt6UnXh3Oq2mpiwGYd7pC1z2FH3UJV+PJC8XxGWE0NLEK5mTGR8wbf0OkfqomB0Ye+xTh1O0FoiZHMZ+wsmmWJ1a+A13uuglichjdNVigIIZ7FedWu8=
ARC-Authentication-Results: i=1; sourceware.org;
dkim=pass (2048-bit key, unprotected)
header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104
header.b=nN8+mDek
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F052A4BA2E3B
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1787900127; x=1788504927;
h=content-transfer-encoding:content-type:in-reply-to:from
:content-language:references:to:subject:user-agent:mime-version:date
:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=S0Fz5Fjxoe40InAruexclUMVICzY/kHD0D/bzF4XTJY=;
b=j36/HvQV0/etscFS+AyDwn6N2lD5x/sWoHlUYKcx0oikdXmkb7daGvdsDLfX3OdwHX
AG4e/mC+wQ8CyvcOX3OnJpn7rNn2laVnnhoEGHkZFL3M23Zv/xL6uPxJBNjXi8F1+NnI
0+5v38yI8DYw9mtlCv066et2YoRQAVoGetGCEX06+YXxYxovNecqjYemrDbfZ/cUzxn0
zhFYE4pbdp321vMr0EOtW0Udd47J6FUSbjpukwCAKAJ4E0e8RW/Ba3BH+LszMx2mAcPk
UWnmDS9h41AvaAHhX8eG4mfa05ASG105uLGLzYeoHgBfaQhbCSTpJkQd0wRS2ujt3hHu
/Z6g==
X-Gm-Message-State: AFuF++k/9R2Xct18DkFFfwmUMvh5WptlF3si2Zrudp/ziFxy+9cxIkF1
EEBTsnpJRqyrB5C81B0X6gg2Tf9zn5mUCjCTbClJ4F8I5sAUQQ7z52//UNEJww==
X-Gm-Gg: AR+sD102mZaGVaxDiRsnfp9NvAkMCCAW9p0Dw2Nkh5KnJlzxiNKoskUuNCOiJDy5e5y
gEaKVB3/5KzzD6Z7RgVmgIAWVGVGvWbFNSnw9iZ8in2VRL578L5xwLN3HTYChCUFDHRyIospwJx
uzdbaNt+2Hfm8IMxbqHcqteN426K6QjKsmYnoaQ7S8IfYZ1qtVz9ZKCeuXW6yEbTgx+9w30sxgB
62v+DLo70rMt/j4NlAfRY22h29rlZONNAHjfuNmpv5yf7t9j324Cr5oaq65mMZEfSMMItbDPAsq
qPMHCjCVDqpfwHjlKYJ1KUt1aDEpNNrutNZVMq3yHz8DqQvtk4OqDaX+26sIYqH8WNfPQ5otBS2
JkAKhPYJgqea4NwjjyOTx+T484wAWeOpIDFBvxF5EVzvcanJ5FLt6r3DiFwGA9BnK4LRK6iuHZf
pJzyRvgjxqNsxhAVYk19FLofR0GW3OPuIbHVouMut4INyloJ9THGPyKPYqZfmCUUV64bNK8ku6+
a/+cFzoq+kz+VZkjm6jKnU7H/sXrB4c8W2H80nKJXI6Kg==
X-Received: by 2002:a05:600c:83c3:b0:499:b01e:911c with SMTP id
5b1f17b1804b1-49b91c26535mr61450795e9.2.1787900126788;
Thu, 27 Aug 2026 23:55:26 -0700 (PDT)
Message-ID: <18be9971-a15f-46e2-b8c0-53582673b131@gmail.com>
Date: Fri, 28 Aug 2026 08:55:25 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: [attn Maintainer] tcl-tk-devel missing dependency
To: cygwin AT cygwin DOT com
References: <3a8cc53d-3a60-4383-831f-fbdb07be6477 AT gmail DOT com>
<ca432299-15ed-c816-1b1b-2308278812e9 AT wisemo DOT com>
In-Reply-To: <ca432299-15ed-c816-1b1b-2308278812e9@wisemo.com>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 67S6tmrQ2881717

On 28/08/2026 07:23, Jakob Bohm via Cygwin wrote:
> On 27/08/2026 19:28, Marco Atzeri via Cygwin wrote:
>> Noted building python39 on scallywag
>>
>> $ grep "X11" /usr/include/tk.h
>> #if !defined(_XLIB_H) && !defined(_X11_XLIB_H_)
>> #   include <X11/Xlib.h>
>> #       include <X11/X.h>
>>
>> should not depend on libX11-devel ?
>>
>> cygcheck -f /usr/include/X11/Xlib.h
>> libX11-devel-1.8.13-1
>>
> Note that the code snippet above (as shown) says to include libX11 headers
> if not already included.
> 
> Thus unless there is another #if condition in the actual tk.h file, all use
> of that header will need the X11 headers to either be in their standard
> location or be already included beforetk.h .
> 
> Unfortunately, blindly running grep on a header file gives insufficient
> context to determinecompile time needs, although the following command
> may be helpful to those whounderstand the C preprocessor:

Hi Jacob,

as it failed on scallywag when libX11-devel was not present
I am sure the requirement is there ;-)
for the TK dependency

--------------------------------------------------------
building '_tkinter' extension
gcc -std=gnu23 -Wno-unused-result -Wsign-compare -DNDEBUG -g -O3 -Wall 
-ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 
-fstack-protector-strong --param=ssp-buffer-size=4 
-ffile-prefix-map=/cygdrive/d/a/scallywag/python39/python39-3.9.25-1.x86_64/build=/usr/src/debug/python39-3.9.25-1 
-ffile-prefix-map=/cygdrive/d/a/scallywag/python39/python39-3.9.25-1.x86_64/src/Python-3.9.25=/usr/src/debug/python39-3.9.25-1 
-DOPENSSL_NO_SSL3=1 -I/usr/include/uuid/ -std=c99 -Wextra 
-Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers 
-Wstrict-prototypes -Werror=implicit-function-declaration 
-fvisibility=hidden -ggdb -O2 -pipe -Wall -Werror=format-security 
-Wp,-D_FORTIFY_SOURCE=3 -fstack-protector-strong 
--param=ssp-buffer-size=4 
-ffile-prefix-map=/cygdrive/d/a/scallywag/python39/python39-3.9.25-1.x86_64/build=/usr/src/debug/python39-3.9.25-1 
-ffile-prefix-map=/cygdrive/d/a/scallywag/python39/python39-3.9.25-1.x86_64/src/Python-3.9.25=/usr/src/debug/python39-3.9.25-1 
-DOPENSSL_NO_SSL3=1 -I/usr/include/uuid/ 
-I/cygdrive/d/a/scallywag/python39/python39-3.9.25-1.x86_64/src/Python-3.9.25/Include/internal 
-DWITH_APPINIT=1 -I/usr/X11/include -I. -IObjects -IPython 
-I/cygdrive/d/a/scallywag/python39/python39-3.9.25-1.x86_64/src/Python-3.9.25/Include 
-I/cygdrive/d/a/scallywag/python39/python39-3.9.25-1.x86_64/build -c 
/cygdrive/d/a/scallywag/python39/python39-3.9.25-1.x86_64/src/Python-3.9.25/Modules/_tkinter.c 
-o 
build/temp.cygwin-3.6.10-x86_64-3.9/cygdrive/d/a/scallywag/python39/python39-3.9.25-1.x86_64/src/Python-3.9.25/Modules/_tkinter.o
In file included from 
/cygdrive/d/a/scallywag/python39/python39-3.9.25-1.x86_64/src/Python-3.9.25/Modules/_tkinter.c:46:
/usr/include/tk.h:99:13: fatal error: X11/Xlib.h: No such file or directory
    99 | #   include <X11/Xlib.h>
       |             ^~~~~~~~~~~~
compilation terminated.

-----------------------------------------------------------------------------

> 
> $ egrep '^[[:space:]]*#' /usr/include/tk.h
> 
> Enjoy
> 
> Jakob

Regards
Marco



-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2026   by DJ Delorie     Updated Sep 20 2026