View Issue Details

IDProjectCategoryView StatusLast Update
0004391Talerobsolete componentpublic2016-04-24 21:41
ReporterChristian Grothoff Assigned ToMarcello Stanisci Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
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.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

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

Activities

Florian Dold

2016-04-08 23: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 14:08

manager   ~0010521

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

Issue History

Date ModifiedUsernameFieldChange
2016-04-08 19:20Christian GrothoffNew Issue
2016-04-08 19:20Christian GrothoffStatusnew => assigned
2016-04-08 19:20Christian GrothoffAssigned To => Marcello Stanisci
2016-04-08 23:48Florian DoldNote Added: 0010438
2016-04-19 13:23Marcello StanisciRelationship addedrelated to 0004362
2016-04-19 14:08Florian DoldNote Added: 0010521
2016-04-19 14:08Florian DoldStatusassigned => informing
2016-04-19 14:08Florian DoldResolutionopen => fixed
2016-04-24 21:41Christian GrothoffStatusinforming => closed
2016-04-24 21:41Christian GrothoffFixed in Version => 0.0
2016-04-24 21:41Christian GrothoffTarget Version0.1 => 0.0
2022-08-23 18:26Christian GrothoffCategorybank (demonstrator) => py bank (demonstrator, obsolete)
2023-12-03 00:23Christian GrothoffCategorypy bank (demonstrator, obsolete) => obsolete componet
2023-12-11 19:08Florian DoldCategoryobsolete componet => obsolete component