Error with building BigDFT 1.7.5

Bug #1373399 reported by Tommi Höynälänmaa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BigDFT
Invalid
Wishlist
Unassigned

Bug Description

BigDFT 1.7.5 fails to build. Compilation results in error message

x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DYAML_DECLARE_STATIC=1 -I/home/tohoyn/src/bigdft-build/../bigdft-1.7.5/yaml-0.1.4/include -I/usr/include/python2.7 -c ext/_yaml.c -o build/temp.linux-x86_64-2.7/ext/_yaml.o
ext/_yaml.c:4:20: fatal error: Python.h: Tiedostoa tai hakemistoa ei ole
 #include "Python.h"

Full output of make is attached.

     - Tommi

Revision history for this message
Tommi Höynälänmaa (tommi-hoynalanmaa) wrote :
Revision history for this message
Tommi Höynälänmaa (tommi-hoynalanmaa) wrote :
Revision history for this message
Luigi Genovese (luigi-genovese) wrote :

Dear Tommi,

newer BigDFT version provides PyYaml python package to ease the reading of the BigDFT logfile.
Therefore, to compile pyyaml you need the python headers available.

Control the installation of your machine to see if the python2.7-dev pachage is correctly installed.

Unfortunately, Pyyaml package does not provide any configure script, therefore it is not possible to detect this problem before compiling.
This is not however related to the normal BigDFT usage: this is just a functionality for an extra feature: at this point of the compilation, the bigdft executable is already built.

Therefore you should have all the bigdft executables in the <builddir>/src/ dicrectory.

Do not hesitate

Thanks

Luigi

Changed in bigdft:
status: New → Invalid
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.