Does anyone manage to compile superkaramba ?
I am trying to compile it, and althought ./configure ends ok
after make
Python.h: No such file or directory
This error appears.
I have installed Python-devel packages.
--
Marios K.
On Mon, Mar 07, 2005 at 03:30:43PM +0200, Marios K. wrote:
Does anyone manage to compile superkaramba ? I am trying to compile it, and althought ./configure ends ok after make Python.h: No such file or directory This error appears. I have installed Python-devel packages.
Most likely you don't have /usr/include/python2.3 (or whatever Python version you have) in your include search path. I don't know about the mentioned program but configure script use to have an option to specify where to lookup libraries. If this is the case for your program specify the Python directory there. Robert -- Robert Schiele Tel.: +49-621-181-2214 Dipl.-Wirtsch.informatiker mailto:rschiele@uni-mannheim.de
Most likely you don't have /usr/include/python2.3 (or whatever Python version
No, python is in the include dir
Here is the output from configure script
checking for Python2.3... header /usr/include/python2.3 library no
modules no
--
Marios K.
On Mon, Mar 07, 2005 at 03:54:36PM +0200, Marios K. wrote:
Most likely you don't have /usr/include/python2.3 (or whatever Python version
No, python is in the include dir Here is the output from configure script checking for Python2.3... header /usr/include/python2.3 library no modules no
Well, does the failing call to the compiler actually specify -I/usr/include/python2.3 as an option? If not this is a bug in the Makefile of the respective application. Robert -- Robert Schiele Tel.: +49-621-181-2214 Dipl.-Wirtsch.informatiker mailto:rschiele@uni-mannheim.de
I have exactly the same problem. When I do the ./configure this is on the Python line. ================================= checking for Python directory... /usr/local checking for Python2.3... header /usr/include/python2.3 library no modules no ================================= It does complete and say good ./configure complete. Now run make. Make complains about Python.h which is present in /user/local/python2.3. I had just set the install aside until I saw this. David Marios K. wrote:
Does anyone manage to compile superkaramba ? I am trying to compile it, and althought ./configure ends ok after make Python.h: No such file or directory This error appears. I have installed Python-devel packages.
David wrote:
I have exactly the same problem. When I do the ./configure this is on the Python line. ================================= checking for Python directory... /usr/local checking for Python2.3... header /usr/include/python2.3 library no modules no ================================= You need --with-pythondir=/usr/lib64 -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
Joe, I tried that switch and had exactly the same result. Here is the end of my make output. I have all the python rpms installed, I think, anyway I for sure have python and devel. Thank you for your input. ============================================== -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; \ else rm -f ".deps/main.Tpo"; exit 1; \ fi In file included from main.cpp:5: karambaapp.h:14:20: Python.h: No such file or directory In file included from main.cpp:19: karamba.h:8:20: Python.h: No such file or directory In file included from karamba.h:56, from main.cpp:19: imagelabel.h:26:20: Python.h: No such file or directory In file included from main.cpp:22: karamba_python.h:28:20: Python.h: No such file or directory In file included from main.cpp:22: karamba_python.h:44: error: syntax error before `*' token karamba_python.h:45: error: syntax error before `*' token karamba_python.h:46: error: ISO C++ forbids declaration of `PyThreadState' with no type karamba_python.h:46: error: syntax error before `*' token karamba_python.h:48: error: `myThreadState' was not declared in this scope karamba_python.h:48: error: invalid data member initialization karamba_python.h:48: error: (use `=' to initialize static data members) karamba_python.h:48: error: variable or field `getLock' declared void karamba_python.h:49: error: syntax error before `*' token karamba_python.h:50: error: `myThreadState' was not declared in this scope karamba_python.h:50: error: invalid data member initialization karamba_python.h:50: error: variable or field `releaseLock' declared void karamba_python.h:51: error: type specifier omitted for parameter `PyObject' karamba_python.h:51: error: syntax error before `*' token make[3]: *** [main.o] Error 1 make[3]: Leaving directory `/home/david/program-files/superkaramba-0.35/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/david/program-files/superkaramba-0.35/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/david/program-files/superkaramba-0.35' make: *** [all] Error 2 Joe Morris (NTM) wrote:
David wrote:
I have exactly the same problem. When I do the ./configure this is on the Python line. ================================= checking for Python directory... /usr/local checking for Python2.3... header /usr/include/python2.3 library no modules no =================================
You need --with-pythondir=/usr/lib64
Joe, I tried that switch and had exactly the same result.
You need --with-pythondir=/usr/lib64 That's weird. I grabbed suser-guru src rpm for the subject, and that was basically all I needed to change to get it to build. If you want, you can try the rpm in my apt repository at http://ftp.gwdg.de/pub/linux/misc/suser-jmorris/suse92/ . Please let me know if there are problems with it, as to be honest I haven't/don't use
David wrote: this package. HTH -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
participants (4)
-
David
-
Joe Morris (NTM)
-
Marios K.
-
Robert Schiele