[MacPorts] #18130: kdegames4-devel does not compile
MacPorts
noreply at macports.org
Wed Jan 21 00:30:13 PST 2009
#18130: kdegames4-devel does not compile
---------------------------------+------------------------------------------
Reporter: lenzen@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: kdegames kggzmod | Port: kdegames4-devel
---------------------------------+------------------------------------------
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...
--
Ticket URL: <http://trac.macports.org/ticket/18130>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list