ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been trying to build breve in my ubuntu system.
After compile, the make returns error like follows,
g++ -Iinclude/breve -DHAVE_CONFIG_H -g -g -O2 -pipe -Wall -fpermissive -c -o steve/steveFrontend.o steve/steveFrontend.cc
In file included from steve/steveFrontend.cc:6:
include/breve/pythonFrontend.h:9:20: error: Python.h: No such file or directory
In file included from steve/steveFrontend.cc:4:
include/breve/errorText.h:59: warning: deprecated conversion from string constant to ‘char*’
I've checked that I have python2.4 and python2.5 in my usr/include
I think g++ should have go through that path to find the python.h file.
I've been trying to build breve in my ubuntu system.
After compile, the make returns error like follows,
g++ -Iinclude/breve -DHAVE_CONFIG_H -g -g -O2 -pipe -Wall -fpermissive -c -o steve/steveFrontend.o steve/steveFrontend.cc
In file included from steve/steveFrontend.cc:6:
include/breve/pythonFrontend.h:9:20: error: Python.h: No such file or directory
In file included from steve/steveFrontend.cc:4:
include/breve/errorText.h:59: warning: deprecated conversion from string constant to ‘char*’
I've checked that I have python2.4 and python2.5 in my usr/include
I think g++ should have go through that path to find the python.h file.
Anybody can help?
Henry
You not only need Python installed, but the python development libraries too. That's probably where python.h is.
I've installed python-dev. The terminal still replies the same........
Do a "rpm -ql <name of python-dev package> | grep Python.h". Is it there? You can also try (as root) "find / -name Python.h", and see where it is on disk.
If you do have the Python.h file present, try to run the configure again, with "./configure --help", or something like that (read the docs). There will probably be an option to specify where the Python dev libraries are.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.