View Issue Details

IDProjectCategoryView StatusLast Update
0004391Talerobsolete componentpublic2016-04-24 23:41
ReporterChristian Grothoff Assigned ToMarcello Stanisci  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Version0.0 
Target Version0.0Fixed in Version0.0 
Summary0004391: configure does not detect missing Python.h anymore
DescriptionWithout 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
TagsNo tags attached.

Relationships

related to 0004362 closedMarcello Stanisci bank requires Python 3.4, fails to auto-detect 

Activities

Florian Dold

2016-04-09 01:48

manager   ~0010438

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!

Florian Dold

2016-04-19 16:08

manager   ~0010521

As of 9dceca7, we detect the header using pyconfigure and output a warning if it is not present.

Issue History

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