This is a discussion on libnewt compilation within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi Guys, The OP in http://groups.google.co.nz/group/alt...20make&rnum=1& ran into a problem compiling newt and didn't really get much help with ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi Guys, The OP in http://groups.google.co.nz/group/alt...20make&rnum=1& ran into a problem compiling newt and didn't really get much help with the actual problem. The problem is/was that snackmodule.c has an #include "Python.h" and it appears that that can't be found by the compiler. Modifying it to #include "/usr/include/python2.4/Python.h" fixed the compilation for me (your path may vary). Cheers, Andrej |
| |||
| On 20 Sep 2005 16:14:36 -0700, tink <andrej.groups@gmail.com> wrote: | Hi Guys, | | The OP in | http://groups.google.co.nz/group/alt...20make&rnum=1& | ran into a problem compiling newt and didn't really get much help | with the actual problem. | | The problem is/was that snackmodule.c has an | #include "Python.h" | and it appears that that can't be found by the compiler. | | Modifying it to | #include "/usr/include/python2.4/Python.h" | fixed the compilation for me (your path may vary). | | | Cheers, | Andrej I've modified the References header so that the above information should be archived by Google in the original thread. (I hope.) -- Mark Hill |
| ||||
| tink <andrej.groups@gmail.com> wrote: > Modifying it to > #include "/usr/include/python2.4/Python.h" Just "python2.4/Python.h" should already have done it (/usr/include) is searched by default) or otherwise add a "-I/usr/include/python2.4" to the compile options (in most Makefiles: CFLAGS variable). -- ************************************************** ****************** ** Eef Hartman, Delft University of Technology, dept. EWI/TW ** ** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 ** ** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands ** ************************************************** ****************** |