| Compile make error Nov 8 2009 on content Kommander | Hi,
thanks for the new version but i have several problems to compile kommander from source on a Debian Sid machine.
First try:
- ./configure (everything seems to be ok)
- make
Quote:
WARNING: use unsermake instead of make or use a wrapper script, e.g. makeobj!!!
unsermake all
/bin/bash: unsermake: Kommando nicht gefunden.
make: *** [all] Fehler 127
Second try:
- make -f Makefile.cvs (After adding automake Version 1.11 to admin/cvs.sh the command runs as expected)
- ./configure
- make
Quote:
make all-recursive
make[1]: Entering directory `/home/ghead/Downloads/kommander-1.5.3'
Making all in icons
make[2]: Entering directory `/home/ghead/Downloads/kommander-1.5.3/icons'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/ghead/Downloads/kommander-1.5.3/icons'
Making all in plugin
make[2]: Entering directory `/home/ghead/Downloads/kommander-1.5.3/plugin'
/usr/share/qt3/bin/moc ./kommanderplugin.h -o kommanderplugin.moc
/bin/bash ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../kommander/widget -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -MT kommanderplugin.lo -MD -MP -MF .deps/kommanderplugin.Tpo -c -o kommanderplugin.lo kommanderplugin.cpp
In file included from kommanderplugin.cpp:17:
kommanderplugin.h:40:30: error: kommander_export.h: No such file or directory
In file included from kommanderplugin.cpp:17:
kommanderplugin.h:45: error: function definition does not declare parameters
kommanderplugin.cpp:20: error: 'KommanderPlugin' has not been declared
kommanderplugin.cpp:20: error: ISO C++ forbids declaration of 'KommanderPlugin' with no type
kommanderplugin.cpp:24: error: expected constructor, destructor, or type conversion before '::' token
kommanderplugin.cpp:28: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.cpp: In function 'void addWidget(const QString&, const QString&, const QString&, QIconSet*, const QString&, bool)':
kommanderplugin.cpp:30: error: 'm_widgets' was not declared in this scope
kommanderplugin.cpp:30: error: 'WidgetInfo' was not declared in this scope
kommanderplugin.cpp: At global scope:
kommanderplugin.cpp:33: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.cpp: In function 'void removeWidget(const QString&)':
kommanderplugin.cpp:35: error: 'm_widgets' was not declared in this scope
kommanderplugin.cpp: At global scope:
kommanderplugin.cpp:38: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.cpp:38: error: non-member function 'QStringList widgets()' cannot have cv-qualifier
kommanderplugin.cpp: In function 'QStringList widgets()':
kommanderplugin.cpp:41: error: 'WidgetInfos' has not been declared
kommanderplugin.cpp:41: error: expected `;' before 'it'
kommanderplugin.cpp:42: error: 'it' was not declared in this scope
kommanderplugin.cpp:42: error: 'm_widgets' was not declared in this scope
kommanderplugin.cpp: At global scope:
kommanderplugin.cpp:47: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.cpp:47: error: non-member function 'QString group(const QString&)' cannot have cv-qualifier
kommanderplugin.cpp: In function 'QString group(const QString&)':
kommanderplugin.cpp:49: error: 'm_widgets' was not declared in this scope
kommanderplugin.cpp: At global scope:
kommanderplugin.cpp:52: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.cpp:52: error: non-member function 'QString toolTip(const QString&)' cannot have cv-qualifier
kommanderplugin.cpp: In function 'QString toolTip(const QString&)':
kommanderplugin.cpp:54: error: 'm_widgets' was not declared in this scope
kommanderplugin.cpp: At global scope:
kommanderplugin.cpp:57: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.cpp:57: error: non-member function 'QString whatsThis(const QString&)' cannot have cv-qualifier
kommanderplugin.cpp: In function 'QString whatsThis(const QString&)':
kommanderplugin.cpp:59: error: 'm_widgets' was not declared in this scope
kommanderplugin.cpp: At global scope:
kommanderplugin.cpp:62: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.cpp:62: error: non-member function 'bool isContainer(const QString&)' cannot have cv-qualifier
kommanderplugin.cpp: In function 'bool isContainer(const QString&)':
kommanderplugin.cpp:64: error: 'm_widgets' was not declared in this scope
kommanderplugin.cpp: At global scope:
kommanderplugin.cpp:67: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.cpp:67: error: non-member function 'QIconSet* iconSet(const QString&)' cannot have cv-qualifier
kommanderplugin.cpp: In function 'QIconSet* iconSet(const QString&)':
kommanderplugin.cpp:69: error: 'm_widgets' was not declared in this scope
kommanderplugin.cpp: At global scope:
kommanderplugin.cpp:72: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.cpp:77: error: 'KommanderPlugin' is not a class or namespace
In file included from kommanderplugin.cpp:82:
kommanderplugin.moc:22: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.moc:22: error: non-member function 'const char* className()' cannot have cv-qualifier
kommanderplugin.moc:27: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.moc:28: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.moc:31: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.moc:39: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.moc:50: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.moc:68: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.moc: In function 'void* qt_cast(const char*)':
kommanderplugin.moc:71: error: invalid use of 'this' in non-member function
kommanderplugin.moc:72: error: cannot call member function 'virtual void* QObject::qt_cast(const char*)' without object
kommanderplugin.moc: At global scope:
kommanderplugin.moc:75: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.moc: In function 'bool qt_invoke(int, QUObject*)':
kommanderplugin.moc:77: error: cannot call member function 'virtual bool QObject::qt_invoke(int, QUObject*)' without object
kommanderplugin.moc: At global scope:
kommanderplugin.moc:80: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.moc: In function 'bool qt_emit(int, QUObject*)':
kommanderplugin.moc:82: error: cannot call member function 'virtual bool QObject::qt_emit(int, QUObject*)' without object
kommanderplugin.moc: At global scope:
kommanderplugin.moc:86: error: 'KommanderPlugin' is not a class or namespace
kommanderplugin.moc: In function 'bool qt_property(int, int, QVariant*)':
kommanderplugin.moc:88: error: cannot call member function 'virtual bool QObject::qt_property(int, int, QVariant*)' without object
kommanderplugin.moc: At global scope:
kommanderplugin.moc:91: error: 'KommanderPlugin' is not a class or namespace
make[2]: *** [kommanderplugin.lo] Fehler 1
make[2]: Leaving directory `/home/ghead/Downloads/kommander-1.5.3/plugin'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/ghead/Downloads/kommander-1.5.3'
make: *** [all] Fehler 2
Please help :)
Thanks in advance. |
| |
Search people Current visitors New users Birthdays Most active users Back
|
|