SDL: Simple DirectMedia Layer
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.
[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
[ 11-24-2002: Message edited by: Proud iBook Owner 2k2 ]</p>
"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...
<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.
<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?