The log is:
[root@localhost knetstats-1.3]# ./scons install
scons: Reading SConscript files ...
sh: lsb_release: command not found
scons: done reading SConscript files.
scons: Building targets ...
/usr/lib/qt3//bin/uic -o src/configurebase.h src/configurebase.ui
/usr/lib/qt3//bin/uic -impl configurebase.h -o
src/uic_configurebase.cc src/configurebase.ui
/usr/lib/qt3//bin/moc -o src/moc_configurebase.cc
src/configurebase.h
g++ -O2 -Wall -pipe -fomit-frame-pointer -I/usr/lib/qt3/include
-I/usr/include -I/usr/include/kde -Isrc -c -o src/uic_configurebase.o
src/uic_configurebase.cc
src/uic_configurebase.cc: In constructor
`ConfigureBase::ConfigureBase(QWidget*, const char*, bool,
uint)':
src/uic_configurebase.cc:45: error: invalid use of undefined type
`struct KPushButton'
src/configurebase.h:20: error: forward declaration of `struct
KPushButton'
src/uic_configurebase.cc:46: error: invalid use of undefined type
`struct KPushButton'
src/configurebase.h:20: error: forward declaration of `struct
KPushButton'
src/uic_configurebase.cc:47: error: no matching function for call
to `QHBoxLayout::addWidget(KPushButton*&)'
/usr/lib/qt3/include/qlayout.h:386: note: candidates are: void
QBoxLayout::addWidget(QWidget*, int, int)
src/uic_configurebase.cc:49: error: invalid use of undefined type
`struct KPushButton'
src/configurebase.h:20: error: forward declaration of `struct
KPushButton'
src/uic_configurebase.cc:50: error: no matching function for call to
`QHBoxLayout::addWidget(KPushButton*&)'
/usr/lib/qt3/include/qlayout.h:386: note: candidates are: void
QBoxLayout::addWidget(QWidget*, int, int)
src/uic_configurebase.cc:52: error: invalid use of undefined type
`struct KPushButton'
src/configurebase.h:20: error: forward declaration of `struct
KPushButton'
src/uic_configurebase.cc:53: error: no matching function for call to
`QHBoxLayout::addWidget(KPushButton*&)'
/usr/lib/qt3/include/qlayout.h:386: note: candidates are: void
QBoxLayout::addWidget(QWidget*, int, int)
src/uic_configurebase.cc:131: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:133: error: no matching function for call
to `QGridLayout::addWidget(KColorButton*&, int, int)'
/usr/lib/qt3/include/qlayout.h:331: note: candidates are: void
QGridLayout::addWidget(QWidget*, int, int, int)
src/uic_configurebase.cc:139: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:141: error: no matching function for call
to `QGridLayout::addWidget(KColorButton*&, int, int)'
/usr/lib/qt3/include/qlayout.h:331: note: candidates are: void
QGridLayout::addWidget(QWidget*, int, int, int)
src/uic_configurebase.cc:143: error: invalid use of undefined type
`struct KFontRequester'
src/configurebase.h:29: error: forward declaration of `struct
KFontRequester'
src/uic_configurebase.cc:144: error: invalid use of undefined type
`struct KFontRequester'
src/configurebase.h:29: error: forward declaration of `struct
KFontRequester'
src/uic_configurebase.cc:144: error: invalid use of undefined type
`struct KFontRequester'
src/configurebase.h:29: error: forward declaration of `struct
KFontRequester'
src/uic_configurebase.cc:146: error: no matching function for call
to `QGridLayout::addMultiCellWidget(KFontRequester*&, int, int,
int, int)'
/usr/lib/qt3/include/qlayout.h:333: note: candidates are: void
QGridLayout::addMultiCellWidget(QWidget*, int, int, int, int, int)
src/uic_configurebase.cc:156: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:158: error: no matching function for call
to `QGridLayout::addWidget(KColorButton*&, int, int)'
/usr/lib/qt3/include/qlayout.h:331: note: candidates are: void
QGridLayout::addWidget(QWidget*, int, int, int)
src/uic_configurebase.cc:164: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:166: error: no matching function for call
to `QGridLayout::addWidget(KColorButton*&, int, int)'
/usr/lib/qt3/include/qlayout.h:331: note: candidates are: void
QGridLayout::addWidget(QWidget*, int, int, int)
src/uic_configurebase.cc:172: error: invalid use of undefined
type `struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:174: error: no matching function for call
to `QGridLayout::addWidget(KColorButton*&, int, int)'
/usr/lib/qt3/include/qlayout.h:331: note: candidates are: void
QGridLayout::addWidget(QWidget*, int, int, int)
src/uic_configurebase.cc:192: error: invalid use of undefined type
`struct KComboBox'
src/configurebase.h:30: error: forward declaration of `struct
KComboBox'
src/uic_configurebase.cc:194: error: no matching function for call
to `QGridLayout::addWidget(KComboBox*&, int, int)'
/usr/lib/qt3/include/qlayout.h:331: note: candidates are: void
QGridLayout::addWidget(QWidget*, int, int, int)
src/uic_configurebase.cc:205: error: invalid use of undefined type
`struct KIntNumInput'
src/configurebase.h:31: error: forward declaration of `struct
KIntNumInput'
src/uic_configurebase.cc:206: error: invalid use of undefined type
`struct KIntNumInput'
src/configurebase.h:31: error: forward declaration of `struct
KIntNumInput'
src/uic_configurebase.cc:207: error: invalid use of undefined
type `struct KIntNumInput'
src/configurebase.h:31: error: forward declaration of `struct
KIntNumInput'
src/uic_configurebase.cc:208: error: invalid use of undefined type
`struct KIntNumInput'
src/configurebase.h:31: error: forward declaration of `struct
KIntNumInput'
src/uic_configurebase.cc:210: error: no matching function for call
to `QGridLayout::addWidget(KIntNumInput*&, int, int)'
/usr/lib/qt3/include/qlayout.h:331: note: candidates are: void
QGridLayout::addWidget(QWidget*, int, int, int)
src/uic_configurebase.cc:222: error: no matching function for call
to `ConfigureBase::connect(KComboBox*&, const char[16],
QWidgetStack*&, const char[18])'
/usr/lib/qt3/include/qobject.h:116: note: candidates are: static bool
QObject::connect(const QObject*, const char*, const QObject*,
const char*)
/usr/lib/qt3/include/qobject.h:227: note: bool
QObject::connect(const QObject*, const char*, const char*) const
src/uic_configurebase.cc: In member function `virtual void
ConfigureBase::languageChange()':
src/uic_configurebase.cc:240: error: invalid use of undefined type
`struct KPushButton'
src/configurebase.h:20: error: forward declaration of `struct
KPushButton'
src/uic_configurebase.cc:241: error: invalid use of undefined type
`struct KPushButton'
src/configurebase.h:20: error: forward declaration of `struct
KPushButton'
src/uic_configurebase.cc:242: error: invalid use of undefined type
`struct KPushButton'
src/configurebase.h:20: error: forward declaration of `struct
KPushButton'
src/uic_configurebase.cc:251: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:253: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:255: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:257: error: invalid use of undefined
type `struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:259: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:262: error: invalid use of undefined type
`struct KComboBox'
src/configurebase.h:30: error: forward declaration of `struct
KComboBox'
src/uic_configurebase.cc:263: error: invalid use of undefined type
`struct KComboBox'
src/configurebase.h:30: error: forward declaration of `struct
KComboBox'
src/uic_configurebase.cc:264: error: invalid use of undefined type
`struct KComboBox'
src/configurebase.h:30: error: forward declaration of `struct
KComboBox'
src/uic_configurebase.cc:267: error: invalid use of undefined
type `struct KIntNumInput'
src/configurebase.h:31: error: forward declaration of `struct
KIntNumInput'
scons: *** [src/uic_configurebase.o] Error 1
scons: building terminated because of errors.
Logged In: YES
user_id=1193833
Hi,
this is a problem with the "uic" (which "compiles" Qt user
interface files). it doesnt know where to find the KDE plugins.
Our building system has some problems with it, because the
pathes of the kde plugins differ from distribution to
distribution.
We try to detect the distribution with the "lsb_release"
program which is in part of the "linux standard base". This
fails in the compile run on Madriva 2005, as we can see.
-------
...
scons: Reading SConscript files ...
sh: lsb_release: command not found
scons: done reading SConscript files.
...
--------
Could you please find out, in which package on Madriva 2005
is hidden and tell me what the command "lsb_release -i -s"
tells you?
Furthermore I need the path to the kde plugins, this is
normally in "/usr/lib/kde3/plugins". Perhaps try search for
kdewidgets like
>>find -name "kdewidgets*"
If you could give me these informations, i can fix the bug.
Greetings
Thomas
Logged In: YES
user_id=918020
Thanks for your help, I just did "urpmi lsb" and that installed
lsb_release among other things. Now what I get is:
[root@localhost knetstats-1.3]# ./scons install
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -O2 -Wall -pipe -fomit-frame-pointer -I/usr/lib/qt3/include
-I/usr/include -I/usr/include/kde -Isrc -c -o src/uic_configurebase.o
src/uic_configurebase.cc
src/uic_configurebase.cc: In constructor
`ConfigureBase::ConfigureBase(QWidget*, const char*, bool, uint)':
src/uic_configurebase.cc:45: error: invalid use of undefined type `struct
KPushButton'
src/configurebase.h:20: error: forward declaration of `struct
KPushButton'
src/uic_configurebase.cc:46: error: invalid use of undefined type `struct
KPushButton'
src/configurebase.h:20: error: forward declaration of `struct
KPushButton'
src/uic_configurebase.cc:47: error: no matching function for call to
`QHBoxLayout::addWidget(KPushButton*&)'
/usr/lib/qt3/include/qlayout.h:386: note: candidates are: void
QBoxLayout::addWidget(QWidget*, int, int)
src/uic_configurebase.cc:49: error: invalid use of undefined type `struct
KPushButton'
src/configurebase.h:20: error: forward declaration of `struct
KPushButton'
src/uic_configurebase.cc:50: error: no matching function for call to
`QHBoxLayout::addWidget(KPushButton*&)'
/usr/lib/qt3/include/qlayout.h:386: note: candidates are: void
QBoxLayout::addWidget(QWidget*, int, int)
src/uic_configurebase.cc:52: error: invalid use of undefined type `struct
KPushButton'
src/configurebase.h:20: error: forward declaration of `struct
KPushButton'
src/uic_configurebase.cc:53: error: no matching function for call to
`QHBoxLayout::addWidget(KPushButton*&)'
/usr/lib/qt3/include/qlayout.h:386: note: candidates are: void
QBoxLayout::addWidget(QWidget*, int, int)
src/uic_configurebase.cc:131: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:133: error: no matching function for call to
`QGridLayout::addWidget(KColorButton*&, int, int)'
/usr/lib/qt3/include/qlayout.h:331: note: candidates are: void
QGridLayout::addWidget(QWidget*, int, int, int)
src/uic_configurebase.cc:139: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:141: error: no matching function for call to
`QGridLayout::addWidget(KColorButton*&, int, int)'
/usr/lib/qt3/include/qlayout.h:331: note: candidates are: void
QGridLayout::addWidget(QWidget*, int, int, int)
src/uic_configurebase.cc:143: error: invalid use of undefined type
`struct KFontRequester'
src/configurebase.h:29: error: forward declaration of `struct
KFontRequester'
src/uic_configurebase.cc:144: error: invalid use of undefined type
`struct KFontRequester'
src/configurebase.h:29: error: forward declaration of `struct
KFontRequester'
src/uic_configurebase.cc:144: error: invalid use of undefined type
`struct KFontRequester'
src/configurebase.h:29: error: forward declaration of `struct
KFontRequester'
src/uic_configurebase.cc:146: error: no matching function for call to
`QGridLayout::addMultiCellWidget(KFontRequester*&, int, int, int, int)'
/usr/lib/qt3/include/qlayout.h:333: note: candidates are: void
QGridLayout::addMultiCellWidget(QWidget*, int, int, int, int, int)
src/uic_configurebase.cc:156: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:158: error: no matching function for call to
`QGridLayout::addWidget(KColorButton*&, int, int)'
/usr/lib/qt3/include/qlayout.h:331: note: candidates are: void
QGridLayout::addWidget(QWidget*, int, int, int)
src/uic_configurebase.cc:164: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:166: error: no matching function for call to
`QGridLayout::addWidget(KColorButton*&, int, int)'
/usr/lib/qt3/include/qlayout.h:331: note: candidates are: void
QGridLayout::addWidget(QWidget*, int, int, int)
src/uic_configurebase.cc:172: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:174: error: no matching function for call to
`QGridLayout::addWidget(KColorButton*&, int, int)'
/usr/lib/qt3/include/qlayout.h:331: note: candidates are: void
QGridLayout::addWidget(QWidget*, int, int, int)
src/uic_configurebase.cc:192: error: invalid use of undefined type
`struct KComboBox'
src/configurebase.h:30: error: forward declaration of `struct KComboBox'
src/uic_configurebase.cc:194: error: no matching function for call to
`QGridLayout::addWidget(KComboBox*&, int, int)'
/usr/lib/qt3/include/qlayout.h:331: note: candidates are: void
QGridLayout::addWidget(QWidget*, int, int, int)
src/uic_configurebase.cc:205: error: invalid use of undefined type
`struct KIntNumInput'
src/configurebase.h:31: error: forward declaration of `struct
KIntNumInput'
src/uic_configurebase.cc:206: error: invalid use of undefined type
`struct KIntNumInput'
src/configurebase.h:31: error: forward declaration of `struct
KIntNumInput'
src/uic_configurebase.cc:207: error: invalid use of undefined type
`struct KIntNumInput'
src/configurebase.h:31: error: forward declaration of `struct
KIntNumInput'
src/uic_configurebase.cc:208: error: invalid use of undefined type
`struct KIntNumInput'
src/configurebase.h:31: error: forward declaration of `struct
KIntNumInput'
src/uic_configurebase.cc:210: error: no matching function for call to
`QGridLayout::addWidget(KIntNumInput*&, int, int)'
/usr/lib/qt3/include/qlayout.h:331: note: candidates are: void
QGridLayout::addWidget(QWidget*, int, int, int)
src/uic_configurebase.cc:222: error: no matching function for call to
`ConfigureBase::connect(KComboBox*&, const char[16],
QWidgetStack*&, const char[18])'
/usr/lib/qt3/include/qobject.h:116: note: candidates are: static bool
QObject::connect(const QObject*, const char*, const QObject*, const
char*)
/usr/lib/qt3/include/qobject.h:227: note: bool
QObject::connect(const QObject*, const char*, const char*) const
src/uic_configurebase.cc: In member function `virtual void
ConfigureBase::languageChange()':
src/uic_configurebase.cc:240: error: invalid use of undefined type
`struct KPushButton'
src/configurebase.h:20: error: forward declaration of `struct
KPushButton'
src/uic_configurebase.cc:241: error: invalid use of undefined type
`struct KPushButton'
src/configurebase.h:20: error: forward declaration of `struct
KPushButton'
src/uic_configurebase.cc:242: error: invalid use of undefined type
`struct KPushButton'
src/configurebase.h:20: error: forward declaration of `struct
KPushButton'
src/uic_configurebase.cc:251: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:253: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:255: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:257: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:259: error: invalid use of undefined type
`struct KColorButton'
src/configurebase.h:28: error: forward declaration of `struct
KColorButton'
src/uic_configurebase.cc:262: error: invalid use of undefined type
`struct KComboBox'
src/configurebase.h:30: error: forward declaration of `struct KComboBox'
src/uic_configurebase.cc:263: error: invalid use of undefined type
`struct KComboBox'
src/configurebase.h:30: error: forward declaration of `struct KComboBox'
src/uic_configurebase.cc:264: error: invalid use of undefined type
`struct KComboBox'
src/configurebase.h:30: error: forward declaration of `struct KComboBox'
src/uic_configurebase.cc:267: error: invalid use of undefined type
`struct KIntNumInput'
src/configurebase.h:31: error: forward declaration of `struct
KIntNumInput'
scons: *** [src/uic_configurebase.o] Error 1
scons: building terminated because of errors.
Logged In: YES
user_id=1193833
Yeah thats right, because there is no mandriva specific
configuration in the scons script right now. For this i need
the two information:
output of
$>lsb_release -i -s
and the path to the kde plugins for qt designer
they are usually located in "/usr/lib/qt3/plugins/designer"
just type on /
$>find -name "kdewidgets*"
Logged In: YES
user_id=918020
Here you go ;-)
[artemio@localhost ~]$ lsb_release -i -s
Mandrakelinux
[artemio@localhost ~]$ find /usr -name "kdewidgets*"
/usr/lib/kde3/plugins/designer/kdewidgets.la
/usr/lib/kde3/plugins/designer/kdewidgets.so
/usr/share/apps/kdewidgets
Logged In: YES
user_id=1193833
Ok, fixed in CVS and in the debian packages. I have to tell
Hugo to make new source packages. Until now you can get the
bugfix from
http://0x5c.net/knetstats/debian/knetstats_1.3.1-1.tar.gz
. This is actually the source for debian, so it doesnt
contain scons. You should install your Mandriva scons
package or just copy the "SConstruct" file from the debian
source archive to your old source of knetstats.
Alternatively you can download the "SConstruct" directly
from cvs. Unfortunately the web cvs is not updated yet.
See in the future here
http://cvs.sourceforge.net/viewcvs.py/knetstats/knetstats/SConstruct?rev=1.11&view=log
Have a lot of fun.
Thomas
Logged In: YES
user_id=1193833
Could you please confirm, if the bug is fixed?
Logged In: YES
user_id=456883
Anyway I will use BKSys as building tool, I think that it will also fix the
compilation problem on YellowDog linux.
BKSys auto-detect the kdelibs, directories, etc... and solve these
problems.
Logged In: YES
user_id=918020
Thanks guys! I downloaded the tarball and it compiled and installed
fine, but I see THREE icons in the tray! See the attachment.
Logged In: YES
user_id=918020
Whoops, sorry, it's okay now, I removed sit0 and lo interfaces from the
list ;-) please close this bug. Thanks a lot for your app and for the help!
Logged In: YES
user_id=456883
I'll keep it "pending" until I see that knetstats compiles
fine using BKSys on Mandriva (I'll do it sunday or monday...)
and thanks for the bug reporting and feedback =]
Logged In: YES
user_id=918020
I am very glad I was able to help. BTW it's strange why you don't use
"make" to build. Makefiles are really not that hard to create. Good luck
to you anyway, and thanks for your app!