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


Reply
  Search this Thread
Old 09-22-2004, 10:10 AM   #1
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
getting really frustrated...


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....
 
Old 09-22-2004, 10:17 AM   #2
milir
Member
 
Registered: Jan 2004
Location: IL,USA
Distribution: Solaris 8,9,FedoraCore2,Mandrake10,Knoppix,RedHat9
Posts: 42

Rep: Reputation: 15
"main.cpp:6:20: Python.h: No such file or directory
In file included from main.cpp:24:"

I believe you would need python installed
 
Old 09-22-2004, 10:19 AM   #3
skeruno
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
owkej its very plain simple :)
for me it is

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

greetings
skeruno
 
Old 09-22-2004, 10:21 AM   #4
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
ah ok, still a noob, but learning

What do i want to do if i want to uninstall a program completly from linux? (i believe from /usr/bin?)

i think you can't with compiled programs?
 
Old 09-22-2004, 10:31 AM   #5
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
ok i'm lost
i did make
and it did a lot of stuff that looked not good... heh

but whatever, i did make install as root and i got this

Code:
user379:/home/mark/applications/superkaramba-0.34 # make install
Making install in doc
make[1]: Entering directory `/home/mark/applications/superkaramba-0.34/doc'
Making install in .
make[2]: Entering directory `/home/mark/applications/superkaramba-0.34/doc'
make[3]: Entering directory `/home/mark/applications/superkaramba-0.34/doc'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/mark/applications/superkaramba-0.34/doc'
make[2]: Leaving directory `/home/mark/applications/superkaramba-0.34/doc'
Making install in en
make[2]: Entering directory `/home/mark/applications/superkaramba-0.34/doc/en'
make[3]: Entering directory `/home/mark/applications/superkaramba-0.34/doc/en'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../admin/mkinstalldirs /usr/local/kde/share/doc/HTML/en/karamba
mkdir -p -- /usr/local/kde/share/doc/HTML/en/karamba
/usr/bin/install -c -p -m 644 index.docbook /usr/local/kde/share/doc/HTML/en/karamba/index.docbook
/bin/sh ../../admin/mkinstalldirs /usr/local/kde/share/doc/HTML/en/karamba
/usr/bin/install -c -p -m 644 index.cache.bz2 /usr/local/kde/share/doc/HTML/en/karamba/
rm -f /usr/local/kde/share/doc/HTML/en/karamba/common
ln -s /opt/kde3/share/doc/HTML/en/common /usr/local/kde/share/doc/HTML/en/karamba/common
make[3]: Leaving directory `/home/mark/applications/superkaramba-0.34/doc/en'
make[2]: Leaving directory `/home/mark/applications/superkaramba-0.34/doc/en'
make[1]: Leaving directory `/home/mark/applications/superkaramba-0.34/doc'
Making install in po
make[1]: Entering directory `/home/mark/applications/superkaramba-0.34/po'
make[2]: Entering directory `/home/mark/applications/superkaramba-0.34/po'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/mark/applications/superkaramba-0.34/po'
make[1]: Leaving directory `/home/mark/applications/superkaramba-0.34/po'
Making install in src
make[1]: Entering directory `/home/mark/applications/superkaramba-0.34/src'
make[2]: Entering directory `/home/mark/applications/superkaramba-0.34/src'
make[3]: Entering directory `/home/mark/applications/superkaramba-0.34/src'
/bin/sh ../admin/mkinstalldirs /usr/local/kde/bin
mkdir -p -- /usr/local/kde/bin
  /bin/sh ../libtool --silent --mode=install /usr/bin/install -c -p  superkaramba /usr/local/kde/bin/superkaramba
/bin/sh ../admin/mkinstalldirs /usr/local/kde/share/applnk/Utilities
mkdir -p -- /usr/local/kde/share/applnk/Utilities
 /usr/bin/install -c -p -m 644 karamba.desktop /usr/local/kde/share/applnk/Utilities/karamba.desktop
/bin/sh ../admin/mkinstalldirs /usr/local/kde/share/apps/superkaramba
mkdir -p -- /usr/local/kde/share/apps/superkaramba
 /usr/bin/install -c -p -m 644 karambaui.rc /usr/local/kde/share/apps/superkaramba/karambaui.rc
make[3]: Leaving directory `/home/mark/applications/superkaramba-0.34/src'
make[2]: Leaving directory `/home/mark/applications/superkaramba-0.34/src'
make[1]: Leaving directory `/home/mark/applications/superkaramba-0.34/src'
make[1]: Entering directory `/home/mark/applications/superkaramba-0.34'
make[2]: Entering directory `/home/mark/applications/superkaramba-0.34'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/mark/applications/superkaramba-0.34'
make[1]: Leaving directory `/home/mark/applications/superkaramba-0.34'
user379:/home/mark/applications/superkaramba-0.34 # superkaramba
bash: superkaramba: command not found
 
Old 09-22-2004, 06:20 PM   #6
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
bump
 
Old 09-22-2004, 06:35 PM   #7
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Check in /usr/local/bin and /usr/local/sbin. Probably your PATH does not include /usr/local/bin. You can also do type "whereis superkaramba".
 
Old 09-22-2004, 07:14 PM   #8
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
nothing is in that directory and when i do whereis superkaramba nothing shows up...


i mean nothing is in those directories

Last edited by minm; 09-22-2004 at 07:15 PM.
 
Old 09-22-2004, 08:14 PM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Try "find / -iname '*karamba*' 2>/dev/null".

Are you sure you ran
./configure
make
make install\

Also was there any errors.
 
Old 09-22-2004, 09:39 PM   #10
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
well, when i did configure, it did a bunch of checking and at the end it said
Good - your configure finished. Start make now

I then typed the 'make' command in the konsole and i did a lot of stuff but at the end, it says:

: warning: the use of `tempnam' is dangerous, better use `mkstemp'
make[3]: Leaving directory `/home/mark/applications/superkaramba-0.34/src'
make[2]: Leaving directory `/home/mark/applications/superkaramba-0.34/src'
make[2]: Entering directory `/home/mark/applications/superkaramba-0.34'
make[2]: Leaving directory `/home/mark/applications/superkaramba-0.34'
make[1]: Leaving directory `/home/mark/applications/superkaramba-0.34'


then it fails in make install i believe...
 
Old 09-22-2004, 10:17 PM   #11
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Can you give us the exact error of what happens in make install, since it looks like configure and make are going OK.
 
Old 09-27-2004, 08:09 AM   #12
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
i already posted what make install does

but when i do make it gives me a lot of wierd messages, like the last few lines here of make

/usr/lib/qt3/bin/moc ./richtextlabel.h -o richtextlabel.moc.cpp
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include -
I/usr/X11R6/include -I/usr/include/python2.3 -DQT_THREAD_SUPPORT -D_REENTRAN
T -Wnon-virtual-dtor -Wno-long-long -Wundef -pedantic -W -Wpointer-arith -Wmiss
ing-prototypes -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-O2 -fno-exceptions -fno-check-new -MT richtextlabel.moc.o -MD -MP -MF ".deps/
richtextlabel.moc.Tpo" \
-c -o richtextlabel.moc.o `test -f 'richtextlabel.moc.cpp' || echo './'`richte
xtlabel.moc.cpp; \
then mv -f ".deps/richtextlabel.moc.Tpo" ".deps/richtextlabel.moc.Po"; \
else rm -f ".deps/richtextlabel.moc.Tpo"; exit 1; \
fi
In file included from /usr/include/python2.3/Python.h:8,
from richtextlabel.h:14,
from richtextlabel.moc.cpp:11:
/usr/include/python2.3/pyconfig.h:859:1: warning: "_XOPEN_SOURCE" redefined
<command line>:8:1: warning: this is the location of the previous definition
/usr/lib/qt3/bin/moc ./rsssensor.h -o rsssensor.moc.cpp
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include -
I/usr/X11R6/include -I/usr/include/python2.3 -DQT_THREAD_SUPPORT -D_REENTRAN
T -Wnon-virtual-dtor -Wno-long-long -Wundef -pedantic -W -Wpointer-arith -Wmiss
ing-prototypes -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-O2 -fno-exceptions -fno-check-new -MT rsssensor.moc.o -MD -MP -MF ".deps/rsss
ensor.moc.Tpo" \
-c -o rsssensor.moc.o `test -f 'rsssensor.moc.cpp' || echo './'`rsssensor.moc.
cpp; \
then mv -f ".deps/rsssensor.moc.Tpo" ".deps/rsssensor.moc.Po"; \
else rm -f ".deps/rsssensor.moc.Tpo"; exit 1; \
fi
/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-l
ong-long -Wundef -pedantic -W -Wpointer-arith -Wmissing-prototypes -ansi -D_XOPE
N_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-ch
eck-new -o superkaramba -Wl,-export-dynamic -R /opt/kde3/lib -R /usr/lib/qt3
/lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/opt/kde3/lib -L/u
sr/lib/python2.3/config main.o karamba.o meter.o bar.o sensor.o datesensor.o t
extlabel.o memsensor.o uptimesensor.o cpusensor.o networksensor.o imagelabel.o g
raph.o xmmssensor.o programsensor.o disksensor.o sensorparams.o sensorsensor.o t extfilesensor.o clickarea.o noatunsensor.o karambarootpixmap.o clickmap.o rsssen sor.o textfield.o taskmanager.o showdesktop.o richtextlabel.o karambasessionmana ged.o welcomeform.o systemtray.o bar_python.o meter_python.o textlabel_python.o richtextlabel_python.o imagelabel_python.o config_python.o misc_python.o systray _python.o task_python.o widget_python.o menu_python.o themelistwindow.o karambal istboxitem.o sensorsensor.moc.o xmmssensor.moc.o imagelabel.moc.o sensor.moc.o w elcomeform.moc.o memsensor.moc.o systemtray.moc.o clickarea.moc.o themelistwindo w.moc.o bar.moc.o disksensor.moc.o cpusensor.moc.o meter.moc.o clickmap.moc.o te xtfilesensor.moc.o textlabel.moc.o programsensor.moc.o networksensor.moc.o dates ensor.moc.o richtextlabel.moc.o rsssensor.moc.o -lkio -lXpm -lkdeui -lpython2. 3 -lpthread -lm -lutil -ldl
/usr/lib/python2.3/config/libpython2.3.a(posixmodule.o)(.text+0x90a): In functio n `posix_tmpnam':
: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/lib/python2.3/config/libpython2.3.a(posixmodule.o)(.text+0x9df): In functio n `posix_tempnam':
: warning: the use of `tempnam' is dangerous, better use `mkstemp'
 
Old 09-27-2004, 05:18 PM   #13
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
Old 09-27-2004, 05:22 PM   #14
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
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)
 
Old 09-27-2004, 07:16 PM   #15
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
hmm, ok i type the path and iget this error

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 #
 
  


Reply



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
New and frustrated galantesghost LinuxQuestions.org Member Intro 2 09-11-2005 04:16 PM
I am frustrated (HELP) dimsun Linux - Newbie 3 11-02-2004 08:29 PM
Please help, very frustrated! m3s3lf Linux - Newbie 10 10-28-2004 09:50 AM
Frustrated Linuxfrog Linux - Hardware 2 06-23-2004 05:06 PM
So frustrated!!! brit Mandriva 7 09-16-2003 06:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:44 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
Open Source Consulting | Domain Registration