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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=quL40XJMrVNiroPm hKQbqtNABlIP3ngabLxOizVbIVwulAZMFyffxf3tuk24ZfIHs4NmvsDzMANhxL5s DWf8mjjoV6apteaexudgjtMgYluRZ9OCYCehSk2gNr8+KAcjZqfMKsVuX/vvkWRm jcxl9bW02kpZc8s43/sPfMktAII= 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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=+LCcMhg6+e4THR+KHYJcg8 0MYVA=; b=xO1FHYgKfOLONDppxF9KGPV6XWVUA5nWEkVewLvZrmQabT9sEyF878 mmv3lXH3deuQhqMTP29PKhCv6bZ89cpFIziQYMSuVHYxIltdYcAwpXbOvVC5QHWa bhWRlOOOcIPgkiucGDPMf/Ad3vvUUfe5c8HWiTNNCOnZ8yfJEuEPE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Virus-Found: No X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,KB_WAM_FROM_NAME_SINGLEWORD,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Hx-languages-length:4142, d_package_ast, spawnvex, Istd X-HELO: smtp-out-so.shaw.ca X-Authority-Analysis: v=2.2 cv=JuuBlIwC c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=N659UExz7-8A:10 a=NEAV23lmAAAA:8 a=dUpDjZms43DNWyMj1LMA:9 a=pILNOxqGKmIA:10 Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: Building ksh93 on cygwin To: cygwin AT cygwin DOT com References: From: Brian Inglis Message-ID: <6ed9e145-ae74-1f21-bb87-91ba5eabe15f@SystematicSw.ab.ca> Date: Mon, 20 Nov 2017 20:10:27 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfHdo60foiRlrGkToNMBgVp2FJ7+wUa2eH12e6ZMspLwG9E5jA4S2Ijp+58VNajTbiAXueqDRir/00ma39KazORLasFLhjOfEL1oM8HDvjyxQT9cbvmkL BmC7ezHrM5JRm+32dJlfEu2orwzlhm2d8a3e69ojKwMmWdtvSIVdKIKLBRpeafk7vOENE/LJIaDDHQ== X-IsSubscribed: yes On 2017-11-20 15:40, Ben Altman wrote: > Hello, > > I am trying to get ksh93 to successfully build on cygwin. My first > issue was nl_types.h being absent. I installed the catgets package to > get it and try to rebuild. Remember build libraries and includes come in ...-devel packages - often lib...-devel packages. Package search online or with: $ cygcheck -p nl_types.h Found 2 matches for nl_types.h libcatgets-devel-1.1-2 - libcatgets-devel: catgets message catalog API; development (installed binaries and support files) man-pages-posix-2013-a-1 - man-pages-posix: POSIX manual pages (installed binaries and support files) Check the package contents online from the package search results or download and list: $ tar -tf mirror/x86_64/release/catgets/libcatgets-devel/libcatgets-devel-1.1-2.tar.bz2 usr/include/ usr/include/nl_types.h usr/lib/ usr/lib/libcatgets.dll.a usr/lib/libcatgets.a > Now it is complaining about posix_spawnattr_t: > + cc -D_BLD_STATIC -D_BLD_ast -I. > -I/home/baltman/ast-beta/src/lib/libast -Icomp > -I/home/baltman/ast-beta/src/lib/libast/comp -Iinclude > -I/home/baltman/ast-beta/src/lib/libast/include -Istd > -I/home/baltman/ast-beta/src/lib/libast/std -D_PACKAGE_ast -c > /home/baltman/ast-beta/src/lib/libast/misc/spawnvex.c > /home/baltman/ast-beta/src/lib/libast/misc/spawnvex.c: In function 'spawnvex': > /home/baltman/ast-beta/src/lib/libast/misc/spawnvex.c:802:2: error: > unknown type name 'posix_spawnattr_t' > posix_spawnattr_t ax; > > I asked about it on https://github.com/att/ast/issues/127 and they > said I need to look into how/where 'posix_spawnattr_t is defined under > Cygwin. Would any one here be able to help me out? I am hoping that if > I can successfully get it to compile then the next step would be to > follow the steps needed to get it included as a package for cygwin but > first things first. $ apropos posix_spawnattr posix_spawnattr_destroy (3p) - destroy and initialize spawn attributes object (ADVANCED REALTIME) posix_spawnattr_getflags (3p) - get and set the spawn-flags attribute of a spawn attributes object (ADVANCED REALTIME) posix_spawnattr_getpgroup (3p) - get and set the spawn-pgroup attribute of a spawn attributes object (ADVANCED REALTIME) posix_spawnattr_getschedparam (3p) - get and set the spawn-schedparam attribute of a spawn attributes object (ADVANCE... posix_spawnattr_getschedpolicy (3p) - get and set the spawn-schedpolicy attribute of a spawn attributes object (ADVAN... posix_spawnattr_getsigdefault (3p) - get and set the spawn-sigdefault attribute of a spawn attributes object (ADVANCE... posix_spawnattr_getsigmask (3p) - get and set the spawn-sigmask attribute of a spawn attributes object (ADVANCED REAL... posix_spawnattr_init (3p) - destroy and initialize spawn attributes object (ADVANCED REALTIME) posix_spawnattr_setflags (3p) - get and set the spawn-flags attribute of a spawn attributes object (ADVANCED REALTIME) posix_spawnattr_setpgroup (3p) - get and set the spawn-pgroup attribute of a spawn attributes object (ADVANCED REALTIME) posix_spawnattr_setschedparam (3p) - get and set the spawn-schedparam attribute of a spawn attributes object (ADVANCE... posix_spawnattr_setschedpolicy (3p) - get and set the spawn-schedpolicy attribute of a spawn attributes object (ADVAN... posix_spawnattr_setsigdefault (3p) - get and set the spawn-sigdefault attribute of a spawn attributes object (ADVANCE... posix_spawnattr_setsigmask (3p) - get and set the spawn-sigmask attribute of a spawn attributes object (ADVANCED REAL... $ man posix_spawnattr_init ... SYNOPSIS #include ... Package search online or with: $ cygcheck -p spawn.h | fgrep -- -devel cygwin-devel-2.8.2-1 - cygwin-devel: Core development files cygwin-devel-2.9.0-2 - cygwin-devel: Core development files cygwin-devel-2.9.0-3 - cygwin-devel: Core development files ... Check the package contents online from the package search results or download and list: $ tar -tf mirror/x86_64/release/cygwin/cygwin-devel/cygwin-devel-2.9.0-3.tar.xz ... usr/include/spawn.h ... -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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