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

Jeremy Hansen jebrhansen+SBo at gmail.com
Sat Apr 8 17:34:41 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
-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
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 your work on this SlackBuild.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170408/9fc55dcf/attachment.html>

More information about the SlackBuilds-users mailing list