Help installing SDL Please

Sorry if this is very newbie-ish, but then, I am a newbie :slight_smile:

I just tried to install mingw32 on my computer (which works) and
SDL-1.2.0 (which doesn’t). The configure script dumps this error…

SH.EXE-2.02$ sh ./configure
loading cache ./config.cache
checking for a BSD compatible install… ./install-sh -c
checking whether build environment is sane… yes
checking whether make sets ${MAKE}… yes
checking for working aclocal… missing
checking for working autoconf… missing
checking for working automake… missing
checking for working autoheader… missing
checking for working makeinfo… missing
configure: error: can not run ./config.sub

Any clue what I’m doing wrong? And yes, both bin directories from the
mingw32 install were on the path.

Thanks…

Just a guess… but I’d bet it’s all those missing things :wink:

I would first check that you have all the developmental tools you need
installed… and then try again.On Fri, 06 Apr 2001, you wrote:

Sorry if this is very newbie-ish, but then, I am a newbie :slight_smile:

I just tried to install mingw32 on my computer (which works) and
SDL-1.2.0 (which doesn’t). The configure script dumps this error…

SH.EXE-2.02$ sh ./configure
loading cache ./config.cache
checking for a BSD compatible install… ./install-sh -c
checking whether build environment is sane… yes
checking whether make sets ${MAKE}… yes
checking for working aclocal… missing
checking for working autoconf… missing
checking for working automake… missing
checking for working autoheader… missing
checking for working makeinfo… missing
configure: error: can not run ./config.sub

–
Sam “Criswell” Hart <@Sam_Hart> AIM, Yahoo!:
Homepage: < http://www.geekcomix.com/snh/ >
PGP Info: < http://www.geekcomix.com/snh/contact/ >
Advogato: < http://advogato.org/person/criswell/ >

I have this problem on my NT machine at work, and although I never
solved it, I know it’s related to the fact that /bin/sh cannot be
found. Try doing “ls /bin” from the bash prompt, and see if it
complains about not being able to find /bin (even though it is listed if
you do “ls /”).

I think in my case it has to do with a previous Cygwin installation that
has since been removed. Bash is likely using a registry setting to
determine where /bin is, but the path no linger exists on my machine.
I’m not sure what to look for in the registry to fix it, however.

-Karl

cphonx wrote:>

Sorry if this is very newbie-ish, but then, I am a newbie :slight_smile:

I just tried to install mingw32 on my computer (which works) and
SDL-1.2.0 (which doesn’t). The configure script dumps this error…

SH.EXE-2.02$ sh ./configure
loading cache ./config.cache
checking for a BSD compatible install… ./install-sh -c
checking whether build environment is sane… yes
checking whether make sets ${MAKE}… yes
checking for working aclocal… missing
checking for working autoconf… missing
checking for working automake… missing
checking for working autoheader… missing
checking for working makeinfo… missing
configure: error: can not run ./config.sub

Any clue what I’m doing wrong? And yes, both bin directories from the
mingw32 install were on the path.

Thanks…

In the past week I’ve managed to build all of libsdl (including the test
executables which run correctly) on my WinNT PC and then on my Win98 Sony
Vaio by using the gcc ming32 compiler (I don’t have VC++ or Borland). I
believe the test execs. work on WinNT since they’re using OpenGL???

I’m sure there is a cleaner way since I don’t know about “configure” too
well, and most of it was done by trial and error. I found the easiest way
was to install everything into the c: drive. Anyway the steps I think I took
were:-

  1. download mingw32 from http://www.libsdl.org/Xmingw32/mingw32.zip
  2. install it into c: drive so you will have c:\gcc-2.95.2… directory
    structure
  3. download and install libsdl into c:\SDL-1.2.0… directory structure
  4. Create a directory c:\bin and copy the c:\gcc-2.95.2\bin\sh.exe into it.
    (This is to let shell scripts which specify the shell in /bin/sh to run).
  5. Add c:\gcc-2.95.2\bin, c:\bin and c:\lib to your PATH (for WinNT use the
    Control Panel or Win98 use autoexec.bat). You need c:\lib because thats
    where SDL.dll will end up.
  6. Setup LDFLAGS env var to “-L/gcc-2.95.2/i386-mingw32msvc/lib”. You need
    this so that the linker can find libuser32.a, libgdi32.a, libwinmm.a,
    libdxguid.a
  7. You can now run the bash shell by just typing in sh
  8. In bash, change directory to SDL by: cd /SDL-1.2.0
  9. run “./configure”
  10. if no error run “make --unix”.
  11. run “make --unix install”. With any luck you should see SDL.dll in /lib
  12. copy /SDL-1.2.0/sdl-config to /bin
  13. cd into the test directory: cd /SDL-1.2.0/test
  14. build the test programs by entering “make --unix”

I’ve recited this from memory so please excuse me for errors.

Hope this helps & good luck!

Bharat> ----- Original Message -----

From: Karl Garrison [mailto:kdgarrison@home.com]
Sent: 11 April 2001 15:00
To: sdl at lokigames.com
Subject: [SDL] Re: Help installing SDL Please

I have this problem on my NT machine at work, and although I never
solved it, I know it’s related to the fact that /bin/sh cannot be
found. Try doing “ls /bin” from the bash prompt, and see if it
complains about not being able to find /bin (even though it is listed if
you do “ls /”).

I think in my case it has to do with a previous Cygwin installation that
has since been removed. Bash is likely using a registry setting to
determine where /bin is, but the path no linger exists on my machine.
I’m not sure what to look for in the registry to fix it, however.

-Karl

cphonx wrote:

Sorry if this is very newbie-ish, but then, I am a newbie :slight_smile:

I just tried to install mingw32 on my computer (which works) and
SDL-1.2.0 (which doesn’t). The configure script dumps this error…

SH.EXE-2.02$ sh ./configure
loading cache ./config.cache
checking for a BSD compatible install… ./install-sh -c
checking whether build environment is sane… yes
checking whether make sets ${MAKE}… yes
checking for working aclocal… missing
checking for working autoconf… missing
checking for working automake… missing
checking for working autoheader… missing
checking for working makeinfo… missing
configure: error: can not run ./config.sub

Any clue what I’m doing wrong? And yes, both bin directories from the
mingw32 install were on the path.

Thanks…


This communication is confidential and is intended only for
the person to whom it is addressed. If you are not that person you
are not permitted to make use of the information and you are requested
to notify <mailto:LONIB.Postmaster at commerzbankib.com> immediately that
you have received it and then destroy the copy in your possession.
Commerzbank AG is regulated by the SFA for the conduct of investment
business in the UK.