New issue 3 by dan.harkness: Python.h not recognized
http://code.google.com/p/msgbus/issues/detail?id=3
What steps will reproduce the problem?
1. run ./configure
2. run make
3.
What is the expected output? What do you see instead?
This should compile the code and prepare for a make install
What version of the product are you using? On what operating system?
Version 0.1 on Ubuntu 8.04
Please provide any additional information below.
make results in a large series of errors beginning with the following:
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-
prototypes -fPIC -I.. -I../src -I -I/usr/include/python2.5 -c evmsg.c -o
build/temp.linux-x86_64-2.5/evmsg.o
evmsg.c:4:20: error: Python.h: No such file or directory
evmsg.c:5:26: error: structmember.h: No such file or directory
I have checked, and both Python.h and structmember.h are in
the /usr/include/python2.5 directory
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
This appears to fix it (courtesy of Bachstelze on the Ubuntu forums):
make CFLAGS=-I/usr/include/python2.5/
See this link for a copy of the forum discussion resulting in the answer:
http://ubuntuforums.org/showthread.php?p=8041025