Macaulay2 / Macaulay2/M2

configure script should check if C++ compiler works

Open
#1,898 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build issue stale
Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

... should check, first thing, whether the C++ compiler even works. Otherwise this error message occurs, and it's misleading.
```m2
$ ../configure CXX=foobar
configure: configuring Macaulay2 version 1.17.1.1
relevant environment variable values, if any:
CXX = foobar
...
checking whether exceptions are caught... no, use a different C++ compiler
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the configure script and reproduce the reported command, ../configure CXX=foobar. Trace the initial compiler checks and make configure detect an unusable C++ compiler before the exception check; done means the resulting diagnostic no longer misleadingly reports an exception failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.