LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Super Karamba Installation: error at "make" (https://www.linuxquestions.org/questions/linux-newbie-8/super-karamba-installation-error-at-make-159783/)

Ian 03-19-2004 08:35 AM

Super Karamba Installation: error at "make"
 
Hi,

I've been trying to install Super Karamba on Mandrake 9.2 and can't get the "make" command to work. So far I've installed the necessary RPMs ( libart_lgpl, qt-devel, kdelibs-devel) and autoconf-2.5. I ran "./configure" for super karamba, and it worked: there were no errors. But when I type in "make", I get the following:

[root@localhost karamba-0.32b]# make
make all-recursive
make[1]: Entering directory `/home/jonesey/karamba-0.32b'
Making all in doc
make[2]: Entering directory `/home/jonesey/karamba-0.32b/doc'
Making all in .
make[3]: Entering directory `/home/jonesey/karamba-0.32b/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/jonesey/karamba-0.32b/doc'
Making all in en
make[3]: Entering directory `/home/jonesey/karamba-0.32b/doc/en'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/jonesey/karamba-0.32b/doc/en'
make[2]: Leaving directory `/home/jonesey/karamba-0.32b/doc'
Making all in po
make[2]: Entering directory `/home/jonesey/karamba-0.32b/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/jonesey/karamba-0.32b/po'
Making all in src
make[2]: Entering directory `/home/jonesey/karamba-0.32b/src'
make[3]: Entering directory `/home/jonesey/karamba-0.32b/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3//include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -pedantic -W -Wpointer-arith -Wmissing-prototypes -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -MT main.o -MD -MP -MF ".deps/main.Tpo" \
-c -o main.o `test -f 'main.cpp' || echo './'`main.cpp; \
then mv ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
main.cpp:6:20: Python.h: No such file or directory
In file included from main.cpp:22:
karamba.h:5:20: Python.h: No such file or directory
In file included from karamba.h:57,
from main.cpp:22:
imagelabel.h:12:20: Python.h: No such file or directory
In file included from imagelabel.h:23,
from karamba.h:57,
from main.cpp:22:
karamba.h:5:20: Python.h: No such file or directory
In file included from main.cpp:22:
karamba.h:187: error: syntax error before `*' token
karamba.h:188: error: syntax error before `*' token
main.cpp:39: error: syntax error before `*' token
main.cpp: In function `int main(int, char**)':
main.cpp:81: error: `Py_Initialize' undeclared (first use this function)
main.cpp:81: error: (Each undeclared identifier is reported only once for each function it appears in.)
main.cpp:84: error: `PyEval_InitThreads' undeclared (first use this function)
main.cpp:86: error: `mainThreadState' undeclared (first use this function)
main.cpp:89: error: `PyThreadState_Get' undeclared (first use this function)
main.cpp:92: error: `PyEval_ReleaseLock' undeclared (first use this function)
main.cpp:122: error: `PyInterpreterState' undeclared (first use this function)
main.cpp:122: error: `mainInterpreterState' undeclared (first use this function)
main.cpp:124: error: `PyThreadState' undeclared (first use this function)
main.cpp:124: error: `myThreadState' undeclared (first use this function)
main.cpp:124: error: `PyThreadState_New' undeclared (first use this function)
main.cpp:125: error: `PyThreadState_Swap' undeclared (first use this function)
main.cpp:126: error: `PyEval_AcquireLock' undeclared (first use this function)
main.cpp:127: error: `Py_Finalize' undeclared (first use this function)
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/home/jonesey/karamba-0.32b/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jonesey/karamba-0.32b/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jonesey/karamba-0.32b'
make: *** [all] Error 2


What do I need to do now?

Thanks!

Ian

Lostman 03-19-2004 09:09 AM

I always had a hell of a time trying to put SK on MDK 9.2. Even after all the error messeges, I'd open up my home folder, show all hidden files and it was in there. Or go to your run command and type superkaramba. Still might work despite all the errors.

I just can't figure out a way to have it reappear when I restart x. I always have to load everything up manually after reboot.

Marc A 03-19-2004 09:16 AM

Seems to me you lack something called Python.h. Try to find information about that and keep the facts relevant with Super Karamba.

Good luck. Marc A

Ian 03-20-2004 11:26 AM

Works
 
I don't know if this is considered a "cop-out" in the linux world, but I downloaded the superkaramba rpm and then installed that. First, it told me that I needed to install the xmmsctrl rpm, so I did that and then SK installed without a hitch. I am now running an osxbar tuxbar theme and it's working perfectly. I don't need to reload it when mandrake starts up because it seems that mandrake always restarts programs that were running when it was shut down.

About the automatic restart of SK: if SK doesn't start up automatically, you can go the folder /home/myusername/.kde/Autostart. Then make a new "Link to Application" and put <path to superkaramba> <path to theme> in the "command" field and it will start up your application on startup. That works for me, but when I restart with this link, Mandrake first starts up SK and then the link starts up SK again, which makes SK behave strangely (i.e. the icons in the osxbar move spontaneously ).

Thanks for your help!

Ian


All times are GMT -5. The time now is 06:46 AM.