Sorry if this is very newbie-ish, but then, I am a newbie
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.
Just a guess… but I’d bet it’s all those missing things
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
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
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
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.
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:-
install it into c: drive so you will have c:\gcc-2.95.2… directory
structure
download and install libsdl into c:\SDL-1.2.0… directory structure
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).
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.
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
You can now run the bash shell by just typing in sh
In bash, change directory to SDL by: cd /SDL-1.2.0
run “./configure”
if no error run “make --unix”.
run “make --unix install”. With any luck you should see SDL.dll in /lib
copy /SDL-1.2.0/sdl-config to /bin
cd into the test directory: cd /SDL-1.2.0/test
build the test programs by entering “make --unix”
I’ve recited this from memory so please excuse me for errors.
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
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.