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/
$ export LDFLAGS=$CFLAGS
$ export CPPFLAGS=$CFLAGS
$ export CXXFLAGS=$CFLAGS
And then /.configure (mine is:
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 =/ ???