Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qmtest] Problem installing QMTest on Ubuntu dapper


  • To: Tom Lloyd <tlloyd@xxxxxxxxxxx>
  • Subject: Re: [qmtest] Problem installing QMTest on Ubuntu dapper
  • From: Stefan Seefeld <seefeld@xxxxxxxxxxxx>
  • Date: Fri, 09 Feb 2007 19:26:00 -0500

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@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...