[Scons-users] Getting scons error while trying to compile

Bill Deegan bill at baddogconsulting.com
Thu Jun 18 09:51:38 EDT 2015


Prashanth,

I suggest you ask them about moving forward on all platforms 0.96 is
ancient.

-Bill

On Thu, Jun 18, 2015 at 3:35 AM, Prashanth Maiya <prashanth.maiya at oracle.com
> wrote:

> Hi William,
>
>        It is a Management decision since the same scons is used to compile
> on other seven platforms.
>        This is a pilot project trying to migrate from RHEL4 to RHEL6.
>
> Thanks,
> Prashanth
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 17 Jun 2015 20:05:58 -0400
> From: William Blevins <wblevins001 at gmail.com>
> To: SCons users mailing list <scons-users at scons.org>
> Subject: Re: [Scons-users] Getting scons error while trying to compile
>         on RHEL6 and scons 0.96.
> Message-ID:
>         <CALJHx12J_C7AGpKograL7CbJC1rZOHYMg7P57XJZpSe2qA=
> a3g at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Prashanth,
>
> Let me rephrase.  I agree with Bill to use the latest version.  I am just
> curious why you are trying to use an older version when RHEL6 comes with a
> newer version.
>
> V/R,
> William
>
> On Wed, Jun 17, 2015 at 8:04 PM, William Blevins <wblevins001 at gmail.com>
> wrote:
>
> > Prashanth,
> >
> > CentOS/RHEL 6 contains scons in the standard distro.  Is there a
> > reason not to use the RHEL6 default version: scons-2.0.1-1.el6.noarch?
> >
> > V/R,
> > William
> >
> >
> > On Wed, Jun 17, 2015 at 2:19 PM, Bill Deegan
> > <bill at baddogconsulting.com>
> > wrote:
> >
> >> Prashanth,
> >>
> >> Please try scons 2.3.4 and report back.
> >>
> >> -Bill
> >>
> >> On Wed, Jun 17, 2015 at 3:27 AM, Prashanth Maiya <
> >> prashanth.maiya at oracle.com> wrote:
> >>
> >>> Hi  all,
> >>>
> >>>
> >>>
> >>> I?m trying to compile my project on RHEL6.6  using scons 0.96 and
> >>> python version 2.4.4.
> >>>
> >>> But I am getting below error.
> >>>
> >>> Can you please let me know if scons 0.96 and python 2.4.4 is
> >>> supported on RHEL6.
> >>>
> >>>
> >>>
> >>>   File "/tools/remote/lib/scons-0.96/SCons/Script/Main.py", line
> >>> 1077, in _main
> >>>
> >>>     SCons.Script._SConscript._SConscript(fs, script)
> >>>
> >>>
> >>>
> >>>   File "/tools/remote/lib/scons-0.96/SCons/Script/SConscript.py",
> >>> line 226, in _SConscript
> >>>
> >>>     exec _file_ in call_stack[-1].globals
> >>>
> >>>   File "SConstruct", line 30, in <module>
> >>>
> >>>     env.DevConscript()
> >>>
> >>>
> >>>
> >>>   File "/tools/rd/devscons/v2.0/dev.py", line 66, in DevConscript
> >>>
> >>>     self.SConscript(dirs=GetBuildDirs(self,self['SRC'],
> >>> self['PLAT_DIR_REL']))
> >>>
> >>>
> >>>
> >>>   File "/tools/remote/lib/scons-0.96/SCons/Script/SConscript.py",
> >>> line 494, in SConscript
> >>>
> >>>     return apply(_SConscript, [self.fs,] + files, {'exports' :
> >>> exports})
> >>>
> >>>
> >>>
> >>>   File "/tools/remote/lib/scons-0.96/SCons/Script/SConscript.py",
> >>> line 226, in _SConscript
> >>>
> >>>     exec _file_ in call_stack[-1].globals
> >>>
> >>>
> >>>
> >>>   File "src/cpp/connector/process/SnoConnector/SConscript", line 13,
> >>> in <module>
> >>>
> >>>     denv.DevProgram()
> >>>
> >>>
> >>>
> >>>     File "/tools/remote/lib/scons-0.96/SCons/Environment.py", line
> >>> 1181, in Alias
> >>>
> >>>     result.extend(bld(self, t, source))
> >>>
> >>>
> >>>
> >>>   File "/tools/remote/lib/scons-0.96/SCons/Builder.py", line 604, in
> >>> __call__
> >>>
> >>>     return self._execute(env, target, source, OverrideWarner(kw),
> >>> ekw)
> >>>
> >>>
> >>>
> >>>   File "/tools/remote/lib/scons-0.96/SCons/Builder.py", line 580, in
> >>> _execute
> >>>
> >>>     t.add_source(slist)
> >>>
> >>>
> >>>
> >>> *  File "/tools/remote/lib/scons-0.96/SCons/Node/__init__.py", line
> >>> 771, in add_source*
> >>>
> >>> *    raise SCons.Errors.UserError("attempted to add a non-Node as
> source
> >>> of %s:\n\t%s is a %s, not a Node" % (str(self), s, type(e)))*
> >>>
> >>>
> >>>
> >>> *UserError: attempted to add a non-Node as source of SnoConnector:*
> >>>
> >>> *        ['SnoConnector'] is a <class 'SCons.Node.NodeList'>, not a
> Node*
> >>>
> >>>
> >>>
> >>> *scons: *** attempted to add a non-Node as source of SnoConnector:*
> >>>
> >>> *        ['SnoConnector'] is a <class 'SCons.Node.NodeList'>, not a
> Node*
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Thanks,
> >>>
> >>> Prashanth
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Scons-users mailing list
> >>> Scons-users at scons.org
> >>> https://pairlist4.pair.net/mailman/listinfo/scons-users
> >>>
> >>>
> >>
> >> _______________________________________________
> >> Scons-users mailing list
> >> Scons-users at scons.org
> >> https://pairlist4.pair.net/mailman/listinfo/scons-users
> >>
> >>
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://pairlist4.pair.net/pipermail/scons-users/attachments/20150617/be27969a/attachment-0001.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
> ------------------------------
>
> End of Scons-users Digest, Vol 40, Issue 64
> *******************************************
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150618/aa5b660b/attachment.html>


More information about the Scons-users mailing list