[Slackbuilds-users] xonotic build failure -- needs SDL2 added to REQUIRES

Willy Sudiarto Raharjo willysr at slackbuilds.org
Sat Apr 8 18:59:48 UTC 2017


> I attempted to upgrade my xonotic package, but I came across this failure:
> 
> cc -MMD  -DDP_FS_BASEDIR=\"/usr/share/xonotic\" -Wall
> -Wold-style-definition -Wstrict-prototypes -Wsign-compare
> -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB
> -DLINK_TO_LIBJPEG    -D_FILE_OFF
> SET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -DCONFIG_MENU -DCONFIG_CD
> -DCONFIG_VIDEO_CAPTURE -O2 -fPIC -DSUPPORTIPV6  -O3 -fno-strict-aliasing
> -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-sign
> aling-nans -fno-trapping-math -c ../../../sys_linux.c -o sys_linux.o
> /bin/sh: sdl2-config: command not found
> ../../../sys_sdl.c:21:17: fatal error: SDL.h: No such file or directory
> compilation terminated.
> makefile.inc:515: recipe for target 'sys_sdl.o' failed
> make[3]: *** [sys_sdl.o] Error 1
> make[3]: Leaving directory
> '/tmp/SBo/xonotic-0.8.2/source/darkplaces/build-obj/release/darkplaces-sdl'
> makefile.inc:451: recipe for target 'bin-release' failed
> make[2]: *** [bin-release] Error 2
> make[2]: Leaving directory '/tmp/SBo/xonotic-0.8.2/source/darkplaces'
> makefile.inc:416: recipe for target 'sdl-release' failed
> make[1]: *** [sdl-release] Error 2
> 
> It seems to be missing a requirement for SDL2. If I add SDL2 to my system,
> it compiles fine.
> 
> I cc'ed the SlackBuilds mailing list in case an admin wants to update it
> right away.

Thanks for reporting

It's fixed on my branch now


-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170409/3f1ca48c/attachment.asc>


More information about the SlackBuilds-users mailing list