delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/05/15/18:04:00

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org ACB103858C50
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=0FqSSg47nwV6HGFgkz7icFwY2gZIxSXvQEKZkE+Vba4=;
b=m8wVFxhpmkAAyDid9NtZHkCFJDluLamj44Bxw2FT4qBBBp+wT/RmTZdLIuakScsor4
pcvSiFcy8AHqq0tV6g83zlsVJvbDrxVB9ub4vboHg729kGMeZ/017retFu0Ejar2L9ZR
xchrNmTt3l1d9aB1BN63C3QVzVqbPnk+BPybCADhZC2jg/GrH6sRQnJJjrvXEFWbpObt
1iGk8NCs6N4sYpR7E4vhFOvFNhQ8N29VBdz2ARSeDRO0uhv069vMb9zGN791AiTc7pKf
OM7NN5EcNH1WPeMiviBGVINdbOKwWLN0vq+4WhgsTLSUhVtrvSAb8qPPd54Sfc9NhKvr
wvXw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=0FqSSg47nwV6HGFgkz7icFwY2gZIxSXvQEKZkE+Vba4=;
b=g5YAe8P4YVVsp7g0r0s4Lw/dk2dOh6wnTwf0g5YVuoJFF5Uwfx5zWAfShY6jjEtOyM
yOZXxRh/B6MGytnAKj7BjDKkHDAE8sSaX0G0wJKarEsDwFmUIIqKJcg3M9h4GTGSvMg/
wDdid+YsPZP4vxsiNf5T9UHS1p0gM0qQ45LR6FHUYSygZ6RJEikjAk276X4qR7MoM0OO
AaYUOuu1nZ2n5aUlU6bKT+eWLhUDv9PqaSazibdmLg5YD0DSG2c/+3TZIJja56wjpdpu
OMzq4s6qDDzZPmjqRYgxHeUZVP+gnFfAnFFMm/+zE0yMhVQiGRzI0fE2sqgmkxkB2bfQ
T7bA==
X-Gm-Message-State: AOAM533A80tV0oLuSz5k02Mm736RXHy7Y2osshZ8dkhJTs22rC7OamQ1
FUftZGOSimYXfvvwnJlA9aMhSUbI7GRWZw4TbRiMTp4TCVc=
X-Google-Smtp-Source: ABdhPJx1l+NxA7ZEHHcSxf/7trzw2+P12Oi4gcqXjnsHMZKEA3iuZ6mlZLs163eo6b8pSI6hGd9Cafm0mAlEWvhfc6I=
X-Received: by 2002:a17:906:6a14:b0:6f4:78b8:39e7 with SMTP id
qw20-20020a1709066a1400b006f478b839e7mr12683599ejc.309.1652652199819; Sun, 15
May 2022 15:03:19 -0700 (PDT)
MIME-Version: 1.0
References: <CAGgcKD9E7RLFvLjG9PAUWw=YZsEr1_y7OFxa=E-crEY3YAnKPQ AT mail DOT gmail DOT com>
<CAH_m2YKiDjaTBuHddo-Uq=QyLyHCtbdLOkqf_1XPKJj+6HG+Ug AT mail DOT gmail DOT com>
<CAGgcKD_f0bgUYgqYPbW1WGkLC3HjKs2xYVwP+H0uM7ehek3w1A AT mail DOT gmail DOT com>
<CAGgcKD_r4u51CqWN7PnsP48jMBwCM+hRqrVYs61VAqNLwOW4yg AT mail DOT gmail DOT com>
<CAH_m2YLf8Sx-SH15RrCPzrOVOinwcU3Z+jWmNts-dEtBBi4PnQ AT mail DOT gmail DOT com>
<CAGgcKD924zP+8FmMJfXJZC+Q3p4z_AX-ztdurJD_aLW5fb9wvQ AT mail DOT gmail DOT com>
<c2b60665-72cc-afa7-ca52-6704cd3034fc AT SystematicSw DOT ab DOT ca>
<CAGgcKD8_A72QZ5KhTUA5648GzvTgceGUvSN7a8VP-T9O98utLQ AT mail DOT gmail DOT com>
<5bd6ca93-298f-c7a8-224a-78655b111c70 AT SystematicSw DOT ab DOT ca>
In-Reply-To: <5bd6ca93-298f-c7a8-224a-78655b111c70@SystematicSw.ab.ca>
From: Martin Ortuno <martinortunogonzalez AT gmail DOT com>
Date: Sun, 15 May 2022 17:03:08 -0500
Message-ID: <CAGgcKD9aPQp-M_otUZsKB_=d4J7QNZXh6ZGqG2QKgtUzhqzfvg@mail.gmail.com>
Subject: Re: scons v4.3.0-1 outputs nothing on cygwin v2. 3.1
To: Cygwin List <cygwin AT cygwin DOT com>
X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 24FM40bc018860

Hi,
It would seem that it changed nothing...

$ alternatives --verbose --auto python

