haskell-game / sdl2-mixer

Haskell bindings to SDL2_mixer.
BSD 3-Clause "New" or "Revised" License
12 stars 10 forks source link

sld2-mixer build failure on Stackage nightly #2

Closed decentral1se closed 7 years ago

decentral1se commented 7 years ago
> /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 7 years ago

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.

decentral1se commented 7 years ago

Ah, will sort that out then, thanks!