LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-19-2004, 09:35 AM   #1
Ian
Member
 
Registered: Feb 2004
Distribution: Mandrake 9.2
Posts: 35

Rep: Reputation: 15
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
 
Old 03-19-2004, 10:09 AM   #2
Lostman
Member
 
Registered: Nov 2003
Location: Chicago, IL
Posts: 238

Rep: Reputation: 30
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.
 
Old 03-19-2004, 10:16 AM   #3
Marc A
Member
 
Registered: Mar 2004
Location: Bxl Europe
Distribution: Debian/Ubuntu
Posts: 84

Rep: Reputation: 15
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
 
Old 03-20-2004, 12:26 PM   #4
Ian
Member
 
Registered: Feb 2004
Distribution: Mandrake 9.2
Posts: 35

Original Poster
Rep: Reputation: 15
Thumbs up 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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Two questions, 1 about "GOK" and the other about "Super Karamba" Matt.Ramos Linux - Software 0 07-14-2004 10:57 PM
Error "make: *** No rule to make target `install'. Stop." help Ohmn Mandriva 8 07-02-2004 08:02 PM
error running "make" and "arkollonrc"... Toro Linux - Software 1 04-19-2004 01:24 AM
help with "make" error "Missing seperator" hrishikesh Linux - Software 1 07-18-2003 02:40 AM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 04:31 PM


All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration