Where sdl-config is installed on MacOS 10.6 (Snow Leopard)

After installing SDL and SDL-devel on MacOS X 10.6 (Snow Leopard), trying to set up some source code that requires getting SDL:

checking for sdl-config... no checking for SDL - version >= 1.2.0... no *** The sdl-config script installed by SDL could not be found *** If SDL was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the SDL_CONFIG environment variable to the *** full path to sdl-config. configure: error: *** SDL version 1.2.0 not found! 

Does anyone know where to find sdl-config? I think I can build SDL from the source code, but why do I need it when there are ready-made packages?

+6
sdl macos
source share
3 answers

I had the same problem.

I found out that sdl-config was installed in two places:

  • / SW / bin / SDL configurations

and

  • / Opt / local / bin / sdl configuration

In what is in / sw / bin, I changed the prefix to / opt / local - then it worked.

+1
source share

you can use macports to install libsdl or libsdl-devel (v1.2 or v1.3)

http://www.macports.org/

after installing macports to install type libsdl port install libsdl

it will install sdl-config in / opt / local / bin

+15
source share

The result you are showing is setting up a unix style for automake. According to this site: http://www.libsdl.org/faq.php?action=listentries&category=7 (second and third questions), you cannot use dmg (which you specified for the link), since setting the style is unix directly. See the links on the page above to install DarwinPorts or Fink or, indeed, you will need to create it from the source, as described on the page.

To answer your question, you must find the libraries in / Library / Frameworks /.

0
source share

All Articles