reading /var/lib/alternatives/python



$ ls -glo /usr/bin/python

lrwxrwxrwx 1 13 Jun  3  2015 /usr/bin/python -> python2.7.exe



$ alternatives --display python

python - status is auto.

link currently points to /usr/bin/python3.9

/usr/bin/python3.9 - priority 39

Current `best' version is /usr/bin/python3.9.


Martin

El dom., 15 de mayo de 2022 3:44 p. m., Brian Inglis <
Brian DOT Inglis AT systematicsw DOT ab DOT ca> escribió:

> On 2022-05-15 11:10, Martin Ortuno wrote:
> > Here the information you requested:
> > $ ls -glo /usr/bin/python
> > lrwxrwxrwx 1 13 Jun  3  2015 /usr/bin/python -> python2.7.exe
> > $ alternatives --display python
> > python - status is auto.
> > link currently points to /usr/bin/python3.9
> > /usr/bin/python3.9 - priority 39
> > Current `best' version is /usr/bin/python3.9.
>
> That makes no sense, your system is messed up:
>
> "link currently points to /usr/bin/python3.9"
>
> implies "/usr/bin/python -> python3.9"
>
> but you have "/usr/bin/python -> python2.7.exe"!
>
> To try to fix that, please try running:
>
>         $ alternatives --verbose --auto python
>
> and please report the output and where the links now go.
>
>
> > El vie., 13 de mayo de 2022 5:47 p. m., Brian Inglis <
> > Brian DOT Inglis AT systematicsw DOT ab DOT ca> escribió:
> >
> >> On 2022-05-13 16:16, Martin Ortuno wrote:
> >>> El vie., 13 de mayo de 2022 5:12 p. m., William Deegan escribió:
> >>>> On Fri, May 13, 2022 at 1:41 PM Martin Ortuno wrote:
> >>>>> El vie., 13 de mayo de 2022 3:30 p. m., Martin Ortuno escribió:
> >>>>>> El vie., 13 de mayo de 2022 11:51 a. m., William Deegan escribió:
> >>   >>>>> On Fri, May 13, 2022 at 8:46 AM Martin Ortuno wrote:>>>>>> On
> one
> >> project we are using cygwin v2.3.1 for 32 bits as a
> >>   >>>>>> building environment... We are integrating a library that
> >>   >>>>>> is built scons, I tried to run scons v4.3.0-1 but when I
> >>   >>>>>> prompt scons on the command line.
> >>   >>>>>> Scons -v outputs nothing...
> >>   >>>>>> I would appreciate your support in this matters...
> >>
> >>>>>>> Are you sure you're running scons from cygwin?
> >>>>>>> Which version of python do you have installed?
> >>
> >>>>>> On the cygwin envuronment i have both python 2.7.10 and python
> 3.4.3,
> >>>>>> the one which is by default is python 2...
> >>>>>> Pretty sure that's the reason why is not working, i think we need
> >> python
> >>>>>> 3.9 for scons...
> >>>>>> The problem now is that i cannot install successfully python 3.9. I
> >>>>>> tried with the setup-x86, just updating python3... However after
> that
> >>>>>> python3 stops working...
> >>>>>> I'd appreciate any advice or support...
> >>
> >>>>> Actually i tried to open python3.9 from windows directly  and then
> the
> >>>>> application crashes saying:
> >>>>> "The procedure entry point __locale_ctype_ptr could not be located in
> >> the
> >>>>> dynamic link library
> >>>>> C:\Path\toCygwin\bin\libpython3.9.dll"
> >>
> >>>> vi `which scons`
> >>>> and see which python it's trying to use.
> >>>> (from within your cygwin shell)
> >>>> Very surprised you get no output.
> >>
> >>   > I am prompting which scons:
> >>   > Output:
> >>   > /bin/scons/
> >>
> >> That output makes no sense!
> >> Please paste actual commands and outputs from terminal.
> >>
> >> Might be more useful running:
> >>
> >>          $ ls -glo /usr/bin/python
> >>          lrwxrwxrwx 1 24 Feb 17  2021 /usr/bin/python ->
> >> /etc/alternatives/python
> >>          $ alternatives --display python
> >>          python - status is auto.
> >>           link currently points to /usr/bin/python3.9
> >>          /usr/bin/python2.7 - priority 27
> >>          /usr/bin/python3.8 - priority 38
> >>          /usr/bin/python3.7 - priority 37
> >>          /usr/bin/python3.6 - priority 36
> >>          /usr/bin/python3.9 - priority 39
> >>          Current `best' version is /usr/bin/python3.9.
> >>          $ cygcheck -c scons
> >>          Cygwin Package Information
> >>          Package              Version        Status
> >>          scons                ...            OK
> >>          $ head -n1 /usr/bin/scons
> >>          #!/usr/bin/python...
>
> --
> 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
>

-- 
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 © 2019   by DJ Delorie     Updated Jul 2019