• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

superkaramba compile

Hey

Ich wollte heute mal das neue Superkaramba 0.37 installieren. RPM ist noch nicht vorhanden.

Also habe ich folgendes probiert:

1) superkaramba-0.37-RC2.tar.gz runtergeladen

2)
oliver@linux:~> tar zxf superkaramba-0.37-RC2.tar.gz
oliver@linux:~> cd superkaramba
oliver@linux:~/superkaramba>

soweit so gut. nun habe ich ./configure ausgeführt.

oliver@linux:~/superkaramba> ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /opt/kde3/bin/kde-config
checking where to install... /opt/kde3 (as returned by kde-config)
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether gcc is blacklisted... no
checking whether g++ supports -Wmissing-format-attribute... no
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wundef... no
checking whether g++ supports -Wno-long-long... no
checking whether g++ supports -Wno-non-virtual-dtor... no
checking how to run the C++ preprocessor... /lib/cpp
checking whether g++ supports -O0... no
checking whether g++ supports -Wl,--no-undefined... no
using lib directory suffix 64
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
libtool.m4: error: problem compiling CXX test program
checking for g++ option to produce PIC...
checking if g++ supports -c -o file.o... no
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking for msgfmt... msgfmt
checking for gmsgfmt... msgfmt
found msgfmt program is not GNU msgfmt; ignore it
checking for xgettext... :
checking if C++ programs can be compiled... no
configure: error: Your Installation isn't able to compile simple C++ programs.
Check config.log for details - if you're using a Linux distribution you might miss
a package named similar to libstdc++-dev.
oliver@linux:~/superkaramba>

nun wollte ich "make" ausführen, bekomme aber folgende Fehlermeldung:

oliver@linux:~/superkaramba> make
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
oliver@linux:~/superkaramba>

Was mache ich falsch ?
 

Boe

Hacker
nimm lieber das ftp://ftp.pbone.net/mirror/grubald.free.fr/linux3114a/raoul/superkaramba-0.37rc1-s93k341.i586.rpm
 
A

Anonymous

Gast
Hi,

Auf die Frage was da falsch war:

Code:
 configure: error: Your Installation isn't able to compile simple C++ programs.
Check config.log for details - if you're using a Linux distribution you might miss
a package named similar to libstdc++-dev.

kam als Fehlermeldung. Du solltest libstdc++ installieren.
Dann solltest du nochmal ./configure starten und evtl auf weitere Fehlermeldungen achten und diese dann beseitigen. Und dann wie gehabt.
./make install

Gruss

Borusse-KLE
 
OP
P

Pennywise09

Member
@ Borusse-KLE

Das ist es ja gerade. Ich habe libstdc++ installiert.


Das mit dem rpm klappt auch nicht. Habe Superkaramba installiert. Beim Versuch es auszuführen kommt:

oliver@linux:~> superkaramba
superkaramba: error while loading shared libraries: libpython2.4.so.1.0: cannotopen shared object file: No such file or directory

Ist das für SuSE 9.3 mit KDE 3.4 ? Ich habe SuSE 9.2 KDE 3.3
 
A

Anonymous

Gast
Hi pennywise09,

hast du auch libstdc++-devel installiert, wie es in der Fehlermeldung beschrieben ist?
EDIT!!!!
Ulkig... Habe libstdc++-devel installiert und das tar will auch nicht ....

Guckst du hier für Suse 9.2 und Superkaramba:
http://ftp4.gwdg.de/pub/linux/misc/suser-guru/rpm/9.2/RPMS/i686/


Gruss

Borusee-KLE
 
OP
P

Pennywise09

Member
Ist echt Komisch.

Das ist aber das Superkaramba 0.36

Damit gehen einige Themes nicht. Deswegen wollte ich das 0.37 mal probieren.
 
A

Anonymous

Gast
EDIT:

