View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004391 | Taler | obsolete component | public | 2016-04-08 21:20 | 2016-04-24 23:41 |
| Reporter | Christian Grothoff | Assigned To | Marcello Stanisci | ||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | i7 | OS | Debian GNU/Linux | OS Version | squeeze |
| Product Version | 0.0 | ||||
| Target Version | 0.0 | Fixed in Version | 0.0 | ||
| Summary | 0004391: configure does not detect missing Python.h anymore | ||||
| Description | Without Python.h, I get a build failure on 'make install': In file included from psycopg/psycopgmodule.c:27:0: ./psycopg/psycopg.h:30:20: fatal error: Python.h: No such file or directory compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Cleaning up... Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-633v9_zr/psycopg2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-kmb04kj6-record/install-record.txt --single-version-externally-managed --compile --prefix=/home/grothoff failed with error code 1 in /tmp/pip-build-633v9_zr/psycopg2 Storing debug log for failure in /home/grothoff/.pip/pip.log | ||||
| Tags | No tags attached. | ||||
| related to | 0004362 | closed | Marcello Stanisci | bank requires Python 3.4, fails to auto-detect |
|
|
We might be nice to the user and output a warning, but I don't think this should be an error. './configure' is only responsible for build-time dependencies. Building the bank python package (the one we can upload to the PyPI) does not require the headers. The headers are only required on "make install", since that also installs dependencies that are not already installed globally. If this is the right behavior is a different question, but it's very convenient! |
|
|
As of 9dceca7, we detect the header using pyconfigure and output a warning if it is not present. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-04-08 21:20 | Christian Grothoff | New Issue | |
| 2016-04-08 21:20 | Christian Grothoff | Status | new => assigned |
| 2016-04-08 21:20 | Christian Grothoff | Assigned To | => Marcello Stanisci |
| 2016-04-09 01:48 | Florian Dold | Note Added: 0010438 | |
| 2016-04-19 15:23 | Marcello Stanisci | Relationship added | related to 0004362 |
| 2016-04-19 16:08 | Florian Dold | Note Added: 0010521 | |
| 2016-04-19 16:08 | Florian Dold | Status | assigned => resolved |
| 2016-04-19 16:08 | Florian Dold | Resolution | open => fixed |
| 2016-04-24 23:41 | Christian Grothoff | Status | resolved => closed |
| 2016-04-24 23:41 | Christian Grothoff | Fixed in Version | => 0.0 |
| 2016-04-24 23:41 | Christian Grothoff | Target Version | 0.1 => 0.0 |
| 2022-08-23 20:26 | Christian Grothoff | Category | bank (demonstrator) => py bank (demonstrator, obsolete) |
| 2023-12-03 01:23 | Christian Grothoff | Category | py bank (demonstrator, obsolete) => obsolete componet |
| 2023-12-11 20:08 | Florian Dold | Category | obsolete componet => obsolete component |