Feb-04-2019, 09:18 PM
When it comes to building the _uuid extension I get the following:
Thanks.
Paolo
Output:building '_uuid' extension
/linopt/gnu/gcc/gcc-5.4.0/bin/gcc -pthread -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fprofile-generate -I./Include -I. -I/linopt/gnu/gcc/gcc-5.4.0/include/ -I/usr/include/ -I/usr/include/gdbm/ -I/usr/local/include -I/release/buildrepo/python/Python-3.7.2/Include -I/release/buildrepo/python/Python-3.7.2 -c /release/buildrepo/python/Python-3.7.2/Modules/_uuidmodule.c -o build/temp.linux-x86_64-3.7/release/buildrepo/python/Python-3.7.2/Modules/_uuidmodule.o
/release/buildrepo/python/Python-3.7.2/Modules/_uuidmodule.c: In function ‘py_uuid_generate_time_safe’:
/release/buildrepo/python/Python-3.7.2/Modules/_uuidmodule.c:15:12: error: storage size of ‘uuid’ isn’t known
uuid_t uuid;
^
/release/buildrepo/python/Python-3.7.2/Modules/_uuidmodule.c:23:5: error: too many arguments to function ‘uuid_create’
uuid_create(&uuid, &status);
^
In file included from /release/buildrepo/python/Python-3.7.2/Modules/_uuidmodule.c:8:0:
/usr/include/uuid.h:97:22: note: declared here
extern uuid_rc_t uuid_create ( uuid_t **_uuid);
^
/release/buildrepo/python/Python-3.7.2/Modules/_uuidmodule.c:15:12: warning: unused variable ‘uuid’ [-Wunused-variable]
uuid_t uuid;
^
/release/buildrepo/python/Python-3.7.2/Modules/_uuidmodule.c:35:1: warning: control reaches end of non-void function [-Wreturn-type]
}
then I get this also:Output:The following modules found by detect_modules() in setup.py, have been
built by the Makefile instead, as configured by the Setup files:
_abc atexit pwd
time
Failed to build these modules:
_uuid
Following modules built successfully but were removed because they could not be imported:
_dbm _hashlib _ssl
Could not build the ssl module!
Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host().
LibreSSL 2.6.4 and earlier do not provide the necessary APIs, https://github.com/libressl-portable/portable/issues/381
For UUID in the configure log I saw this:Output:checking uuid/uuid.h usability... no
checking uuid/uuid.h presence... no
checking for uuid/uuid.h... no
checking uuid.h usability... yes
checking uuid.h presence... yes
checking for uuid.h... yes
checking for uuid_generate_time_safe... no
checking for uuid_create... yes
checking for uuid_enc_be... no
I have OpenSSL 1.0.2j that i'm using to build off of. It says in the configure this:Output:checking for openssl/ssl.h in /linopt/openssl/openssl-1.0.2j/... yes
checking whether compiling and linking against OpenSSL works... yes
checking for X509_VERIFY_PARAM_set1_host in libssl... yes
If you've made it to the end of this, thanks! If you can offer any help, please let me know.Thanks.
Paolo