Re: [mad-user] Build problem with cygwin/mingw

Jedediah Smith <[email protected]>
Newsgroups gmane.comp.audio.mad.devel
Message-ID <[email protected]>
This doesn't work.. error looks like this:

/usr/bin/install -c .libs/libmad.lai 
c:\source\vc\mixer\libmad/lib/libmad.la
/usr/bin/install: cannot create regular file 
`c:sourcevcmixerlibmad/lib/libmad.la': No such file or directory

Those windows paths just aren't making it through everything without 
getting mangled.

How exactly would I install manually? Just copy libmad.a?

On Fri, 14 Nov 2003 14:22:02 -0800, Rob Leslie <[email protected]> wrote:

> [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.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.