Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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 ).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.