superkaramba and python
FC2, AMD64
python and python-devel are both installed and are version 2.3.4 python is found in /usr/lib64/python2.3 my kde prefix is /usr I extracted the source and ran Code:
./configure --enable-libsuffix=64 --with-qt-dir=/usr/lib64/qt-3.3/ --with-qt-libraries=/usr/lib64/qt-3.3/lib/ --prefix=`kde-config --prefix` Code:
[whitehole@lumiere superkaramba-0.34]$ make I am supposing that it doesn't see it and that that is why I am getting an error. How do I help it find Python.h? |
I am having the same problem too. The same general setup with FC2 and 64bit arch.
-Z |
Ok, I made symbolic links for everything in the /usr/include/python2.3 directory into just /usr/include but when I run make, I now have a different problem. I get a very large number of errors. In fact, it goes beyond what I have my terminal window scroll to.
Code:
: undefined reference to `PyList_Append' |
solved??
I'm having the same problem... FC3 AMD64, did you solve the problem??
can anybody else help? |
No, I did not.
I hope someone else can take a shot at it, as I never got it to work at all. -- Z |
|
I had the same (FC3-64 - sk0.35) problem (Python.h: No such file or directory), then keefaz told me to do:
Code:
$ export CFLAGS=-I/usr/include/python2.3/ Code:
./configure --with-qt-dir=/usr/lib64/qt-3.3/ --with-qt-includes=/usr/lib64/qt-3.3/include/ --with-qt-libraries=/usr/lib64/qt-3.3/lib/ --with-pythondir=/usr/include/python2.3/ Then the "Python.h: No such file or directory" error went away and something seemed to work as the 'make' went MUCH longer, but after some mins... /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-longundef -pedantic -W -Wpointer-arith -Wmissing-prototypes -ansi -D_XOPEN_SOURCE=500 -D_BSD_URCE -Wcast-align -Wconversion -O2 -I/usr/include/python2.3/ -fno-exceptions -fno-check-n -I/usr/include/python2.3/ -o superkaramba -Wl,-export-dynamic -R /usr/lib64 -R /usr/l64/qt-3.3/lib/ -R /usr/X11R6/lib64 -L/usr/X11R6/lib64 -L/usr/lib64/qt-3.3/lib/ -L/usr/lib main.o karamba.o meter.o bar.o sensor.o datesensor.o textlabel.o memsensor.o uptimessor.o cpusensor.o networksensor.o imagelabel.o graph.o xmmssensor.o programsensor.o diskssor.o sensorparams.o sensorsensor.o textfilesensor.o clickarea.o noatunsensor.o karambaropixmap.o clickmap.o rsssensor.o textfield.o taskmanager.o showdesktop.o richtextlabel.o kambasessionmanaged.o welcomeform.o systemtray.o bar_python.o meter_python.o textlabel_pytn.o richtextlabel_python.o imagelabel_python.o config_python.o misc_python.o systray_pyth.o task_python.o widget_python.o menu_python.o themelistwindow.o karambalistboxitem.o gra_python.o karambainterface.o karambaapp.o karamba_python.o dcopinterface_skel.o dcopinterce_stub.o themelistwindow.moc.o cpusensor.moc.o sensor.moc.o datesensor.moc.o textlabel.m.o programsensor.moc.o bar.moc.o rsssensor.moc.o imagelabel.moc.o richtextlabel.moc.o climap.moc.o sensorsensor.moc.o clickarea.moc.o systemtray.moc.o welcomeform.moc.o disksensomoc.o memsensor.moc.o meter.moc.o xmmssensor.moc.o networksensor.moc.o graph.moc.o textfisensor.moc.o -lkio -lXpm -lkdeui bar_python.o(.text+0x5c8): In function `py_getBarImage(_object*, _object*)': : undefined reference to `PyArg_ParseTuple' bar_python.o(.text+0x617): In function `py_getBarImage(_object*, _object*)': : undefined reference to `Py_BuildValue' ... ... ... karamba_python.o(.text+0x705): In function `KarambaPython::menuOptionChanged(karamba*, QSing, bool)': : undefined reference to `Py_BuildValue' karamba_python.o(.text+0x73c): In function `KarambaPython::menuItemClicked(karamba*, KPopMenu*, long)': : undefined reference to `Py_BuildValue' karamba_python.o(.text+0x76c): more undefined references to `Py_BuildValue' follow karamba_python.o(.text+0x1f): In function `KarambaPython::initPython()': : undefined reference to `PyEval_ReleaseLock' karamba_python.o(.text+0x51): In function `KarambaPython::getLock(_ts**)': : undefined reference to `PyThreadState_Swap' karamba_python.o(.text+0x86): In function `KarambaPython::shutdownPython()': : undefined reference to `Py_Finalize' karamba_python.o(.text+0xad): In function `KarambaPython::releaseLock(_ts*)': : undefined reference to `PyEval_ReleaseLock' collect2: ld returned 1 exit status make[3]: *** [superkaramba] Error 1 make[3]: Leaving directory `/home/aaa/tmp/local/src/superkaramba-0.35/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/aaa/tmp/local/src/superkaramba-0.35/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/aaa/tmp/local/src/superkaramba-0.35' make: *** [all] Error 2 can Anybody help =/ ??? |
All times are GMT -5. The time now is 10:00 AM. |