This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kmymoney-3.98.1 slackware 13.1 KDE 4.4.3 compile error

Tags: None
(comma "," separated)
tuubaaku
Registered Member
Posts
8
Karma
0
Got this error:

Code: Select all
[ 19%] Generating ui_userinfodecl.h
'kActiveLabel1' isn't a valid widget                                                                                                                                               
[ 19%] Generating ui_accountsdecl.h
[ 19%] Generating ui_currencydecl.h                                                                                                                                                 
Scanning dependencies of target wizardpages                                                                                                                                         
[ 19%] Building CXX object kmymoney/wizards/wizardpages/CMakeFiles/wizardpages.dir/wizardpages_automoc.o                                                                           
[ 20%] Building CXX object kmymoney/wizards/wizardpages/CMakeFiles/wizardpages.dir/accounts.o                                                                                       
In file included from /home/me/programs/kmymoney-3.98.1/build/kmymoney/wizards/wizardpages/ui_accountsdecl.h:25,                                                                   
                 from /home/me/programs/kmymoney-3.98.1/kmymoney/wizards/wizardpages/accounts.h:27,
                 from /home/me/programs/kmymoney-3.98.1/kmymoney/wizards/wizardpages/accounts.cpp:18:
/home/me/programs/kmymoney-3.98.1/kmymoney/widgets/kaccounttemplateselector.h:32:45: error: ui_kaccounttemplateselectordecl.h: No such file or directory
In file included from /home/me/programs/kmymoney-3.98.1/build/kmymoney/wizards/wizardpages/ui_accountsdecl.h:25,
                 from /home/me/programs/kmymoney-3.98.1/kmymoney/wizards/wizardpages/accounts.h:27,
                 from /home/me/programs/kmymoney-3.98.1/kmymoney/wizards/wizardpages/accounts.cpp:18:
/home/me/programs/kmymoney-3.98.1/kmymoney/widgets/kaccounttemplateselector.h:36: error: 'Ui' has not been declared
/home/me/programs/kmymoney-3.98.1/kmymoney/widgets/kaccounttemplateselector.h:36: error: expected '{' before 'KAccountTemplateSelectorDecl'
/home/me/programs/kmymoney-3.98.1/kmymoney/widgets/kaccounttemplateselector.h:37: error: invalid type in declaration before '{' token
/home/me/programs/kmymoney-3.98.1/kmymoney/widgets/kaccounttemplateselector.h:37: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
/home/me/programs/kmymoney-3.98.1/kmymoney/widgets/kaccounttemplateselector.h:38: error: expected primary-expression before 'public'
/home/me/programs/kmymoney-3.98.1/kmymoney/widgets/kaccounttemplateselector.h:38: error: expected '}' before 'public'
/home/me/programs/kmymoney-3.98.1/kmymoney/widgets/kaccounttemplateselector.h:38: error: expected ',' or ';' before 'public'
/home/me/programs/kmymoney-3.98.1/kmymoney/widgets/kaccounttemplateselector.h:42: error: expected declaration before '}' token
make[2]: *** [kmymoney/wizards/wizardpages/CMakeFiles/wizardpages.dir/accounts.o] Error 1
make[1]: *** [kmymoney/wizards/wizardpages/CMakeFiles/wizardpages.dir/all] Error 2
make: *** [all] Error 2


Any thoughts?


tuubaaku, proud to be a member of KDE forums since 2008-Oct.
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS
did you set the install prefix to /usr?


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
tuubaaku
Registered Member
Posts
8
Karma
0
thanks, that worked. I wanted to install it to /usr/local, though - I guess there's no way to do that?


tuubaaku, proud to be a member of KDE forums since 2008-Oct.
User avatar
vbatts
Registered Member
Posts
102
Karma
0
OS
@tuubaaku is *is* possible, but it will want to link to the rest of your kde installation. by default on slackware, that prefix is /usr
if you wanted to cleanly manage it, you could adapt the SlackBuild for kmymoney2-1.0.0 from SBo to compile and create a slackware package (http://slackbuilds.org/repository/13.1/ ... kmymoney2/). that way you can install or upgrade it as needed.


vbatts, proud to be a member of KDE forums since 2008-Sep.

http://hashbangbash.com/
User avatar
gegechris99
Registered Member
Posts
8
Karma
0
OS
FYI,

A Slackbuild script is now available in SBo for version 3.98.1:

http://slackbuilds.org/repository/13.1/office/kmymoney/
User avatar
vbatts
Registered Member
Posts
102
Karma
0
OS
@gegechris99 thanks for the follow up



ps woot! my 100th post :)


vbatts, proud to be a member of KDE forums since 2008-Sep.

http://hashbangbash.com/


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]