[gobolinux-users] Python.h not found during make

Peter Eriksen s022018 at student.dtu.dk
Sat Nov 13 09:02:02 GMT 2004


Hello Gobo Users,

Compilation of SuperKaramba--0.33--recipe.tar.bz2 fails with
the beneath message.  I think, that it can't find the Python.h
header file and thus will find the Python functions undeclared.
That is odd, because I seem to have the header file: 

peter at eigil ~]ls -l /System/Links/Headers/python2.3/Python.h
lrwxrwxrwx  1 gobo gobo 49 2004-11-13 09:48 /System/Links/Headers/python2.3/Python.h -> /Programs/Python/2.3.4/include/python2.3/Python.h

I have tried with Python 2.3.3 and 2.3.4 and SuperKaramba 0.33
and 0.34 with the same result.

Any suggestions on how to tell Compile about Python.h?

Regards,

Peter 


===========================================================

main.cpp:6:20: Python.h: No such file or directory
In file included from main.cpp:24:
karamba.h:5:20: Python.h: No such file or directory
In file included from karamba.h:57,
                 from main.cpp:24:
imagelabel.h:12:20: Python.h: No such file or directory
In file included from imagelabel.h:24,
                 from karamba.h:57,
                 from main.cpp:24:
karamba.h:5:20: Python.h: No such file or directory
In file included from main.cpp:24:
karamba.h:191: error: syntax error before `*' token
karamba.h:192: error: syntax error before `*' token
main.cpp:44: error: syntax error before `*' token
main.cpp: In function `int main(int, char**)':
main.cpp:100: error: `Py_Initialize' undeclared (first use this function)
main.cpp:100: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
main.cpp:103: error: `PyEval_InitThreads' undeclared (first use this function)
main.cpp:105: error: `mainThreadState' undeclared (first use this function)
main.cpp:108: error: `PyThreadState_Get' undeclared (first use this function)
main.cpp:111: error: `PyEval_ReleaseLock' undeclared (first use this function)
main.cpp:141: error: `PyInterpreterState' undeclared (first use this function)
main.cpp:141: error: `mainInterpreterState' undeclared (first use this
   function)
main.cpp:143: error: `PyThreadState' undeclared (first use this function)
main.cpp:143: error: `myThreadState' undeclared (first use this function)
main.cpp:143: error: `PyThreadState_New' undeclared (first use this function)
main.cpp:144: error: `PyThreadState_Swap' undeclared (first use this function)
main.cpp:145: error: `PyEval_AcquireLock' undeclared (first use this function)
main.cpp:146: error: `Py_Finalize' undeclared (first use this function)
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/Files/Compile/Sources/superkaramba-0.34/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/Files/Compile/Sources/superkaramba-0.34/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Files/Compile/Sources/superkaramba-0.34'
make: *** [all] Error 2
Compile: Build process failed.



More information about the gobolinux-users mailing list