Re: Python 3 compatability... RFH (request for help)

Russel Winder <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <[email protected]>
On Sat, 2017-04-08 at 12:07 -0400, Bill Deegan wrote:
> On Sat, Apr 8, 2017 at 9:00 AM, Russel Winder <[email protected]>
> wrote:
> 
[…]
> > When SCons does the program detection for the tools /opt/local/bin
> > is
> > searched but ~/Built/bin is not. So it is not using the users path,
> > but
> > is including the MacPorts location, so appears to be using the
> > system
> > path. When a compile job is spawned /opt/local/bin is not in the
> > path
> > searched for and so we get the output observed. This would imply
> > that
> > SCons is using it's own path and not the system path when spawning
> > jobs.
> > 
> 
> As it should be.

Really? The SCons search path for executables when initialising tools
should be different from the SCons search path when trying to execute
the tools executable. This I do not believe. Yet this is what SCons
does. :-(

> I have local mods to have the Platform/darwin.py optionally append
> PATHOSX
> (which comes from processing /etc/paths and /etc/paths.d/* for paths)

As I understand it on Darwin those files are always processed to create
a search path.  Why is SCons not just saying "OK OS give me your
standard search path" – for all platforms. Why is SCons assuming it
knows better than the platform what the platform's standard search path
is?

> Without those on I don't pick up dmd at all..
> Should DMD be able to link with any gcc, or does it need to be the
> version
> it was built with?

DMD is being found on my system at tool set up time, but not at tool
executable execution time.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEETwDs1X+Beyaiaer41L3V0s7Np7gFAljp/8kACgkQ1L3V0s7N
p7jjyA//UiKAytL9j4DG366VGmZQCf5aTYag9cyoTB6N3NRc02DfS1ekHHakfHS0
n1vq1eUQgCbxyMPCAVlGK6goXBE+kt1BDZQ6WUepHCIJItSmj1D0oAkF1SKOzTi3
we8JZFb4qneTfFbmVKaYL1otptd+8HNu9DTyyfIctqDxO9CKG9ZG0FqORI6cRlZH
ZgEuq3BjKZeaBZOsi0BZAI7lBi8kVawNMSnoXn0OOgkyKYR9RqtfFVpad7X08TZv
X1vKU2P50+QLcNi008falXlUqrCGhXh+QaPcH/ju8DOkfKm1zw9hxBgtBnqPav5y
tBHoxzDLdsMKHMHF7nYxmVTJh5QYQO5Edo6jn5zGdaaUs1ICuYTt13caFtci+Ps8
uPfe41k6TP57FV+BME1IdZxTrirX+JVpyw1L1V6MgUoiH9qG0MTgea9Z7HSGQCTc
0RvzRVwJiXv93LddsuvRSkpmpD5FguGglPF61hQt68Cny942CwYwRGKG6epll2CU
6kk0DtfqUf9dtpw0MAZAK/MlGOV1zOlTWpHVPiFnmmk634XCqCZCu8J4J4YjB3iF
ZHw8oQxYHJ9P10sLiig9udOLyjyfQfW+kHgY37wsd7DVGNwBk6QD5ifjtIi89yDW
tAa2ka99M5xwu9Al3rfocmgEqur+XwyYVCsxCsSe1TG7i45Ie6M=
=AR2k
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.