First post, by James-F
- Rank
- Oldbie
I've been trying for 3 days to compile dosbox using MinGW according to this guide: https://www.dosbox.com/wiki/Building_DOSBox_with_MinGW
I have followed word by word using Copy and Paste (no typing) in MSYS.
There is something wrong with the OGG, Vorbis and SDL_Sound ./configure and make/ make install commands.
Everything seems to be fine here:
Admin@Desky-i7 ~/libogg-1.3.2 $ make make all-recursive make[1]: Entering directory `/home/Admin/libogg-1.3.2' Making all in sr […]
Admin@Desky-i7 ~/libogg-1.3.2
$ make
make all-recursive
make[1]: Entering directory `/home/Admin/libogg-1.3.2'
Making all in src
make[2]: Entering directory `/home/Admin/libogg-1.3.2/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../
include -I../include -O20 -fsigned-char -g -O2 -MT framing.lo -MD -MP -MF .de
ps/framing.Tpo -c -o framing.lo framing.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O20 -
fsigned-char -g -O2 -MT framing.lo -MD -MP -MF .deps/framing.Tpo -c framing.c -o
framing.o
mv -f .deps/framing.Tpo .deps/framing.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../
include -I../include -O20 -fsigned-char -g -O2 -MT bitwise.lo -MD -MP -MF .de
ps/bitwise.Tpo -c -o bitwise.lo bitwise.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O20 -
fsigned-char -g -O2 -MT bitwise.lo -MD -MP -MF .deps/bitwise.Tpo -c bitwise.c -o
bitwise.o
mv -f .deps/bitwise.Tpo .deps/bitwise.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -O20 -fsigned-char -g -O2 -no-un
defined -version-info 8:2:8 -o libogg.la -rpath /mingw/lib framing.lo bitwise.l
o
libtool: link: ar cru .libs/libogg.a framing.o bitwise.o
libtool: link: ranlib .libs/libogg.a
libtool: link: ( cd ".libs" && rm -f "libogg.la" && cp -pR "../libogg.la" "libog
g.la" )
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -D_V_SELFTEST -O20 -fsi
gned-char -g -O2 -MT test_bitwise-bitwise.o -MD -MP -MF .deps/test_bitwise-bitwi
se.Tpo -c -o test_bitwise-bitwise.o `test -f 'bitwise.c' || echo './'`bitwise.c
mv -f .deps/test_bitwise-bitwise.Tpo .deps/test_bitwise-bitwise.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -D_V_SELFTEST -O20 -fsigned-char
-g -O2 -o test_bitwise.exe test_bitwise-bitwise.o
libtool: link: gcc -D_V_SELFTEST -O20 -fsigned-char -g -O2 -o test_bitwise.exe t
est_bitwise-bitwise.o
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -D_V_SELFTEST -O20 -fsi
gned-char -g -O2 -MT test_framing-framing.o -MD -MP -MF .deps/test_framing-frami
ng.Tpo -c -o test_framing-framing.o `test -f 'framing.c' || echo './'`framing.c
mv -f .deps/test_framing-framing.Tpo .deps/test_framing-framing.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -D_V_SELFTEST -O20 -fsigned-char
-g -O2 -o test_framing.exe test_framing-framing.o
libtool: link: gcc -D_V_SELFTEST -O20 -fsigned-char -g -O2 -o test_framing.exe t
est_framing-framing.o
make[2]: Leaving directory `/home/Admin/libogg-1.3.2/src'
Making all in include
make[2]: Entering directory `/home/Admin/libogg-1.3.2/include'
Making all in ogg
make[3]: Entering directory `/home/Admin/libogg-1.3.2/include/ogg'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Admin/libogg-1.3.2/include/ogg'
make[3]: Entering directory `/home/Admin/libogg-1.3.2/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/Admin/libogg-1.3.2/include'
make[2]: Leaving directory `/home/Admin/libogg-1.3.2/include'
Making all in doc
make[2]: Entering directory `/home/Admin/libogg-1.3.2/doc'
Making all in libogg
make[3]: Entering directory `/home/Admin/libogg-1.3.2/doc/libogg'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Admin/libogg-1.3.2/doc/libogg'
make[3]: Entering directory `/home/Admin/libogg-1.3.2/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/Admin/libogg-1.3.2/doc'
make[2]: Leaving directory `/home/Admin/libogg-1.3.2/doc'
make[2]: Entering directory `/home/Admin/libogg-1.3.2'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/Admin/libogg-1.3.2'
make[1]: Leaving directory `/home/Admin/libogg-1.3.2'
The problem starts with the "make install" command of the libogg-1.3.2.
Admin@Desky-i7 ~/libogg-1.3.2 $ make install Making install in src make[1]: Entering directory `/home/Admin/libogg-1.3.2/src' ma […]
Admin@Desky-i7 ~/libogg-1.3.2
$ make install
Making install in src
make[1]: Entering directory `/home/Admin/libogg-1.3.2/src'
make[2]: Entering directory `/home/Admin/libogg-1.3.2/src'
/bin/mkdir -p '/mingw/lib'
/bin/sh ../libtool --mode=install /bin/install -c libogg.la '/mingw/lib'
libtool: install: /bin/install -c .libs/libogg.lai /mingw/lib/libogg.la
libtool: install: /bin/install -c .libs/libogg.a /mingw/lib/libogg.a
libtool: install: chmod 644 /mingw/lib/libogg.a
libtool: install: ranlib /mingw/lib/libogg.a
/bin/sh: /home/Admin: No such file or directory
make[2]: *** [install-libLTLIBRARIES] Error 127
make[2]: Leaving directory `/home/Admin/libogg-1.3.2/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/Admin/libogg-1.3.2/src'
make: *** [install-recursive] Error 1
After that I can't ./configure Vorbis because it can't find OGG.
checking for Ogg... no *** Could not run Ogg test program, checking why... *** The test program failed to compile or link. See t […]
checking for Ogg... no
*** Could not run Ogg 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 Ogg was incorrectly installed
*** or that you have moved Ogg since it was installed.
configure: error: must have Ogg installed!
Obviously SDL-Sound has also errors because No Ogg or Vorbis have been installed.
If it doesn't work for me, it probably doesn't work for many other people who ignorantly following the guide word by word (like me). 😢
Anyone?