haskell-game/sdl2-mixer

sld2-mixer build failure on Stackage nightly

decentral1se opened this issue · 2 comments

> /tmp/stackage-build13$ stack unpack sdl2-mixer-0.1
Unpacked sdl2-mixer-0.1 to /tmp/stackage-build13/sdl2-mixer-0.1/
> /tmp/stackage-build13/sdl2-mixer-0.1$ ghc -clear-package-db -global-package-db -package-db=/var/stackage/work/builds/nightly/pkgdb Setup
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking Setup ...
> /tmp/stackage-build13/sdl2-mixer-0.1$ ./Setup configure --package-db=clear --package-db=global --package-db=/var/stackage/work/builds/nightly/pkgdb --libdir=/var/stackage/work/builds/nightly/lib --bindir=/var/stackage/work/builds/nightly/bin --datadir=/var/stackage/work/builds/nightly/share --libexecdir=/var/stackage/work/builds/nightly/libexec --sysconfdir=/var/stackage/work/builds/nightly/etc --docdir=/var/stackage/work/builds/nightly/doc/sdl2-mixer-0.1 --htmldir=/var/stackage/work/builds/nightly/doc/sdl2-mixer-0.1 --haddockdir=/var/stackage/work/builds/nightly/doc/sdl2-mixer-0.1 --flags=
Configuring sdl2-mixer-0.1...
Setup: The pkg-config package 'SDL2_mixer' version >=2.0.0 is required but it
could not be found.
akhra commented

Setup: The pkg-config package 'SDL2_mixer' version >=2.0.0 is required but it could not be found.

This means exactly what it says. :) You're missing an external dependency. It's a separate library from SDL2 itself.

Ah, will sort that out then, thanks!