I'm trying to compile a software package but it fails with
g++ -Wall -O0 -fno-strict-aliasing -I/usr/include/python2.6 -I/usr/include/python2.5 -g -pthread -fpic -I../../plot/src -I../../math/src -I../../rclib/src/util -I../../rclib/src/conui -I../../rclib/src/io -I../../_general -I../../clop/src -I../../clop/src/real -I../../clop/src/artificial -I../../clop/src/math -DPTHREADS -DGUI=nogui -Drestrict=__restrict__ -DKBHIT_UNIX -DCLOCK_FTIME -c -o ../swig/clop_swig_wrap.o ../swig/clop_swig_wrap.cxx
../swig/clop_swig_wrap.cxx:149:20: fatal error: Python.h: No such file or directory
compilation terminated.
make: *** [../swig/clop_swig_wrap.o] Error 1
Since Python 2.6 is no longer available in synaptic, I downloaded, built, and installed it from http://www.python.org/download/releases/2.6.8/ , but it didn't add the 2.6 libraries to /usr/include
How do I get the python2.6 libraries into /usr/include on Ubuntu 12.04?
./configure
,make
and thansudo make install
.