Compilation failed : pyconfig.h: No such file or directory #65
Description
Hi,
Faced some compilation issues: any hints?
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/libxml2 -I/var/www/piati/pyenv/build/lxml/src/lxml/includes -I/usr/include/python3.3m -I/var/www/piati/pyenv/include/python3.3m -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-3.3/src/lxml/lxml.etree.o
src/lxml/lxml.etree.c:8:22: fatal error: pyconfig.h: No such file or directory
#include "pyconfig.h"
^
compilation terminated.
/usr/lib/python3.3/distutils/dist.py:257: UserWarning: Unknown distribution option: 'bugtrack_url'
warnings.warn(msg)
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Cleaning up...
Removing temporary dir /var/www/piati/pyenv/build...
Command /var/www/piati/pyenv/bin/python3.3 -c "import setuptools;file='/var/www/piati/pyenv/build/lxml/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-ljykbz-record/install-record.txt --single-version-externally-managed --install-headers /var/www/piati/pyenv/include/site/python3.3 failed with error code 1 in /var/www/piati/pyenv/build/lxml
Exception information:
Traceback (most recent call last):
File "/var/www/piati/pyenv/lib/python3.3/site-packages/pip/basecommand.py", line 134, in main
status = self.run(options, args)
File "/var/www/piati/pyenv/lib/python3.3/site-packages/pip/commands/install.py", line 241, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/var/www/piati/pyenv/lib/python3.3/site-packages/pip/req.py", line 1298, in install
requirement.install(install_options, global_options, _args, *_kwargs)
File "/var/www/piati/pyenv/lib/python3.3/site-packages/pip/req.py", line 625, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/var/www/piati/pyenv/lib/python3.3/site-packages/pip/util.py", line 670, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command /var/www/piati/pyenv/bin/python3.3 -c "import setuptools;file='/var/www/piati/pyenv/build/lxml/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-ljykbz-record/install-record.txt --single-version-externally-managed --install-headers /var/www/piati/pyenv/include/site/python3.3 failed with error code 1 in /var/www/piati/pyenv/build/lxml