Following steps were followed:
./configure --host=mingw32 --prefix==/cygdrive/c/source/vc/mixer/libmad
Configure step goes fine. The prefix is the dir I want to install to e.g. c:\source\vc\mixer\libmad which already exists.
make also works fine
make install goes like this:
-------------------------------------------------------------------------------- $ make install make install-recursive make[1]: Entering directory `/cygdrive/c/source/vc/mixer/libmad-0.15.0b/libmad-0 .15.0b' make[2]: Entering directory `/cygdrive/c/source/vc/mixer/libmad-0.15.0b/libmad-0 .15.0b' make[3]: Entering directory `/cygdrive/c/source/vc/mixer/libmad-0.15.0b/libmad-0 .15.0b' /bin/bash ./mkinstalldirs /cygdrive/c/source/vc/mixer/libmad/lib /bin/bash ./libtool --mode=install /usr/bin/install -c libmad.la /cygdrive/c/s ource/vc/mixer/libmad/lib/libmad.la /usr/bin/install -c .libs/libmad.lai /cygdrive/c/source/vc/mixer/libmad/lib/libm ad.la /usr/bin/install -c .libs/libmad.a /cygdrive/c/source/vc/mixer/libmad/lib/libmad .a ranlib /cygdrive/c/source/vc/mixer/libmad/lib/libmad.a c:\mingw\bin\ranlib.exe: /cygdrive/c/source/vc/mixer/libmad/lib/libmad.a: No suc h file or directory make[3]: *** [install-libLTLIBRARIES] Error 9 make[3]: Leaving directory `/cygdrive/c/source/vc/mixer/libmad-0.15.0b/libmad-0. 15.0b' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/cygdrive/c/source/vc/mixer/libmad-0.15.0b/libmad-0. 15.0b' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/cygdrive/c/source/vc/mixer/libmad-0.15.0b/libmad-0. 15.0b' make: *** [install] Error 2 --------------------------------------------------------------------------------
It looks like ranlib is being passed the cygwin version of the path but it doesn't recognize it as it's part of mingw and only allows normal Windows paths. What shall I do about this?
[Note Reply-To.]
On Nov 14, 2003, at 12:52 PM, Jedediah Smith wrote:
Following steps were followed:
./configure --host=mingw32 --prefix==/cygdrive/c/source/vc/mixer/libmad
Configure step goes fine. The prefix is the dir I want to install to e.g. c:\source\vc\mixer\libmad which already exists.
[...]
ranlib /cygdrive/c/source/vc/mixer/libmad/lib/libmad.a c:\mingw\bin\ranlib.exe: /cygdrive/c/source/vc/mixer/libmad/lib/libmad.a: No such file or directory
[...]
It looks like ranlib is being passed the cygwin version of the path but it doesn't recognize it as it's part of mingw and only allows normal Windows paths. What shall I do about this?
I think both Cygwin and Mingw understand Windows paths, so try:
./configure --host=mingw32 --prefix='C:\source\vc\mixer\libmad'
If not you can just install the library by hand; libmad doesn't hardcode any paths from the configured prefix, so it's safe to omit.