LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-08-2009, 02:58 PM   #1
mohabic
LQ Newbie
 
Registered: Nov 2009
Posts: 26

Rep: Reputation: 15
Python.h not found ?!


Dear All:-
I had to start over installing aureservoir, every thing was smooth till i found this error
--------------------------------------
Checking for C++ header file aureservoir/aureservoir.h... yes
Checking for C++ library flens... yes
Checking for C++ header file flens/flens.h... yes
Checking for C header file Python.h... no
Did not find python headers !
---------------------------------------------
This is also the code that caused this error

# do the checks
conf = Configure(env)
if checking:
if not conf.CheckCXXHeader('aureservoir/aureservoir.h'):
print 'Did not find aureservoir header (aureservoir/aureservoir.h) !'
Exit(1)
if not conf.CheckLib('flens', language="C++"):
print 'Did not find FLENS library !'
Exit(1)
if not conf.CheckCXXHeader('flens/flens.h'):
print 'Did not find FLENS header (flens/flens.h) !'
Exit(1)
if not conf.CheckCHeader('Python.h'):
print 'Did not find python headers !'
Exit(1)
if not conf.CheckLib('fftw3', language="C"):
print 'Did not find FFTW3 library !'
Exit(1)
if not conf.CheckLib('fftw3f', language="C"):
print 'Did not find FFTW3 single precision library !'
Exit(1)
if not conf.CheckHeader('fftw3.h'):
print 'Did not find FFTW3 header !'
Exit(1)
env = conf.Finish()

I installed, python2.5 and python 2.6 and I also got nothing, any suggestion for this ?
Thanks on advance
and hope not bothering

Mohamed Taher
 
Old 12-08-2009, 03:31 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
Headers are always in the ' -dev ' packages.

sudo apt-get install python2.6-dev libfftw3-dev
( Or 'python2.5-dev' )

.. Alternatively have a look in Synaptic ...
....
Quote:
Did not find FFTW3 single precision library
When configure or 'make' stops because of missing
<name> , it always means (lib)<name>-dev .
.....

Last edited by knudfl; 12-08-2009 at 03:44 PM.
 
Old 12-08-2009, 04:22 PM   #3
mohabic
LQ Newbie
 
Registered: Nov 2009
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
Headers are always in the ' -dev ' packages.

sudo apt-get install python2.6-dev libfftw3-dev
( Or 'python2.5-dev' )

.. Alternatively have a look in Synaptic ...
....

When configure or 'make' stops because of missing
<name> , it always means (lib)<name>-dev .
.....
Thanks for the advice, i already did that
and here is the o\p of the terminal
moha@moha:~$ sudo apt-get install python2.6-dev libfftw3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
python2.6-dev is already the newest version.
libfftw3-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.


the problem still exist
any other advice ?
 
Old 12-08-2009, 04:37 PM   #4
mohabic
LQ Newbie
 
Registered: Nov 2009
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
Headers are always in the ' -dev ' packages.

sudo apt-get install python2.6-dev libfftw3-dev
( Or 'python2.5-dev' )

.. Alternatively have a look in Synaptic ...
....

When configure or 'make' stops because of missing
<name> , it always means (lib)<name>-dev .
.....
Wahoo, Thanks a lot, i needed python2.5-dev
Thanks a lottt
 
Old 12-08-2009, 05:19 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
Yes, you can never know, what 'configure' is
using to decide OK, if "python dev" is present.

If /usr/bin/python is accepted, we need the python
connected to that, e.g. python2.5-dev .

If it's Python.h , you can't know which.

Worst case : A two part application ...
The first part looks for and says yes to a Python.h
from 2.6, and may or may not compile.
.. The second looks for /usr/bin/python only,
but can't use 2.6 .. needs 2.5 .
.....

Last edited by knudfl; 12-09-2009 at 04:33 AM.
 
  


Reply

Tags
python


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Python YUM Module not found von_vea Linux - General 2 07-28-2009 08:42 PM
bash: python: command not found blueheron66 Programming 12 01-09-2009 03:16 PM
streamtuner, python, gobject not found jiml8 Linux - Software 5 10-06-2006 12:12 PM
pygtk-2.0 not found during install of gnome-python? morrolan Linux - Software 9 02-02-2004 01:13 AM


All times are GMT -5. The time now is 03:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration