Re: adding text to compile line
daggs via Scons-users <[email protected]> Tue, 6 Feb 2024 09:20:16 +0100
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <trinity-2f19ce66-bb60-4a7e-b4a5-f7daacb497bb-1707207616333@3c-app-mailcom-bs11> |
looked into scons-local, still out of pkg mgr installation. there should be a round of distro upgrade soon so we'll get to 4.x @Mats, your suggestion worked, all works well. thanks Sent: Monday, February 05, 2024 at 11:17 PM From: "Bill Deegan" <[email protected]> To: "SCons users mailing list" <[email protected]> Cc: "daggs" <[email protected]> Subject: Re: [Scons-users] adding text to compile line SCons does have a -local package which is meant to be vendored into source trees... That might free you from such limitations.. On Mon, Feb 5, 2024 at 11:37 AM daggs via Scons-users <[email protected] > wrote: I cannot tell everyone to use only the pkg mgr and then tell them to install scons outside of the pkg mgr... we are confined to what the distro gives us Sent: Monday, February 05, 2024 at 9:11 PM From: "Bill Deegan" <[email protected] > To: "SCons users mailing list" <[email protected] > Subject: Re: [Scons-users] adding text to compile line Or update to latest SCons.. ;) On Mon, Feb 5, 2024 at 10:41 AM Mats Wichmann <[email protected] > wrote: On 2/5/24 10:41, daggs via Scons-users wrote: >> Sent: Monday, February 05, 2024 at 4:28 PM >> From: "Mats Wichmann" <[email protected] > >> To: [email protected] >> Subject: Re: [Scons-users] adding text to compile line >> >> On 2/5/24 06:41, daggs via Scons-users wrote: >>> tried this, >>> >>> getting this error: >>> Traceback (most recent call last): >>> File "/usr/lib/scons/SCons/Action.py", line 688, in __call__ >>> cmd = self.strfunction(target, source, env, executor) >>> File "./site_scons/site_init.py", line 10, in my_strfunction >>> c = env.subst(self.cmdstr, SUBST_CMD, executor=executor, >>> TypeError: subst() got an unexpected keyword argument 'overrides' >> >> Old version of SCons? The overrides behavior was added in SCons 4.5. >> For the purposes of experiment, you can just leave out the >> "overrides=overrides" on the three lines where it appears - no need to >> drop it from the function signature. > yes, 3.2 > > will try and report back ah yes, you probably mentioned the version at sme point and I missed/forgot it. you may want to set your tool, if it works, to include some version checks so it works on pre-3.5 as well as 3.5+. _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users