#18130 closed defect (fixed)
kdegames4-devel does not compile
Reported by: | lenzen@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | kdegames kggzmod | Cc: | |
Port: | kdegames4-devel |
Description
Hi compiling of kdegames4-devel aborts with following message:
kdegames-4.1.96/libkdegames/kggzmod/misc_private.h: In function ‘bool KGGZMod::readfiledescriptor(int, int*)’: kdegames-4.1.96/libkdegames/kggzmod/misc_private.h:76: error: ‘ALIGN’ was not declared in this scope kdegames-4.1.96/libkdegames/kggzmod/misc_private.h:76: error: array bound is not an integer constant kdegames-4.1.96/libkdegames/kggzmod/misc_private.h:78: error: conflicting declaration ‘QVarLengthArray<char, 256> control_un’ kdegames-4.1.96/libkdegames/kggzmod/misc_private.h:77: error: ‘control_un’ has a previous declaration as ‘KGGZMod::readfiledescriptor(int, int*)::<anonymous union> control_un’ kdegames-4.1.96/libkdegames/kggzmod/misc_private.h:81: error: ‘union KGGZMod::readfiledescriptor(int, int*)::<anonymous>’ has no member named ‘data’ kdegames-4.1.96/libkdegames/kggzmod/misc_private.h:82: error: ‘union KGGZMod::readfiledescriptor(int, int*)::<anonymous>’ has no member named ‘size’ make[2]: *** [libkdegames/kggzmod/CMakeFiles/kggzmod.dir/module.o] Error 1 make[1]: *** [libkdegames/kggzmod/CMakeFiles/kggzmod.dir/all] Error 2 make: *** [all] Error 2
Workaround:
to disable games using kggzmod/kggzgames
# sudo port edit kdegames4-devel
append to configure.args
\ -DBUILD_kbattleship=off \ -DBUILD_kreversi=off \ -DBUILD_ksirk=off \ -DBUILD_ksquares=off
after first compile interruption # sudo vi kdegames-4.1.96/libkdegames/CMakeLists.txt
add_subdirectory( tests ) add_subdirectory( kggznet ) #add_subdirectory( kggzgames ) #add_subdirectory( kggzmod )
continue installation with # sudo port install kdegames4-devel
have fun...
Change History (2)
comment:1 Changed 16 years ago by illogic-al@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Thanks for the report. Fixed in r46397.