Haskell SDL-mixer compilation error -
i trying install sdl-mixer haskell package using "cabal install sdl-mixer". when so, gives error
resolving dependencies... [1 of 1] compiling main ( /tmp/sdl-mixer-0.6.1-10381/sdl-mixer-0.6.1/setup.lhs, /tmp/sdl-mixer-0.6.1-10381/sdl-mixer-0.6.1/dist/setup/main.o ) linking /tmp/sdl-mixer-0.6.1-10381/sdl-mixer-0.6.1/dist/setup/setup ... configuring sdl-mixer-0.6.1... configure: warning: unrecognized options: --with-compiler, --with-gcc checking sdl-config... /usr/bin/sdl-config checking gcc... gcc checking whether c compiler works... no configure: error: in `/tmp/sdl-mixer-0.6.1-10381/sdl-mixer-0.6.1': configure: error: c compiler cannot create executables see `config.log' more details. failed install sdl-mixer-0.6.1 cabal: error: packages failed install: sdl-mixer-0.6.1 failed during configure step. exception was: exitfailure 77
if makes difference, on arch linux. how install package?
make sure have installed libsdl-mixer prerequisite.
Comments
Post a Comment