public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: scons v4.3.0-1 outputs nothing on cygwin v2. 3.1
Date: Fri, 13 May 2022 16:46:41 -0600	[thread overview]
Message-ID: <c2b60665-72cc-afa7-ca52-6704cd3034fc@SystematicSw.ab.ca> (raw)
In-Reply-To: <CAGgcKD924zP+8FmMJfXJZC+Q3p4z_AX-ztdurJD_aLW5fb9wvQ@mail.gmail.com>

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...

-- 
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.
[Data in binary units and prefixes, physical quantities in SI.]

  reply	other threads:[~2022-05-13 22:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-13 15:45 Martin Ortuno
2022-05-13 16:51 ` William Deegan
2022-05-13 20:30   ` Martin Ortuno
2022-05-13 20:41     ` Martin Ortuno
2022-05-13 22:12       ` William Deegan
2022-05-13 22:16         ` Martin Ortuno
2022-05-13 22:46           ` Brian Inglis [this message]
2022-05-15 17:10             ` Martin Ortuno
2022-05-15 20:43               ` Brian Inglis
2022-05-15 22:03                 ` Martin Ortuno
2022-05-16  0:57                   ` Ken Brown
2022-05-16  1:43                     ` Martin Ortuno
2022-05-16 17:49                       ` William Deegan
2022-05-15 23:37                 ` Doug Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c2b60665-72cc-afa7-ca52-6704cd3034fc@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).