Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scons needs an error message when compiler not found #863

Open
bdbaddog opened this issue Jan 2, 2018 · 1 comment
Open

scons needs an error message when compiler not found #863

bdbaddog opened this issue Jan 2, 2018 · 1 comment
Labels
bug Tools Issues related to tools subsystem Version: 0.95
Milestone

Comments

@bdbaddog
Copy link
Contributor

bdbaddog commented Jan 2, 2018

This issue was originally created at: 2004-07-19 15:56:27.
This issue was reported by: issues@scons.

issues@scons said at 2004-07-19 15:56:27

We ran scons on Mac OS X where g++ was not installed. Instead of an error message stating that the default compiler could not be found, scons set env['CXX'] to None and tried to compile, which resulted in obscure behavior that was a little difficult to track down.

issues@scons said at 2004-07-19 15:56:27

Converted from SourceForge tracker item 994157

gregnoel said at 2008-07-16 13:43:30

https://scons.org/wiki/BetterErrorMessages is a description of how this situation should be handled. At the time this comment is posted, it's an early draft, and comments and questions from those who have encountered the situation would be appreciated.

gregnoel said at 2009-02-22 12:27:24

Bug party triage. Accumulate issues with the same underlying problem as dups of this issue.

gregnoel said at 2009-02-22 12:29:42

*** Issue #1442 has been marked as a duplicate of this issue. ***

gregnoel said at 2009-02-22 12:30:13

*** Issue #1873 has been marked as a duplicate of this issue. ***

gregnoel said at 2009-02-22 12:30:37

*** Issue #1437 has been marked as a duplicate of this issue. ***

gregnoel said at 2009-02-22 12:30:53

*** Issue #1895 has been marked as a duplicate of this issue. ***

bms said at 2009-07-16 05:06:58

I just saw this happen on a virgin Ubuntu 9.04 Desktop install -- the g++ package is not installed out of the box, and scons tries to compile with CXX being None...

garyo said at 2012-09-01 10:04:01

de-assigning all tickets assigned to Greg Noel (no longer working on SCons)

@mwichmann
Copy link
Collaborator

Seems like at least those builders listed in GlobalDefaultBuilders could have some sort of error handling defined for them. That list is only used for populating DefaultEnvironment at the moment and uses the DefaultEnvironmentCall class, but one could use a similar mechanism for a regular env, I presume?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Tools Issues related to tools subsystem Version: 0.95
Projects
None yet
Development

No branches or pull requests

2 participants