You are here

Invalid value for option cxx

5 posts / 0 new
Last post
Invalid value for option cxx
#1

scons: *** Invalid value for option cxx: *
File "/usr/local/rosetta3.3/rosetta_source/tools/build/setup.py", line 89, in setup_build_options

I tried to run scons bin mode=release, this is the error i get.
Im using Fedora15 with gcc4.6..
So, this is the gcc problem?

Post Situation: 
Wed, 2011-08-10 19:06
byin

Somehow something is inserting an argument to cxx into your command line. I don't know how. Try adding cxx=gcc to the line (scons bin mode=release cxx=gcc), assuming you use gcc.

Wed, 2011-08-10 19:39
smlewis

still end up the same error.i tried to add the version but also,the same...tq

Wed, 2011-08-10 19:48
byin

OK, try editing the line of tools/build/options.settings that says:
"gcc" : [ "3.3", "3.4", "4.0", "4.1", "4.2", "4.3","4.4","4.5", "*" ],

to instead have 4.6 as well:


"gcc" : [ "3.3", "3.4", "4.0", "4.1", "4.2", "4.3","4.4","4.5", "4.6", "*" ],

Thu, 2011-08-11 12:42
smlewis

i untar rosetta_source again and edited all the files,in the end,success..thanks ^^

Thu, 2011-08-11 20:06
byin