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

KSmoothDock

Hallo!

Wollte mir mal KSMoothDock installieren. Habe die Datei ksmoothdock-4.5_automake-1.9.tar.gz von http://www.kde-apps.org/content/show.php?content=6585 runtergeladen und entpackt.

In der Konsole dann ./configure. Nachdem ich etliche Pakete nachinstalliert hatte ging es dann.

Soweit alles gut. Dann bei "make" bekomme ich folgende Fehlermeldungen, die bei allen docks auftraten. Habe mehrere ausprobiert.
Code:
benjamin@linux-pg0t:~/ksmoothdock> make
make  all-recursive                    
make[1]: Entering directory `/home/benjamin/ksmoothdock'
Making all in doc                                       
make[2]: Entering directory `/home/benjamin/ksmoothdock/doc'
Making all in .                                             
make[3]: Entering directory `/home/benjamin/ksmoothdock/doc'
make[3]: Für das Ziel »all-am« ist nichts zu tun.           
make[3]: Leaving directory `/home/benjamin/ksmoothdock/doc' 
Making all in en                                            
make[3]: Entering directory `/home/benjamin/ksmoothdock/doc/en'
/opt/kde3/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
make[3]: Leaving directory `/home/benjamin/ksmoothdock/doc/en'        
make[2]: Leaving directory `/home/benjamin/ksmoothdock/doc'           
Making all in po                                                      
make[2]: Entering directory `/home/benjamin/ksmoothdock/po'           
make[2]: Für das Ziel »all« ist nichts zu tun.                        
make[2]: Leaving directory `/home/benjamin/ksmoothdock/po'            
Making all in src                                                     
make[2]: Entering directory `/home/benjamin/ksmoothdock/src'          
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \
        then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
In file included from /usr/lib/qt3/include/qwindowdefs.h:47,
                 from /usr/lib/qt3/include/qwidget.h:45,
                 from ksmoothdock.h:31,
                 from main.cpp:22:
/usr/lib/qt3/include/qstring.h: In member function ‘char QChar::latin1() const’:
/usr/lib/qt3/include/qstring.h:197: warning: conversion to ‘char’ from ‘int’ may alter its value
/usr/lib/qt3/include/qstring.h: In member function ‘void QChar::setCell(uchar)’:
/usr/lib/qt3/include/qstring.h:222: warning: conversion to ‘ushort’ from ‘int’ may alter its value
/usr/lib/qt3/include/qstring.h: In member function ‘void QChar::setRow(uchar)’:
/usr/lib/qt3/include/qstring.h:223: warning: conversion to ‘ushort’ from ‘int’ may alter its value
/usr/lib/qt3/include/qstring.h: In constructor ‘QChar::QChar(uchar, uchar)’:
/usr/lib/qt3/include/qstring.h:267: warning: conversion to ‘ushort’ from ‘int’ may alter its value
/usr/lib/qt3/include/qstring.h: In constructor ‘QStringData::QStringData(QChar*, uint, uint)’:
/usr/lib/qt3/include/qstring.h:365: warning: conversion to ‘unsigned int:30’ from ‘uint’ may alter its value
/usr/lib/qt3/include/qstring.h:365: warning: conversion to ‘unsigned int:30’ from ‘uint’ may alter its value
In file included from /usr/lib/qt3/include/qobject.h:48,
                 from /usr/lib/qt3/include/qwidget.h:46,
                 from ksmoothdock.h:31,
                 from main.cpp:22:
/usr/lib/qt3/include/qevent.h: In member function ‘void QDropEvent::setAction(QDropEvent::Action)’:
/usr/lib/qt3/include/qevent.h:523: warning: conversion to ‘unsigned char’ from ‘uint’ may alter its value
In file included from /usr/lib/qt3/include/qwidget.h:52,
                 from ksmoothdock.h:31,
                 from main.cpp:22:
/usr/lib/qt3/include/qsizepolicy.h: In member function ‘void QSizePolicy::transpose()’:
/usr/lib/qt3/include/qsizepolicy.h:125: warning: conversion to ‘uchar’ from ‘uint’ may alter its value
/usr/lib/qt3/include/qsizepolicy.h:125: warning: conversion to ‘uchar’ from ‘uint’ may alter its value
In file included from main.cpp:22:
ksmoothdock.h: At global scope:
ksmoothdock.h:313: error: ISO C++ forbids declaration of ‘auto_ptr’ with no type
ksmoothdock.h:313: error: invalid use of ‘::’
ksmoothdock.h:313: error: expected ‘;’ before ‘<’ token
ksmoothdock.h:314: error: ISO C++ forbids declaration of ‘auto_ptr’ with no type
ksmoothdock.h:314: error: invalid use of ‘::’
ksmoothdock.h:314: error: expected ‘;’ before ‘<’ token
ksmoothdock.h:315: error: ISO C++ forbids declaration of ‘auto_ptr’ with no type
ksmoothdock.h:315: error: invalid use of ‘::’
ksmoothdock.h:315: error: expected ‘;’ before ‘<’ token
ksmoothdock.h:318: error: ISO C++ forbids declaration of ‘auto_ptr’ with no type
ksmoothdock.h:318: error: invalid use of ‘::’
ksmoothdock.h:318: error: expected ‘;’ before ‘<’ token
make[2]: *** [main.o] Fehler 1
make[2]: Leaving directory `/home/benjamin/ksmoothdock/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/benjamin/ksmoothdock'
make: *** [all] Fehler 2


Weiss jemand Rat ?


edit:

nach ich den patch von http://bugs.gentoo.org/show_bug.cgi?id=226189 mit hilfe des threads http://www.unixboard.de/vb3/showthread.php?t=41586 installiert habe, gabs folgendes:

Code:
make  all-recursive
make[1]: Entering directory `/home/benjamin/ksmoothdock'
Making all in doc
make[2]: Entering directory `/home/benjamin/ksmoothdock/doc'
Making all in .
make[3]: Entering directory `/home/benjamin/ksmoothdock/doc'
make[3]: Für das Ziel »all-am« ist nichts zu tun.
make[3]: Leaving directory `/home/benjamin/ksmoothdock/doc'
Making all in en
make[3]: Entering directory `/home/benjamin/ksmoothdock/doc/en'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/home/benjamin/ksmoothdock/doc/en'
make[2]: Leaving directory `/home/benjamin/ksmoothdock/doc'
Making all in po
make[2]: Entering directory `/home/benjamin/ksmoothdock/po'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/benjamin/ksmoothdock/po'
Making all in src
make[2]: Entering directory `/home/benjamin/ksmoothdock/src'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/benjamin/ksmoothdock/src'
make[2]: Entering directory `/home/benjamin/ksmoothdock'
make[2]: Leaving directory `/home/benjamin/ksmoothdock'
make[1]: Leaving directory `/home/benjamin/ksmoothdock'
 
Tja, und damit sollte das 'make install' funktionieren.

Ich rate jedoch *dringend* davon ab, Quellcode dergestalt zu installieren, da somit der Paketmanager nichts mitbekommt und Aktualisierungen, Deinstallationen etc. nicht so ohne weiteres möglich sind. Wenn man schon eigenhändig übersetzt, sollte man an Stelle von 'make install' ein .rpm-Paket bauen (via 'rpmbuild' oder noch einfacher mit 'checkinstall'), welches man dann regulär ins System löten kann.
 
Oben