Cannot use libsdl on Macos X

Hi all,

I want to porting a Amstrad PCW emulator for UNIX on Macos X. I have
installed SDL-1.2.8 in /usr/local. but the ./configure script from the
emulator cannot find the SDL. i get this error :

checking for sdl-config… /usr/local/bin/sdl-config
checking for SDL - version >= 1.0.8… no
*** Could not run SDL test program, checking why…
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /usr/local/bin/sdl-config
configure: error: *** SDL version 1.0.8 not found!

any suggestion?

Lukas Pratama

Lukas Pratama wrote:

Hi all,

I want to porting a Amstrad PCW emulator for UNIX on Macos X. I have
installed SDL-1.2.8 in /usr/local. but the ./configure script from the
emulator cannot find the SDL. i get this error :

checking for sdl-config… /usr/local/bin/sdl-config
checking for SDL - version >= 1.0.8… no
*** Could not run SDL test program, checking why…
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /usr/local/bin/sdl-config
configure: error: *** SDL version 1.0.8 not found!

any suggestion?

To get sdl-config on Mac OS X, you need to install SDL from source,
rather than binaries.

i did. i compiled it from source and successed. but the ./configure script
seem cannot to use the sdl-config. it didint pass the SDL test from the
emulator… with error " Cannot found SDL/SDL.h … "On Wed, 11 May 2005 21:13:54 +0200, Bill May wrote:

Lukas Pratama wrote:

Hi all,
I want to porting a Amstrad PCW emulator for UNIX on Macos X. I have
installed SDL-1.2.8 in /usr/local. but the ./configure script from the
emulator cannot find the SDL. i get this error :
checking for sdl-config… /usr/local/bin/sdl-config
checking for SDL - version >= 1.0.8… no
*** Could not run SDL test program, checking why…
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means SDL was incorrectly
installed
*** or that you have moved SDL since it was installed. In the latter
case, you
*** may want to edit the sdl-config script: /usr/local/bin/sdl-config
configure: error: *** SDL version 1.0.8 not found!
any suggestion?

To get sdl-config on Mac OS X, you need to install SDL from source,
rather than binaries.


Using Opera’s revolutionary e-mail client: http://www.opera.com/mail/

Make sure sdl-config is in your path.

Lukas Pratama wrote:> i did. i compiled it from source and successed. but the ./configure

script seem cannot to use the sdl-config. it didint pass the SDL test
from the emulator… with error " Cannot found SDL/SDL.h … "

On Wed, 11 May 2005 21:13:54 +0200, Bill May <@Bill_May> wrote:

Lukas Pratama wrote:

Hi all,
I want to porting a Amstrad PCW emulator for UNIX on Macos X. I have
installed SDL-1.2.8 in /usr/local. but the ./configure script from the
emulator cannot find the SDL. i get this error :
checking for sdl-config… /usr/local/bin/sdl-config
checking for SDL - version >= 1.0.8… no
*** Could not run SDL test program, checking why…
*** The test program failed to compile or link. See the file
config.log for the
*** exact error that occured. This usually means SDL was incorrectly
installed
*** or that you have moved SDL since it was installed. In the latter
case, you
*** may want to edit the sdl-config script: /usr/local/bin/sdl-config
configure: error: *** SDL version 1.0.8 not found!
any suggestion?

To get sdl-config on Mac OS X, you need to install SDL from source,
rather than binaries.