[Scons-users] Getting scons error while trying to compile on RHEL6 and scons 0.96.

Prashanth Maiya prashanth.maiya at oracle.com
Wed Jun 17 06:27:13 EDT 2015


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

 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150617/e2b9447e/attachment.html>


More information about the Scons-users mailing list