[Openstack-operators] Installing dashboard - can't find Python.h
Harlan H. Bloom
harlan at bloomenterprises.org
Thu Oct 27 02:18:41 UTC 2011
Hi Sateesh,
Deadsun suggested installing the python-dev package. And that worked.
I was able to get the login page, but now I'm trying to figure out how to actually login to the dashboard.
Thanks,
Harlan...
----- Original Message -----
From: "Sateesh Chodapuneedi" <sateesh.chodapuneedi at citrix.com>
To: "Harlan H. Bloom" <harlan at bloomenterprises.org>, openstack-operators at lists.openstack.org
Sent: Wednesday, October 26, 2011 9:01:38 PM
Subject: RE: [Openstack-operators] Installing dashboard - can't find Python.h
Hi Harlan,
You need to install libxml2 libxslt-dev.
In Ubuntu, you can try apt-get install libxml2 libxslt-dev.
Regards,
Sateesh
----------------------------------------------------------------------------------------------------------------------------
"This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message."
Description: http://www6.integrityatwork.net/integrity/courses/ic1c/ic1cSTD/ic1cSTD_templates/shim.gif
From: openstack-operators-bounces at lists.openstack.org [mailto:openstack-operators-bounces at lists.openstack.org] On Behalf Of Harlan H. Bloom
Sent: Thursday, October 27, 2011 6:33 AM
To: openstack-operators at lists.openstack.org
Subject: [Openstack-operators] Installing dashboard - can't find Python.h
Hello,
I'm this is probably a newbie question, but I haven't been able to find an answer, in English anyways, for this error:
Installing collected packages: xattr, pep8, pylint, coverage, glance, quantum, openstack, openstackx, python-novaclient, anyjson, amqplib, decorator, Tempita, greenlet, logilab-common, logilab-astng, httplib2, argparse, prettytable
Running setup.py install for xattr
building 'xattr._xattr' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c xattr/_xattr.c -o build/temp.linux-x86_64-2.7/xattr/_xattr.o
xattr/_xattr.c:1:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Complete output from command /home/harlan/horizon/openstack-dashboard/.dashboard-venv/bin/python -c "import setuptools;__file__='/home/harlan/horizon/openstack-dashboard/.dashboard-venv/build/xattr/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-04M8XA-record/install-record.txt --install-headers /home/harlan/horizon/openstack-dashboard/.dashboard-venv/include/site/python2.7:
running install
running build
running build_py
running build_ext
building 'xattr._xattr' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c xattr/_xattr.c -o build/temp.linux-x86_64-2.7/xattr/_xattr.o
xattr/_xattr.c:1:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command /home/harlan/horizon/openstack-dashboard/.dashboard-venv/bin/python -c "import setuptools;__file__='/home/harlan/horizon/openstack-dashboard/.dashboard-venv/build/xattr/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-04M8XA-record/install-record.txt --install-headers /home/harlan/horizon/openstack-dashboard/.dashboard-venv/include/site/python2.7 failed with error code 1
Storing complete log in /home/harlan/.pip/pip.log
Command "/home/harlan/horizon/openstack-dashboard/tools/with_venv.sh pip install -E /home/harlan/horizon/openstack-dashboard/.dashboard-venv -r /home/harlan/horizon/openstack-dashboard/tools/pip-requires" failed.
None
I'm installing this on Ubuntu Server 11.10.
Any ideas or suggestions? Please let me know if you need any more information.
Thanks,
Harlan...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20111026/a1f91d7c/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 43 bytes
Desc: image001.gif
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20111026/a1f91d7c/attachment-0002.gif>
More information about the Openstack-operators
mailing list