Gah! Superkaramba won't install! Plz Help!!!
Hello! I'm trying to install Superkaramba on KDE 3.2 running on Mandrake 10.0. I downloaded the tar.gz file and unzipped it to its own folder:
tar xvzf superkaramba-0.34-1.tar.gz Then changed directories to its folder: cd superkaramba-0.34 After that, I configured it as per the instructions: ./configure --prefix=/usr That went along fine, so I then typed in "make": make And this is what happened: Good - your configure finished. Start make now [matt@localhost superkaramba-0.34]$ make make all-recursive make[1]: Entering directory `/home/matt/Documents/superkaramba-0.34' Making all in doc make[2]: Entering directory `/home/matt/Documents/superkaramba-0.34/doc' Making all in . make[3]: Entering directory `/home/matt/Documents/superkaramba-0.34/doc' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/matt/Documents/superkaramba-0.34/doc' Making all in en make[3]: Entering directory `/home/matt/Documents/superkaramba-0.34/doc/en' /usr/bin/meinproc --check --cache index.cache.bz2 ./index.docbook make[3]: Leaving directory `/home/matt/Documents/superkaramba-0.34/doc/en' make[2]: Leaving directory `/home/matt/Documents/superkaramba-0.34/doc' Making all in po make[2]: Entering directory `/home/matt/Documents/superkaramba-0.34/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/matt/Documents/superkaramba-0.34/po' Making all in src make[2]: Entering directory `/home/matt/Documents/superkaramba-0.34/src' make[3]: Entering directory `/home/matt/Documents/superkaramba-0.34/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 -f ".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:24: karamba.h:5:20: Python.h: No such file or directory In file included from karamba.h:57, from main.cpp:24: imagelabel.h:12:20: Python.h: No such file or directory In file included from imagelabel.h:24, from karamba.h:57, from main.cpp:24: karamba.h:5:20: Python.h: No such file or directory In file included from main.cpp:24: karamba.h:191: error: syntax error before `*' token karamba.h:192: error: syntax error before `*' token main.cpp:44: error: syntax error before `*' token main.cpp: In function `int main(int, char**)': main.cpp:100: error: `Py_Initialize' undeclared (first use this function) main.cpp:100: error: (Each undeclared identifier is reported only once for each function it appears in.) main.cpp:103: error: `PyEval_InitThreads' undeclared (first use this function) main.cpp:105: error: `mainThreadState' undeclared (first use this function) main.cpp:108: error: `PyThreadState_Get' undeclared (first use this function) main.cpp:111: error: `PyEval_ReleaseLock' undeclared (first use this function) main.cpp:141: error: `PyInterpreterState' undeclared (first use this function) main.cpp:141: error: `mainInterpreterState' undeclared (first use this function) main.cpp:143: error: `PyThreadState' undeclared (first use this function) main.cpp:143: error: `myThreadState' undeclared (first use this function) main.cpp:143: error: `PyThreadState_New' undeclared (first use this function) main.cpp:144: error: `PyThreadState_Swap' undeclared (first use this function) main.cpp:145: error: `PyEval_AcquireLock' undeclared (first use this function) main.cpp:146: error: `Py_Finalize' undeclared (first use this function) make[3]: *** [main.o] Error 1 make[3]: Leaving directory `/home/matt/Documents/superkaramba-0.34/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/matt/Documents/superkaramba-0.34/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/matt/Documents/superkaramba-0.34' make: *** [all] Error 2 [matt@localhost superkaramba-0.34]$ :( I have absolutely no idea how to go about trying to fix it from here. Any ideas? I'm new to linux, so Step-by-Step instructions to help me get this working would be perfect! Thanks! :newbie: |
Does no one know how to fix this????
|
2 quick suggestions (gotta get to work).........
try running configure like............. ./configure --prefix=/usr/share Mandrake default installs Superkaramba to that directory. then run make, etc. or............. set up cooker "main" & cooker "contrib" sources via Easy URPMI & get the Superkaramba rpm. even though it's cooker, it works just fine. if you go this route, please beware not all cooker apps are this stable, so use any others at your own risk. otis |
Based on what I see in the make report, the python package needs to be installed. It is also possible you need to tell make where to find python. There may be other errors, but this is the first one I saw.
HTH, |
My perseonal experience with Mandrake in compiling is that it's NOT going to work, even if you have everything it needs.
There is a Superkaramba RPM out there as that is how I installed Superkaramba. However, if you are really determined to compile this, I wish you luck! |
Setup your urpmi sources properly.
See this page: http://www.zebulon.org.uk then as root. urpmi superkaramba Done. Avoid compiling things as usually this will break dependancies. First use the above technique to see if the item is already available in a distro specific version. ONLY if it is not otherwise available try the compilation route, and remember that often the package will require items not installed on your system. As such it is always better to obtain the .src.rpm for the package you want to install then rpm --rebuild PACKAGENAME.src.rpm which will list those requirements and/or build it if possible. You can then urpmi any missing packages or libraries without trashing your system with errant libs and files. |
Quote:
|
All the more reasons to either use the mdk.rpm's which are all available or at VERY worst, the src.rpm's if you really want to compile it yourself.
|
Quote:
|
Usually the only thing you have to do different for Mandrake compiles is set the --prefix-dir=/usr variable or things like this.
|
Quote:
|
Thanks alot for the info guys! I'll try it all out, then I'll report back.
|
Quote:
|
I tried using an mdk rpm cooker to install Superkaramba. After downloading the file, I opened it with "Software Installer" and proceeded to install. Software installer told me:
Some package requested cannot be installed: superkaramba-0.34-1mdk.i586 (due to unsatisfied xmmsctrl) do you agree ? What exactly is xmmsctrl and how can I fix it? |
Quote:
|
All times are GMT -5. The time now is 06:52 AM. |