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

Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CAEyG4CFtiKFrR_3XxMxE-2hirFix++EYhu36FCgrJTdqFEeKrg@mail.gmail.com>
off topic but interesting..
https://forum.dlang.org/post/[email protected]

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 <[email protected]> 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:[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
>
>

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
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.