delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/09/22/12:25:47

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:subject:reply-to:to:references:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=cwANCWoXPnNKJGsl
pcBG9FuFQDUWxbL9iVBtsguwPUNWjr8JB9UoMrpHryfd17DDbdSS9g5+7c/bNDrM
wi9lrbBgPHcYySSCskOZfc+s5BE6ALywoznjyxwFF4QQgA4dGpUV2cpLB5LZUn4B
zpbKInWbI1CQ3iBV26ECOgZzKK4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:subject:reply-to:to:references:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=tmPf2zJKo0y4Mfr1jy8wvZ
3ICRY=; b=uqrQdhbcGVixuuMqUYCLHTktAWU3XNxYgiH2El3Pg0NrOt7p1b8EZh
eDa6Shp/yvJhJw4TqLDUChTXuMvpk+Autcm2Mp8pToR0EpuUGeWrAfQ2PDkUSw6M
WnW0bhVa/FmZqv2X0nK8XuWsAu12QGOOrpcBeEza/PiLAbqyyw+Tw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=UD:co.uk, Canada, UD:wood.yahoo.co.uk, lloydwoodyahoocouk
X-HELO: smtp-out-so.shaw.ca
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Subject: Re: tcl-tk-dev X dependencies?
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
To: cygwin AT cygwin DOT com
References: <903295903 DOT 14210557 DOT 1569132377037 DOT ref AT mail DOT yahoo DOT com> <903295903 DOT 14210557 DOT 1569132377037 AT mail DOT yahoo DOT com>
Openpgp: preference=signencrypt
Message-ID: <61bee50d-2efa-6be6-3ce0-2ef0f230172e@SystematicSw.ab.ca>
Date: Sun, 22 Sep 2019 10:24:51 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <903295903.14210557.1569132377037@mail.yahoo.com>
X-IsSubscribed: yes
Note-from-DJ: This may be spam

On 2019-09-22 00:06, lloyd.wood.yahoo.co.uk via cygwin wrote:
> gcc -O2 -DNO_ZLIB -Wall -Wextra -Wconversion -pedantic -I./include -c -o main.o main.c
> In file included from ./include/tcl_utils.h:40:0,
>                  from main.c:38:
> /usr/include/tk.h:96:13: fatal error: X11/Xlib.h: No such file or directory
>  #   include <X11/Xlib.h>
>              ^~~~~~~~~~~~
> compilation terminated.
> 
> I'm reasonably sure that selecting and installing the tcl-tk-devel package 
> (8.6.whatever) should include the X libraries and libX11-devel as a
> dependency as well, without having to figure it out and install libX11-devel
> yourself. The (very old) Insight Tcl (4) didn't need X, this one does.

tcl-tk-devel 8.5.18-1 had all those dependencies, but 8.6.6-1 and 8.6.8-1
dropped those, [possibly because the view of the target for tcl-tk-devel shifted
from low level X11 development to high level tcl development, or possibly
because ongoing replacement of X by EGL-based alternatives like Android and
Wayland eliminate the X requirement] so the new setup does not require them, and
may uninstall them on upgrade from the old release, so they would need to be
reinstalled manually if you use them:
setup... -P 'cygwin-devel libX11-devel libXext-devel libXft-devel
libXrender-devel libXss-devel libbz2-devel libexpat-devel libfontconfig-devel
libfreetype-devel libpng16-devel tcl-tk-devel'.

Perhaps you should be using the Xming development package sources rather than
Cygwin/X devel packages, which may not be at the same release as Xming?

> (aside: I'm using XMing for all local X display stuff on Cygwin and the
> Windows Linux Subsystem, so the X stuff I install under Cygwin is minimal.
> Anyone else doing this?)

Nope - preferred Cygwin/X as better integrated and more standard.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019