[Scons-users] sh: o: command not found
Buchwalter Edward
eeb at binary.com
Thu Oct 4 21:54:35 EDT 2012
Thank you both for your help - Alexey you were correct - though I had installed gcc I forgot I had to install the c++ component as well! I feel a bit silly. It came to me the other morning when I realized my 'C' targets were building but not the c++ targets.
Again,
Thanks,
Date: Wed, 3 Oct 2012 14:26:48 +0300
From: Alexey Petruchik <i100500 at gmail.com>
Subject: Re: [Scons-users] sh: o: command not found
To: SCons users mailing list <scons-users at scons.org>
Message-ID:
<CAB1qPCmZ=K83HSmeNiviqdPX3JLR_nai8=NgYS1jfTCfcEMwsg at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20121004/d6b77c0d/attachment.html>
More information about the Scons-users
mailing list