Web lists-archives.com

Re: [Mingw-users] libFLAC, getopt, Mingw, Msys




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/08/16 23:41, DAVENPORT, MARC wrote:
> Hello Keith, thanks for the reply.

You're welcome, but please DON'T top post.

> I may be misinterpreting the error message.

I think so.

> Here is what it says :
> 
> mingw32-make[2]: Entering directory
> 'c:/LIBS4814Build/flac-1.3.1/src'

If you're building using MSYS, why are you running mingw32-make?  You
are MUCH better off using the make.exe provided by MSYS.

> Making all in share mingw32-make[3]: Entering directory
> 'c:/LIBS4814Build/flac-1.3.1/src/share' process_begin:
> CreateProcess(NULL, /bin/mkdir -p getopt, ...) failed. make (e=2):
> The system cannot find the file specified.

Right, because mingw32-make knows NOTHING about the MSYS file system
structure, and there is no such thing as /bin/mkdir in the pure
Windows environment, which it does know about.

> Makefile:490: recipe for target 'getopt/.dirstamp' failed 
> mingw32-make[3]: *** [getopt/.dirstamp] Error 2 mingw32-make[3]:
> Leaving directory 'c:/LIBS4814Build/flac-1.3.1/src/share' 
> Makefile:415: recipe for target 'all-recursive' failed 
> mingw32-make[2]: *** [all-recursive] Error 1 mingw32-make[2]:
> Leaving directory 'c:/LIBS4814Build/flac-1.3.1/src' Makefile:471:
> recipe for target 'all-recursive' failed mingw32-make[1]: ***
> [all-recursive] Error 1 mingw32-make[1]: Leaving directory
> 'c:/LIBS4814Build/flac-1.3.1' Makefile:402: recipe for target 'all'
> failed mingw32-make: *** [all] Error 2
> 
> There is no shell utility getopt installed in either mingw/bin or
> msys's /bin directory.

No, nor do we provide one, because in the *nix world it is mostly
superseded by the shell's built-in getopts utility.  In any case, you
don't need any such utility here; you do need to run the MSYS make,
which will know to invoke the /bin/mkdir in the MSYS /bin directory,
so that this build recipe can create the getopt build DIRECTORY.

- -- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAEBAgAGBQJXq8j2AAoJEMCtNsY0flo/8l0P/1dVew0UXJktVO6ftFFWKl6I
Es+h8bo68ysqfdYqt78JsXDetFLUeU6GG6VBm9n5GH+dg5JgqcUCFuh5LIicLlqg
W6fW1uJ1ejz/dLlhYq21yEHBPCfnpgq7W1lIUsEYMxlb/FohdUVJNOt0AJ/5iDF3
jOPI17KMNL28dOTfmuKNwdve4bylgapQKjaarCVeT3bcQBP59Ixf5Fr80xFnf+0d
1NiQ+k1LuSFn680RinAEm7INHN+yT1vb5dJLB/tpURmhuEnW1oaH+DXZqmu9VQ42
PVvk6j+Q655xUpSMQYsv6MQlqKTM+4kNUHhzoHzs9VAmfGfQNIcDJonv5NdCyHtw
DewJzSycRBqoJPOMI5uq4nHwvaJhLEEE9y17pjd+/ibt6ZOKvPn4GRfhi/IIN/dS
utQcjs4JpPp3PPa09Z6jwVl91lLqpzWCX+JpjBGNUXTRI+Bu9PfFVBZXWZ7qrOXz
MAbc0Cqmo+ytA4tsF9UvsMdxOX5v+CTBwsScH+hfN8NaktlaYHjz/VxRvYrNHYuO
ZorWz+RBxN7z7RNYSA2YyI5tczHvyqi7X7G+8ybinw9vC4BtnqO5Hh0cnTjU934o
mv3vJBt9VLGslN1W7ruVbxygwNrnp7utzFt3+lRU5nRLSyp6dz/3mkNCvlkPp25a
nA4RphyGkBCFRiytVHvo
=pEQ5
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe