[Scons-users] sh: o: command not found

Russel Winder russel at winder.org.uk
Wed Oct 3 05:02:14 EDT 2012


On Tue, 2012-10-02 at 22:11 -0700, Buchwalter Edward wrote:

> Hello All,

>

> I have used scons for quite some time now - nearly 4 years! However, I have run into a difficult problem - perhaps this group can help.

>

> I have a "standard" build system using scons that has worked successfully on windows, OS-X, and Linux. However, I am trying to add a Centos 6.3 system to the mix. I am running Centos 6.3, python 2.6.6 and scons 2.2.0.

>

> The problem that I am seeing is that some targets build fine, but others lose the "gcc" string and report the above error - "sh: o: command not found". Essentially, the compiler string is being cleared somehow. I have tried re-arranging things etc but no success. Very odd behavior.

>

> Does anyone have any insight here?

>

> Thanks in advance,


I find this happens a lot to me. The various GCC based tools are all
interrelated and all use the same environment keys. This means order of
loading of the tools can make a great difference to the command strings
used. I am finding this to be a real problem for the GDC tool.

I do not have access to CentOS to be able to run any experiments but if
you could find a minimal project that exhibits the problem and post it
here we can certainly investigate and see what the "CentOS Effect" is
caused by.
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : <http://four.pairlist.net/pipermail/scons-users/attachments/20121003/27973b3a/attachment.pgp>


More information about the Scons-users mailing list