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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-08-2009, 02:58 PM
|
#1
|
|
LQ Newbie
Registered: Nov 2009
Posts: 26
Rep:
|
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
|
|
|
|
12-08-2009, 03:31 PM
|
#2
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,762
|
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.
|
|
|
|
12-08-2009, 04:22 PM
|
#3
|
|
LQ Newbie
Registered: Nov 2009
Posts: 26
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
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 ?
|
|
|
|
12-08-2009, 04:37 PM
|
#4
|
|
LQ Newbie
Registered: Nov 2009
Posts: 26
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
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
|
|
|
|
12-08-2009, 05:19 PM
|
#5
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,762
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:18 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|