Discussion:
[Mingw-users] Very difficult
Eli Zaretskii
2017-05-26 17:38:38 UTC
Permalink
Date: Fri, 26 May 2017 11:53:37 -0400
mingw32-make -f makefile.gcc CXXFLAGS="-std=gnu++11" BUILD=debug UNICODE=1 SHARED=1
process_begin: CreateProcess(NULL, C:/ProgramData/Oracle/Java/javapath/ -c "if not exist gcc_mswuddll
mkdir gcc_mswuddll", ...) failed.
make (e=5): Access is denied.
mingw32-make: [gcc_mswuddll] Error 5 (ignored)
process_begin: CreateProcess(NULL, C:/ProgramData/Oracle/Java/javapath/ -c "if not exist ..\..\lib\gcc_dll
mkdir ..\..\lib\gcc_dll", ...) failed.
make (e=5): Access is denied.
Your Makefile sets SHELL to an empty value.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-users mailing list
MinGW-***@lists.sourceforge.net

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-***@lists.sourceforge.net?subject=unsubscribe
Papa
2017-05-26 23:41:20 UTC
Permalink
Thanks Eli for your reply.

With all due respect, I'd like to start by changing the semantics of the
conversation; for that I need to clear something up. I did not write any
'makefile', I just downloaded wxWidgets and proceeded to compile it
entering, at the command prompt, the values shown in the OP. Thus, I
think your statement should be 'The Makefile sets SHELL to an empty
value.", or more accurately, 'wxWidgets's Makefile sets SHELL to an
empty value.'

Having stated the above, how can I solve this problem or should I say,
how should wxWidgets fix this problem?


Again, many thanks for taking the time.
Post by Eli Zaretskii
Date: Fri, 26 May 2017 11:53:37 -0400
mingw32-make -f makefile.gcc CXXFLAGS="-std=gnu++11" BUILD=debug UNICODE=1 SHARED=1
process_begin: CreateProcess(NULL, C:/ProgramData/Oracle/Java/javapath/ -c "if not exist gcc_mswuddll
mkdir gcc_mswuddll", ...) failed.
make (e=5): Access is denied.
mingw32-make: [gcc_mswuddll] Error 5 (ignored)
process_begin: CreateProcess(NULL, C:/ProgramData/Oracle/Java/javapath/ -c "if not exist ..\..\lib\gcc_dll
mkdir ..\..\lib\gcc_dll", ...) failed.
make (e=5): Access is denied.
Your Makefile sets SHELL to an empty value.
Eli Zaretskii
2017-05-27 07:34:29 UTC
Permalink
Date: Fri, 26 May 2017 19:41:20 -0400
With all due respect, I'd like to start by changing the semantics of the conversation; for that I need to clear
something up. I did not write any 'makefile', I just downloaded wxWidgets and proceeded to compile it
entering, at the command prompt, the values shown in the OP. Thus, I think your statement should be 'The
Makefile sets SHELL to an empty value.", or more accurately, 'wxWidgets's Makefile sets SHELL to an empty
value.'
Having stated the above, how can I solve this problem or should I say, how should wxWidgets fix this
problem?
You need to look into the Makefile and find its setting of the SHELL
variable.

The immediate problem is that the Makefile caused the Make utility to
invoke the following command:

C:/ProgramData/Oracle/Java/javapath/ -c "if not exist ..\..\lib\gcc_dll mkdir ..\..\lib\gcc_dll"

to which Windows rightfully objected, because
C:/ProgramData/Oracle/Java/javapath/ is a directory and cannot be
invoked as a program. Judging by the command, the intent was to
invoke the cmd.exe Windows shell here, and do it with the /c switch,
not -c switch. So looking into the Makefile for related commands and
variables will most probably find the culprit.

I cannot say anything more specific, sorry, because I don't have the
Makefile and the source tree you are using. If the above doesn't help
you figure out the problem, maybe asking on the wxWidgets forum will
help.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-users mailing list
MinGW-***@lists.sourceforge.net

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-***@lists.sourceforge.net?subject=unsubscribe
Keith Marshall
2017-05-26 16:00:53 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
gcc version 7.1.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)
You are asking on the wrong mailing list. This compiler is distributed
by a different project; we don't support it here.

- --
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)

iQIcBAEBAgAGBQJZKFE1AAoJEMCtNsY0flo/hvMP/iLAt2QEbhkWBYYJUsFY7o8d
TLDncFXkjhmBegkG+ee8sG3RA69VpE1SndFXz0Zy5Z5dKCWTjhVydiJ38jvE3h6f
lVyUrccaOxzpMHnotfu8LiZQ3p4A1vzvYXWg2s783R9OMW/O3SCf02xKMxXbtc5T
IFLdfpk7M7z+jpVkIUQVu8eMjUic3aq0eWVRIxdDXg4H9bOrIAswDGAyKZwgRyxy
xBhp2wkYGCwI90BHXtERfpsKEjccPw7x/9sKADnP7YPhxydV/JA1wQ++00Z+5x+p
y8nDxMNtUUEvNN2JwJG7bGTmD1Qh1j6/nX0SZyv+7dTFbqFzy1cO2h1wDEbmgS9F
YY0STfst/B1ALsYpHiBh1Etlg3ovDdcUNkH8RnFbC8yPhofzWMZRbljOKXMUJRs2
YmFPrilxx78z+omaY8I2DRksblumhyeXUm/NU0btOPrD6WVkslVltiFIyjrsnkkX
hPxQRjmQgC4onh0/SfMwXUinC1KlIM2nexOJ2mQg9iNzAxHwHpX4bEmGdzG/ZbpL
jJiAPEva2tSPkQUakGtmOUx6CJ8A2l/TtlVIZsdo/rg5iBqR4SNuxTihK/pAhctA
NBo3IC0H9m8V9F+gsWoXc5FiI7m9lBlOf5fi4jxb20bVodAQrFlS2t6Ce8bRUdaH
ibkX5OsIEzF76RQPJR7X
=F8hZ
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-users mailing list
MinGW-***@lists.sourceforge.net

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-***@lists.sourceforge.net?subject=unsubscribe
Loading...