[issue33230] _decimal build failure (unsupported platform for that module) - evolution possible?
New submission from Hubert Holin : _decimal fails to build on my platform due to lack of support: In file included from /Developer/Python/3.6/Python/Python-3.6.5/Modules/_decimal/_decimal.c:34: /usr/local/include/mpdecimal.h:201:4: error: "unsupported platform: need mpd_size_t == mpd_uint_t" #error "unsupported platform: need mpd_size_t == mpd_uint_t" My host system type: x86_64-apple-darwin17.5.0 My target system type: x86_64-apple-darwin17.5.0 Compiler used: clang+llvm-6.0.0-x86_64-apple-darwin Hardware: 3,7 GHz Quad-Core Intel Xeon E5 Relevant configurations: --enable-universalsdk... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk --with-universal-archs... intel MACHDEP... darwin Could this module be upgraded? -- components: Extension Modules messages: 314976 nosy: Hubert Holin priority: normal severity: normal status: open title: _decimal build failure (unsupported platform for that module) - evolution possible? type: compile error versions: Python 3.6 ___ Python tracker <https://bugs.python.org/issue33230> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33230] _decimal build failure (unsupported platform for that module) - evolution possible?
Hubert Holin added the comment: This is correct: I had an older version of mpdecimal in /usr/local. However, when removed mpdecimal is (manually) removed from /usr/local (the libs and the header), making a "make clean", a config and make, the _decimal build still fails, but this time for a different reason: /Developer/Python/3.6/Python/Python-3.6.5/Modules/_decimal/_decimal.c:34:10: fatal error: 'mpdecimal.h' file not found #include "mpdecimal.h" Still, we are getting closer: should I install a newer version of mpdecimal and try again? -- ___ Python tracker <https://bugs.python.org/issue33230> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33230] _decimal build failure (unsupported platform for that module) - evolution possible?
Hubert Holin added the comment: Yes, the error turned out to be that I had indeed forgotten to remove the --with-system-libmpdec along with the library and header. Now _decimal compiles fine. I will see if I can get Python to run with my system's mpdecimal (once I have updated it), but as far as this issue is concerned I believe it is indeed closed. Thanks for the help! -- ___ Python tracker <https://bugs.python.org/issue33230> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com