[SDL] Issues building SDL_mixer with mingw / msys

James Barrett xucaen at gmail.com
Sun Jul 22 13:19:28 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brian Kropf wrote:
> Has anyone else been able to build SDL_mixer with Mingw / Msys?  I'd
> really like to be able to use SDL_mixer again, but whenever I try to run
> configure it fails before completing with the following errors:
>
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: WARNING:  Makefile.in seems to ignore the --datarootdir
> setting
> config.status: creating SDL_mixer.spec
> config.status: creating SDL_mixer.qpg
> config.status: executing default commands
> /bin/sh: -c: line 1: unexpected EOF while looking for matching `"'
> /bin/sh: -c: line 2: syntax error: unexpected end of file
> make: *** [depend] Error 2

Hi, I ran into something like that when I was trying to build
SDL_mixer. I ran dos2unix on all the files to change the DOS end of
line to a unix style end of line. Not sure if this is what is causing
your error though, but it might be worth a try.

Another thing I found out was that the SDL packages all seemed to
treat the windows INCLUDE environment variable differently. I think
SDL_image (or it may have been mixer, I can't recall now), for
example, could not handle the C:\ in the include path that I had set.
I had to set the variable to blank, then add my include paths (like
/usr/include) directly to the Makefile before running make. I also had
to do the same with my windows LIB environment variable.

Needless to say I had a hec of a time getting these to build using
Msys, but finally I did manage to get everything built and working.


Jim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGo7vQQuDJiZ/QrH0RAvwDAKDJvu8Iq/X5tJ+typJZV/N2zqbrEgCcDql5
jiHrUj8g6LaTG8JSxJlzEK0=
=eNQM
-----END PGP SIGNATURE-----



More information about the SDL mailing list