| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Mon May 12, 2008 9:03 am Post subject: compiling with python |
|
|
Hi,
i'd like to compile ices0.4 with python. im on Debian.
i tried :
./configure --with-lame --with-python=/usr/lib/python2.4
or
./configure --with-lame --with-python=/usr/lib/
Both are not working, and returning this :
checking python... /usr/lib/python2.4
./configure: line 21334: /usr/lib/python2.4: is a directory
configure: WARNING: Could not find library for /usr/lib/python2.4
./configure: line 21347: /usr/lib/python2.4: is a directory
./configure: line 21350: /usr/lib/python2.4: is a directory
./configure: line 21351: /usr/lib/python2.4: is a directory
./configure: line 21352: /usr/lib/python2.4: is a directory
./configure: line 21354: /usr/lib/python2.4: is a directory
checking Python.h usability... no
checking Python.h presence... no
checking for Python.h... no
configure: WARNING: Python.h doesn't appear to be usable
configure: error: Could not link to python
where am i wrong ?
Thank you |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon May 12, 2008 1:55 pm Post subject: |
|
|
If your install of the python development package is not in the standard place then you must provide the paths of where they are located. Maybe you just haven't installed what you need to.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Tue May 20, 2008 8:44 am Post subject: |
|
|
Thanks for your help karl, i didn't know python-dev package was needed.
it works great now.
Thx |
|
| Back to top |
|
 |
|