Hi,
I have downloaded gzipped source tarball of python3.7. I have tried to compile like below,
./configure --prefix=/directory
Compiling seems to be ok..But when running make all..Getting too many missing initializer warnings
/python3.6/Python-3.6.0/Modules/_cursesmodule.c: At top level:
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1990: warning: missing initializer
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1990: warning: (near initialization for `PyCursesWindow_Methods[1].ml_doc')
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1991: warning: missing initializer
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1991: warning: (near initialization for `PyCursesWindow_Methods[2].ml_doc')
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1992: warning: missing initializer
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1992: warning: (near initialization for `PyCursesWindow_Methods[3].ml_doc')
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1993: warning: missing initializer
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1993: warning: (near initialization for `PyCursesWindow_Methods[4].ml_doc')
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1994: warning: missing initializer
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1994: warning: (near initialization for `PyCursesWindow_Methods[5].ml_doc')
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1995: warning: missing initializer
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1995: warning: (near initialization for `PyCursesWindow_Methods[6].ml_doc')
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1996: warning: missing initializer
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1996: warning: (near initialization for `PyCursesWindow_Methods[7].ml_doc')
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1997: warning: missing initializer
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1997: warning: (near initialization for `PyCursesWindow_Methods[8].ml_doc')
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1998: warning: missing initializer
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1998: warning: (near initialization for `PyCursesWindow_Methods[9].ml_doc')
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1999: warning: missing initializer
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:1999: warning: (near initialization for `PyCursesWindow_Methods[10].ml_doc')
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:2000: warning: missing initializer
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:2000: warning: (near initialization for `PyCursesWindow_Methods[11].ml_doc')
/python3.6/Python-3.6.0/Modules/_cursesmodule.c:2001: warning: missing initializer
In file included from /python3.6/Python-3.6.0/Modules/_bz2module.c:220:
/python3.6/Python-3.6.0/Modules/clinic/_bz2module.c.h: In function `_bz2_BZ2Compressor_compress':
/python3.6/Python-3.6.0/Modules/clinic/_bz2module.c.h:26: warning: missing initializer
/python3.6/Python-3.6.0/Modules/clinic/_bz2module.c.h:26: warning: (near initialization for `data.len')
/python3.6/Python-3.6.0/Modules/clinic/_bz2module.c.h: In function `_bz2_BZ2Decompressor_decompress':
/python3.6/Python-3.6.0/Modules/clinic/_bz2module.c.h:129: warning: missing initializer
/python3.6/Python-3.6.0/Modules/clinic/_bz2module.c.h:129: warning: (near initialization for `_parser.custom_msg')
/python3.6/Python-3.6.0/Modules/clinic/_bz2module.c.h:130: warning: missing initializer
/python3.6/Python-3.6.0/Modules/clinic/_bz2module.c.h:130: warning: (near initialization for `data.len')
/python3.6/Python-3.6.0/Modules/_bz2module.c: At top level:
And at the end of make ..I got the following
Note:
OS:Sol10 x86_64
root@karo:/usr/sfw/lib # env
HZ=
SHELL=/usr/bin/bash
TERM=xterm
OLDPWD=/usr/sfw
PAGER=/usr/bin/less -ins
MAIL=/var/mail/root
PATH=/usr/bin:/usr/sbin:/usr/ucb/cc:/usr/sfw/bin:/usr/sfw/bin:/usr/ccs/bin
PWD=/usr/sfw/lib
SHLVL=1
HOME=/
LD_LIBARAY_PATH=/usr/local/lib
LOGNAME=root
_=/usr/bin/env