LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-13-2004, 08:11 PM   #1
Gormless
Member
 
Registered: Oct 2004
Distribution: Fedora Core 2, Knoppix
Posts: 105

Rep: Reputation: 15
Question 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!
 
Old 10-13-2004, 10:19 PM   #2
Gormless
Member
 
Registered: Oct 2004
Distribution: Fedora Core 2, Knoppix
Posts: 105

Original Poster
Rep: Reputation: 15
Does no one know how to fix this????
 
Old 10-14-2004, 05:14 AM   #3
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
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
 
Old 10-14-2004, 01:25 PM   #4
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
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,
 
Old 10-14-2004, 03:15 PM   #5
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
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!
 
Old 10-15-2004, 05:30 AM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 10-15-2004, 11:01 AM   #7
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Rep: Reputation: 30
Quote:
Originally posted by Micro420
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!
Not so. Ive compiled many things on Mandrake, all without problem. This includes Superkaramba. Satisfying dependencies can be a pain sometimes. Also, Mdk uses different prefixes that you have to specify when you compile certain things as well.
 
Old 10-15-2004, 12:05 PM   #8
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 10-15-2004, 01:57 PM   #9
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Quote:
Originally posted by Kramer
Not so. Ive compiled many things on Mandrake, all without problem. This includes Superkaramba. Satisfying dependencies can be a pain sometimes. Also, Mdk uses different prefixes that you have to specify when you compile certain things as well.
Really? is that so? Can you name a few programs that you have compiled yourself and maybe you can walk us through how you did it. I've failed to read one Mandrake compiling success story, as I have posted a few questions on compiling popular programs which were never successful. I'm just a little skeptical about compiling in Mandrake, so I apologize if I sound pessimistic. But don't me wrong - I love Mandrake!
 
Old 10-15-2004, 02:03 PM   #10
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Usually the only thing you have to do different for Mandrake compiles is set the --prefix-dir=/usr variable or things like this.
 
Old 10-15-2004, 03:35 PM   #11
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Quote:
Originally posted by opjose
Usually the only thing you have to do different for Mandrake compiles is set the --prefix-dir=/usr variable or things like this.
Hopefully that is all that it needs and this will solve all the unsolved compiling mysteries. I will be upgrading to Mandrake 10.1 as soon as the official version comes out. I will try it then.
 
Old 10-15-2004, 08:09 PM   #12
Gormless
Member
 
Registered: Oct 2004
Distribution: Fedora Core 2, Knoppix
Posts: 105

Original Poster
Rep: Reputation: 15
Thanks alot for the info guys! I'll try it all out, then I'll report back.
 
Old 10-15-2004, 08:50 PM   #13
Gormless
Member
 
Registered: Oct 2004
Distribution: Fedora Core 2, Knoppix
Posts: 105

Original Poster
Rep: Reputation: 15
Quote:
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.
Where exactly did you find this RPM?
 
Old 10-15-2004, 09:12 PM   #14
Gormless
Member
 
Registered: Oct 2004
Distribution: Fedora Core 2, Knoppix
Posts: 105

Original Poster
Rep: Reputation: 15
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?
 
Old 10-15-2004, 09:43 PM   #15
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Rep: Reputation: 30
Quote:
Originally posted by Micro420
Really? is that so? Can you name a few programs that you have compiled yourself and maybe you can walk us through how you did it. I've failed to read one Mandrake compiling success story, as I have posted a few questions on compiling popular programs which were never successful. I'm just a little skeptical about compiling in Mandrake, so I apologize if I sound pessimistic. But don't me wrong - I love Mandrake!
Ive compiled things like GAIM, lm_sensors, Superkaramba, and the like without any problems. Like someone else said, its all about the prefix thing for some reason with Mandrake. Oh, I also have the development packages like Python installed, so that really knocks out alot of dependency issues. Hope that helps
 
  


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
can't install superkaramba help!!! lellyville Linux - Software 1 03-09-2005 07:51 PM
Where did superkaramba install go? randon Linux - General 1 11-08-2003 05:20 PM
Gah! Uber Newbie Distress!!! ferretmanus Linux - Newbie 4 09-13-2003 05:12 PM
Gah! Winmodems and compilers as always slakmagik Linux - Software 8 07-11-2003 11:22 PM
Gah! My mouse is not tracking!!! Severian Linux - General 3 10-23-2001 02:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:40 AM.

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