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

Opaque config errors when no C++ compiler is found #1437

Closed
bdbaddog opened this issue Jan 2, 2018 · 0 comments
Closed

Opaque config errors when no C++ compiler is found #1437

bdbaddog opened this issue Jan 2, 2018 · 0 comments

Comments

@bdbaddog
Copy link
Contributor

bdbaddog commented Jan 2, 2018

This issue was originally created at: 2006-07-22 12:49:15.
This issue was reported by: inducer.
inducer said at 2006-07-22 12:49:15

I was building my project, madman [1], on a new machine where no C++ was installed. Instead of an error message, I got opaque errors from the configure stage of the build. From the config.log (attached) it looks like scons tried to run an "empty command", passing just the options, see this snippet from config.log:

scons: `.sconf_temp/conftest_0.cpp' is up to date.
-I/usr/share/qt3/include -c -o .sconf_temp/conftest_0.o .sconf_temp/conftest_0.cpp
sh: -/: invalid option
Usage:  sh [GNU long option] [option] ...
        sh [GNU long option] [option] script-file ...
 

[1] http://news.tiker.net/software/madman

inducer said at 2006-07-22 12:50:01

Created an attachment (id=63)
The config.log I got when running without a C++ compiler

inducer said at 2006-07-22 12:50:55

To make it a bit clearer: What I expected to happen was for there to be an error like: "No C++ compiler installed" instead of just keeping going with the build.

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

http://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 2008-07-22 00:39:08

Bug party triage. Inherit the milestone and priority of a later dup.

gregnoel said at 2008-07-22 00:39:43

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

gregnoel said at 2008-12-26 13:29:15

Adjust triage of issues.

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

Bug party triage. Accumulate issues with this underlying problem as dups of a
common base issue.

*** This issue has been marked as a duplicate of 863 ***

inducer attached config.log at 2006-07-22 12:50:01.

The config.log I got when running without a C++ compiler

gregnoel said this issue is a duplicate of #863 at 2009-02-22 12:30:37.

gregnoel said this issue is duplicated by #1458 at 2008-07-22 00:39:44.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant