Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
hey, i just got the new super karamba 0.34.. i had .32 and i installed that using the RPM package..
Anyways, i'm really frustrated, ive *never* had a successful compile ever. Nothing works.
When i do ./configure it works all good, but when i 'make' it gives me this:
Code:
mark@user379:~/applications/superkaramba-0.34> make
make all-recursive
make[1]: Entering directory `/home/mark/applications/superkaramba-0.34'
Making all in doc
make[2]: Entering directory `/home/mark/applications/superkaramba-0.34/doc'
Making all in .
make[3]: Entering directory `/home/mark/applications/superkaramba-0.34/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/mark/applications/superkaramba-0.34/doc'
Making all in en
make[3]: Entering directory `/home/mark/applications/superkaramba-0.34/doc/en'
/opt/kde3/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
make[3]: Leaving directory `/home/mark/applications/superkaramba-0.34/doc/en'
make[2]: Leaving directory `/home/mark/applications/superkaramba-0.34/doc'
Making all in po
make[2]: Entering directory `/home/mark/applications/superkaramba-0.34/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mark/applications/superkaramba-0.34/po'
Making all in src
make[2]: Entering directory `/home/mark/applications/superkaramba-0.34/src'
make[3]: Entering directory `/home/mark/applications/superkaramba-0.34/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -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/mark/applications/superkaramba-0.34/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mark/applications/superkaramba-0.34/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mark/applications/superkaramba-0.34'
make: *** [all] Error 2
it's really discouraging when i can't even install programs....
so i guess you are using some sort of redhat (fedora) or something else that uses rpm's
well with rpm's you need to install the devel[opment] rpm's to get the header file's and stuff
your install is missing the Python.h file which should be in the python devel package
from what i've know most of those devel rpm's arent installed
so that could be the reason that you have never 'successful compile'd an programme
just read the readme/install file when you want to install something and read about the dependency's
then install the devel files of the depending packages and i guess you will have more successfull builds
Those are just warnings. gcc will still compile your program. When you see a number (line number) and colon then you will have errors during compiling. I'm sure you have karamba install and you do not even know it. Using the find command that explained my previous post will help find it.
According to the output from your make install, it got installed as:
/usr/local/kde/bin/superkaramba
so typing that should run it....or add /usr/local/kde/bin to your path, if it isn't already in it (do echo $PATH to find out)
user379:/usr/local/kde/share/apps # /usr/local/kde/bin/superkaramba
Xlib: connection to ":0.0" refused by server
Xlib: Invalid XDM-AUTHORIZATION-1 key (failed key comparison)
superkaramba: cannot connect to X server :0.0
user379:/usr/local/kde/share/apps #
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.