Sogar der RC2 von der 0.37 Vers. macht diese Fehlermeldung ... Jetzt muss ich passen,
:( Vielleicht weiss einer von den 'Gurus', wie es zu lösen ist. Mein Wissen reicht da nicht mehr aus.

Welche Themes waren/sind das denn, die da 'Terror' machen?

Gruss

Borusse-KLE
 
OP
P

Pennywise09

Member
Ich hätte so gerne mal Liquid Weather. Das geht aber mit 0.36 nicht.

Und ich glaube KDE 3.3 ist da auch ein Problem (Hoffe aber nicht)
 
A

Anonymous

Gast
Hi Pennywise09,

LiquidWeather läuft mit der 0.36 [grad noch probiert] und ich hatte dieses Theme auch unter KDE 3.3 am laufen....
Was für ein Fehler taucht denn da auf?

Gruss

Borusse-KLE
 
OP
P

Pennywise09

Member
Kannst Du das Theme mal uploaden und den Link hier posten ?

Es gibt nur noch das neue Liquid weather, welches Karamba 0.37 und KDE 3.4 benötigt. Das wäre super ! Dann könnte ich es mal versuchen.
 
A

Anonymous

Gast
Hi,

ich habe die Version [schell guck ...] Vers. 6.2 die auch auf der 3.6 Superkaramba läuft...

Gruss

Borusse-KLE
 
OP
P

Pennywise09

Member
Vielen Dank erstmal für das Theme !!!

Leider wird es bei mir nicht angezeigt. Wenn ich einen Rechtsklick mache, kann ich auch nicht "configure theme" auswählen.

Muss ich sonst noch etwas installiert haben ?
 
A

Anonymous

Gast
Eigentlich nicht! Das Theme stellt ne Verbindung zu nem Wetterserver her.
Du solltest vielleicht einen Standot aussuchen/einstellen - über configure Theme [zum Testen Berlin o.ä. eingeben ]. Das Theme an sich ist etwas 'träge'.

Gruss

Borusse-KLE
 
A

Anonymous

Gast
Hi,

habe folgendes in ~/.superkaramba/liquid_weather.rc stehen:
Code:
[config menu]
addwebcamurl=true
changeloc=true
delay=true
dnamobst=true
findbbc=true
findwcom=true
readme=true
useclock=true
usemetric=true
windoption=true

[internal]
desktop=0
fastTransforms=true
lockedPosition=false

[theme]
delaytime=0
url=http://www.bbc.co.uk/print/weather/5day.shtml?world=4697&print
webcamlabel_0=Webcam - Schwanenburg
webcamurl_0=http://www.niederrhein-film.de/burg_cam.jpg
widgetHeight=200
widgetPosX=289
widgetPosY=42
widgetWidth=250

Grusss

Borusse-KLE
 
OP
P

Pennywise09

Member
Bei mir sieht's so aus:

[internal]
desktop=0
fastTransforms=true
lockedPosition=true

[theme]
widgetHeight=200
widgetPosX=754
widgetPosY=525
widgetWidth=250

Ich habe eben mal superkaramba von der Konsole aus gestartet. Ich bekomme folgende Meldung:


Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
superkaramba: TaskManager::TaskManager()
Traceback (most recent call last):
File "/home/oliver/Karamba_Themes/liquid_weather_plus/liquid_weather.py", line 13, in ?
import os
ImportError: No module named os
------------------------------------------------------
What does ImportError mean?

It means that I couldn't load a python add-on for liquid_weather.theme
If this is a regular theme and doesn't use python
extensions, then nothing is wrong.
------------------------------------------------------

Python habe ich aber installiert. Wo liegt denn das Problem ?
 
A

Anonymous

Gast
Hallo Pennywise09,

Laufen denn andere Themes?
Anscheinend ist echt bei dir der Wurm drinne. Mit meinem 'Latein' bin ich am Ende.

Gruss

Borusse-KLE
 

Bigger

Newbie
Hallo ich habe Suse 9.3 mit KDE 3.4

Superkaramba 0.36 läuft, ich hätte aber gerne 0.37 drauf, weil "netter" :)

beim compilieren passiert folgendes:

Code:
./configure


[...]
checking for setenv... yes
checking if setenv needs custom prototype... no
checking for unsetenv... yes
checking if unsetenv needs custom prototype... no
checking whether byte ordering is bigendian... no
checking for MAXPATHLEN... 4096
checking for Python directory... /usr/local
checking for Python2.4... header no library no modules /usr/lib/python2.4
checking for Python2.3... header no library no modules no
checking for Python2.2... header no library no modules no
checking for Python2.1... header no library no modules no
checking for Python2.0... header no library no modules no
checking for Python1.5... header no library no modules no
checking for libxmms... ./configure: line 42659: xmms-config: command not found
./configure: line 42661: xmms-config: command not found
no
checking for main in -lknewstuff... yes
checking for main in -lkvm... no
checking if superkaramba should be compiled... no
configure: creating ./config.status
fast creating Makefile
fast creating superkaramba/Makefile
fast creating superkaramba/doc/Makefile
fast creating superkaramba/doc/en/Makefile
fast creating superkaramba/icons/Makefile
fast creating superkaramba/mimetypes/Makefile
fast creating superkaramba/src/Makefile
config.pl: fast created 7 file(s).
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

Superkaramba can't be compiled
because of missing Python libraries/headers.

Fehlt hier ein Paket?

Python ist installiert:

Code:
 # python
Python 2.4 (#1, May 30 2005, 19:23:06)
[GCC 3.3.5 20050117 (prerelease) (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Im anderen Thred hab ich gelesen, wie jemand beim compilieren den Pfad zu python mit angegeben hat.

Code:
./configure --with-pythondir=/usr/local/
dies ergab aber selbigen Fehler.
 

Boe

Hacker
@Bigger
wenn du die version 0.37 haben willst, dann sieh dir den zweiten post in diesem tread an!
 
Oben