www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/05/15/16:43:47

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 5E63D3858C50
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=systematicsw.ab.ca
X-Authority-Analysis: v=2.4 cv=YdeuWidf c=1 sm=1 tr=0 ts=628165ef
a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17
a=IkcTkHD0fZMA:10 a=7vT8eNxyAAAA:8 a=3AqjIuW_7LvJd5Du_X8A:9 a=QEXdDO2ut3YA:10
a=Mzmg39azMnTNyelF985k:22
Message-ID: <5bd6ca93-298f-c7a8-224a-78655b111c70@SystematicSw.ab.ca>
Date: Sun, 15 May 2022 14:43:26 -0600
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
Subject: Re: scons v4.3.0-1 outputs nothing on cygwin v2. 3.1
To: cygwin AT cygwin DOT com
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>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Organization: Systematic Software
In-Reply-To: <CAGgcKD8_A72QZ5KhTUA5648GzvTgceGUvSN7a8VP-T9O98utLQ@mail.gmail.com>
X-CMAE-Envelope: MS4xfLSfJZP0ZmMvTsJ2xXIuDLjp/2b/MzCwzrM0D0SCDc9oe91pWQ7J/x0kKRUu5i9t7yjVGhT2CUcNe4KNwmPvKkWuALPpKWrQ03QGvOCUau5LrSPtA1H5
Pd6b9yIPRCd5c6nYhlG0KfGSUpmzaNRgSllrH5ryKi1dQ2jcofIMvU7CyYhnSbOAWfZtVM9OMVYbzlnqHgw4mRdt9P5EAB8fd9Q=
X-Spam-Status: No, score=-1164.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, NICE_REPLY_A, SPF_HELO_NONE,
SPF_NONE, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
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-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>
Reply-To: cygwin AT cygwin 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 24FKhkkc005216

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

- Raw text -


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