[Scons-dev] Python 3 compatability... RFH (request for help)

Bill Deegan bill at baddogconsulting.com
Fri Apr 7 13:00:12 EDT 2017


off topic but interesting..
https://forum.dlang.org/post/oc8acc$1ei9$1@digitalmars.com

I'll take a look at the tool detection logic.
My dmd is in /opt/local/bin (macports install)


On Fri, Apr 7, 2017 at 12:53 PM, Russel Winder <russel at winder.org.uk> wrote:

> On Fri, 2017-04-07 at 12:35 -0400, Bill Deegan wrote:
> > Russel,
> >
> > I have macports dmd installed and see the following when I run test/D
> >
> > https://pastebin.mozilla.org/9018262
> >
> > Thoughts?
> >
>
> This looks fairly familiar :-(
>
> When SCons tool set up searches for executables, in this case dmd, it
> uses a different path to when it then tries to run a dmd job. It sent
> the string to subprocess but the executable is not found so all the
> symbols substitute to ''. SCons has perhaps too many levels of
> indirection between detection, setting up symbols and using the
> symbols.
>
> I had thought I had sorted this out for the D tests, but clearly not –
> on MacOS. I have no way of checking Windows, so I must leave the to
> others.
>
> Personally I get round this systemic problem for my projects by always
> using an execution environment with ENV=os.environ to compile D code.
> This unifies the path used for set up and for execution.
>
> I believe I have ranted about this problem in the past. Often. :-)
>
> --
> Russel.
> ============================================================
> =================
> Dr Russel Winder      t: +44 20 7585 2200   voip:
> sip:russel.winder at ekiga.net
> 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
> London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20170407/f6a576ab/attachment.html>


More information about the Scons-dev mailing list