SDL: Simple DirectMedia Layer

Posted:
in Mac Software edited January 2014
Hi all. I finally downloaded and installed the Dev Tools and I've started to compile some programs. But no matter what I do theres this one error that pops up:





[quote] loading cache ./config.cache

checking host system type... powerpc-apple-darwin6.2

checking target system type... powerpc-apple-darwin6.2

checking for a BSD compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking whether make sets ${MAKE}... yes

checking for working aclocal... found

checking for working autoconf... found

checking for working automake... found

checking for working autoheader... found

checking for working makeinfo... found

checking whether to enable GP32 emulation... (cached) no

checking whether to enable C core... (cached) yes

checking whether to enable development features... (cached) yes

checking whether to use mmx... (cached) no

checking for gcc... gcc

checking whether the C compiler (gcc ) works... yes

checking whether the C compiler (gcc ) is a cross-compiler... no

checking whether we are using GNU C... yes

checking whether gcc accepts -g... yes

checking for bison... bison -y

checking how to run the C preprocessor... gcc -E -traditional-cpp

checking for flex... flex

checking for flex... (cached) flex

checking for yywrap in -lfl... yes

checking lex output file root... lex.yy

checking whether yytext is a pointer... yes

checking for gcc... gcc

checking whether the C++ compiler (gcc ) works... yes

checking whether the C++ compiler (gcc ) is a cross-compiler... no

checking whether we are using GNU C++... yes

checking whether gcc accepts -g... yes

checking for ranlib... ranlib

checking build system type... powerpc-apple-darwin6.2

checking for nasm... nasm

checking for sdl-config... no

checking for SDL - version >= 1.2.2... 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.2 not found! <hr></blockquote>



I installed version 1.2.4 because I couldnt find 1.2.2. No matter what I do thats what error I get. Can anyone help? Brad? Also I installed the port of RPM for Mac OS X and my terminal doesnt seem to detect that its installed.



Thanx in advance ppl.

Comments

  • Reply 1 of 6
    anyone?
  • Reply 2 of 6
    I think i know what ive been doing wrong. I compiled SDL but i didnt "make install" it. I tried that and it tried to access the /usr/bin folder. How do I gain access to that folder?



    [ 11-24-2002: Message edited by: Proud iBook Owner 2k2 ]</p>
  • Reply 3 of 6
    ok well I've manually gained access to those directories and i make install-ed SDL. But theres still a problem. The program I'm trying to compile and install, Visualboy Advance, cant find where SDL is installed. It says that it cant find SDL 1.2.2. I installed 1.2.5. Would that matter that its a higher version than its looking for? How do I tell the configuration file where the SDL-config file is? What file do I have to edit?
  • Reply 4 of 6
    chuckerchucker Posts: 5,089member
    You should be doing this as a root, otherwise, you'll be running into permission problems all the time.



    "make" compiles an app, "make install" actually copies the compiled parts to where they belong!



    Before you run "make", you'll usually run "./configure --help" and see how you can configure it. You can usually configure the target directory, for example. Run "./configure" with the parameters then. You may also just want to "./configure" it normally...
  • Reply 5 of 6
    kickahakickaha Posts: 8,760member
    Read the error message:



    <strong>*** 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.</strong>



    Set your path to include where sdl-config is, or set SDL_CONFIG in your shell.
  • Reply 6 of 6
    [quote]Originally posted by Kickaha:

    <strong>Read the error message:



    [qb]*** 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.</strong>



    Set your path to include where sdl-config is, or set SDL_CONFIG in your shell.[/QB]<hr></blockquote>



    Thats just the thing... How do I do that? How do I set the path?
Sign In or Register to comment.