[qmtest] Problem installing QMTest on Ubuntu dapper

Stefan Seefeld seefeld at sympatico.ca
Sat Feb 10 00:26:00 UTC 2007


Tom Lloyd wrote:
> HELP! I've downloaded the source as instructed. I have python2.4
> installed and a very recent gcc.
> 
> It got nicely through a lot of the build before stumbling on a missing
> file, Python.h, which I can't find anywhere on my system ...
> 
> tlloyd at tlloyd-laptop:~/tools/qmt/qm-2.3$ python setup.py install
> running install
> running build
> running build_py
> copying qm/test/qmtest.py -> build/lib.linux-i686-2.4/qm/test
> running build_ext
> building 'qm.sigmask' extension
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
> -Wstrict-prototypes -fPIC -I/usr/include/python2.4 -c qm/sigmask.c -o
> build/temp.linux-i686-2.4/qm/sigmask.o
> qm/sigmask.c:16:20: error: Python.h: No such file or directory

> Can you help me?

Your system is lacking the package that contains Python.h.
Depending on what platform you are on, you may have to

1) install a 'python' package first.
2) install a 'python-devel' package.
3) download, compile, and install a python source package.

Regards,
		Stefan

-- 

      ...ich hab' noch einen Koffer in Berlin...



More information about the qmtest mailing list