Hello Jakub,

what I didn't know is that only the "g++" package provides the "g++" binary, and that the "g++-4.6" doesn't. I wonder why my minimal Debian chroot used for building has it.

What I noticed is this "apt-get remove g++" wants to remove "build-essential" package. So a adding dependency on that is probably in order and solves the problem.

Setting the CXX environment variable doesn't help much:

$ CXX=g++-4.6 nuitka test.py
KeyError: 'CXXVERSION':
File "/usr/share/nuitka/nuitka/build/SingleExe.scons", line 216:
gpp_version = int( env[ "CXXVERSION" ].replace( ".", "" ) )
File "/usr/lib/scons/SCons/Environment.py", line 409:
return self._dict[key]

This is a problem by itself that I will fix too with an upstream update soon. There is code to update "CXXVERSION" if Nuitka is asked to cross compile to Windows, and if "CXX" is fed from environment variable, the Scons won't uddate "CXXVERSION", so we have to do it outselves.

Sorry about that.

Installing g++ does fix the problem, but this package is neither
depended on nor recommended by nuitka.

Truly so. Thanks for your report. I will prepare an upload in the next days that will address the "g++" bug, and also the "CXX" environment bug. I think I have only tested "CXX" for setting to "clang", which has no check on "CXXVERSION" currently.

Yours,
Kay


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to