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

Alexey Petruchik i100500 at gmail.com
Wed Oct 3 07:26:48 EDT 2012


I had the same issue when compiling C++ code. Almost all Linux
distroes have gcc but not g++ by default. So I fixed this by
installing g++.

On Wed, Oct 3, 2012 at 12:02 PM, Russel Winder <russel at winder.org.uk> wrote:

> 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

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>



More information about the Scons-users mailing list