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.
please forgive me, I have been sitting here -a linux noob- trying to install super karamba for 13 hours. I finally get to the point where I type in "make". It runs through then says I do not have python. So I try to install it with the installer and I get "insert disk 4", I have no disk 4 and can not find one. I even spent 3 hours trying to find the python rpm, and when I finally did it started installing then after several minutes asked for disk 4 again. I am literally about to go insane. How in gods name do I find this "disk4", why doesn't mandrake just say "we need disk 4 to continue to instal xxxxx.rpm, or would you like to browse to this rpm?" then atleast I could download it and use it. I AM IN LINUX NOOBIE HELL!
Disk 4 is about 700 mb of extra packages(programs) that only comes with community (or club?, Im a newbie too)membership. Here's a couple links you can download the ISO from:
If you have a slow conection and you dont want to mess around downloading , you can hit cancel when install asks for disk 4, and add whatever packages you may need later, theyre readily available for download, just look for what you need with google. Here's one to start with:
Happy Linuxing, I've only had Linux up and running for a couple weeks, I don't know squat, and I'm already hooked! (I have WinXP on my Primary drive along with Linux, and Win98 on a slave drive and I havent been back to either one since. Except for once when I screwed up my serial port config and had to use Win to get online and find some answers.)
hmm, can anyone advise how to install python without needing disk4? I am extremely clueless so more detail the better. do i just download a python tar.gz and run ./config or something? if so where would they be? thanks
There should be install instructions in the tar file, or you might want to try and find Python in an rpm, just click the package and let it do the work.
Hi i found python source, unzipped it, did ./config then make then make install
It seems to have installed python. Now when I go back to superkaramba and type "make" I get this, any ideas? and detailed ideas if posible. thanks!
Quote:
make[1]: Entering directory `/home/sean/superkaramba/superkaramba-0.33'
Making all in doc
make[2]: Entering directory `/home/sean/superkaramba/superkaramba-0.33/doc'
Making all in .
make[3]: Entering directory `/home/sean/superkaramba/superkaramba-0.33/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/sean/superkaramba/superkaramba-0.33/doc'
Making all in en
make[3]: Entering directory `/home/sean/superkaramba/superkaramba-0.33/doc/en'
make[3]: Circular index.cache.bz2 <- index.cache.bz2 dependency dropped.
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/sean/superkaramba/superkaramba-0.33/doc/en'
make[2]: Leaving directory `/home/sean/superkaramba/superkaramba-0.33/doc'
Making all in po
make[2]: Entering directory `/home/sean/superkaramba/superkaramba-0.33/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sean/superkaramba/superkaramba-0.33/po'
Making all in src
make[2]: Entering directory `/home/sean/superkaramba/superkaramba-0.33/src'
make[3]: Entering directory `/home/sean/superkaramba/superkaramba-0.33/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:24,
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:188: error: syntax error before `*' token
karamba.h:189: 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/sean/superkaramba/superkaramba-0.33/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sean/superkaramba/superkaramba-0.33/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sean/superkaramba/superkaramba-0.33'
make: *** [all] Error 2
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
a lot of packages don't have uninstall routines built in. i guess you'll just have 2 copies of python installed. do the rest of that stuff regardless.
it will install python in /usr instead of /usr/local which often makes building packages much easier.
configure --prefix=/usr
make
make install
then
ldconfig
then try your superkaramba
went back to the superkaramba directory and typed "make" and got the following:
Quote:
[root@ross superkaramba-0.33]# make
make all-recursive
make[1]: Entering directory `/home/sean/superkaramba/superkaramba-0.33'
Making all in doc
make[2]: Entering directory `/home/sean/superkaramba/superkaramba-0.33/doc'
Making all in .
make[3]: Entering directory `/home/sean/superkaramba/superkaramba-0.33/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/sean/superkaramba/superkaramba-0.33/doc'
Making all in en
make[3]: Entering directory `/home/sean/superkaramba/superkaramba-0.33/doc/en'
make[3]: Circular index.cache.bz2 <- index.cache.bz2 dependency dropped.
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/sean/superkaramba/superkaramba-0.33/doc/en'
make[2]: Leaving directory `/home/sean/superkaramba/superkaramba-0.33/doc'
Making all in po
make[2]: Entering directory `/home/sean/superkaramba/superkaramba-0.33/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sean/superkaramba/superkaramba-0.33/po'
Making all in src
make[2]: Entering directory `/home/sean/superkaramba/superkaramba-0.33/src'
make[3]: Entering directory `/home/sean/superkaramba/superkaramba-0.33/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:24,
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:188: error: syntax error before `*' token
karamba.h:189: 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/sean/superkaramba/superkaramba-0.33/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sean/superkaramba/superkaramba-0.33/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sean/superkaramba/superkaramba-0.33'
make: *** [all] Error 2
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
whenever you change stuff like that, you should remove the config.cache file in what you are trying to compile, then configure again.
this time try
configure --prefix=/usr
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.