Make throwing error while compiling python3.6 on Solaris10


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
Make throwing error while compiling python3.6 on Solaris10

Hi,

I have downloaded gzipped source tarball of python3.7. I have tried to compile like below,
Code:
./configure --prefix=/directory

Compiling seems to be ok..But when running make all..Getting too many missing initializer warnings
Code:
/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

Quote:
Python build finished successfully!
The necessary bits to build these optional modules were not found:
_lzma _sqlite3 _ssl
_tkinter ossaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

The following modules found by detect_modules() in setup.py, have been
built by the Makefile instead, as configured by the Setup files:
atexit pwd time

Failed to build these modules:
_ctypes _gdbm readline


Following modules built successfully but were removed because they could not be imported:
_bz2 _curses _curses_panel
Note:
OS:Sol10 x86_64
Code:
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

# 2  
The initialization warnings are due to the variable not being assigned an initial value in the code. That's just the way it's been written and you can ignore those warnings.

The failed to build module is a fundamental (show stopper) error which is a known bug; reported and resolved though I cannot find the published solution at the moment but it must be out there.

Issue 34385: Failed to build these modules: _ctypes on Solaris 10 - Python tracker
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #772
Difficulty: Medium
An arcade system board is a dedicated computer system created for the purpose of running video arcade games.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Prustat throwing error only in zones not in global

Hi, Prustat is throwing error only in zones. But it is working fine in global. dtrace: invalid probe specifier /* ** The following is a trimmed version of two seperate DTrace scripts: ** ** socketsnoop.d - snoop TCP network socket traffic by process. ** This is intended to identify the... (3 Replies)
Discussion started by: Sumanthsv
3 Replies

2. Shell Programming and Scripting

For Loop throwing error

Hello Gurus, I am writing one script at linux. The logic is There is a find command which will find some specific files daily and store at a variable Then echo that variable . Now when I am trying to read the variable by using for loop it is throwing error as below:cat: CKDT.dat: No such... (5 Replies)
Discussion started by: pokhraj_d
5 Replies

3. Shell Programming and Scripting

Function throwing an error

Hi All I have two shell scripts where the second is getting invoked from the first. E.g. test1.sh and test2.sh Within test1, the code is something like this: #!/bin/bash . test2.sh usage() { echo "..." echo "....." } SRC=$1 DEST=$2 case "$3" in tran) doTran ;; *)... (7 Replies)
Discussion started by: swasid
7 Replies

4. Shell Programming and Scripting

awk--throwing an error

Hi all, I have below code sqlplus -s ext/exo@TIS << EOF whenever sqlerror exit failure rollback; set echo off set head off set serveroutput on set termout on set trimspool on SPOOL $SPOOL_FILE select 'ROWS '|| ' '||decode((count(Part_no)),0,'With greater values not... (3 Replies)
Discussion started by: Kiransagar
3 Replies

5. Shell Programming and Scripting

Tr--translate is throwing an error

Dear all, I would like to count the no;of word "INFORMATION" in a file called alt.lst and output to a unix variable INFORMATION.so to do this I wrote the below code INFORMATION=echo 'INFORMATION' | tr -cs 'A-Za-z' '\n' < /app/tisq005/01/home/tisq005b/scripts/alt.lst | grep -c "INFORMATION"... (2 Replies)
Discussion started by: Kiransagar
2 Replies

6. Shell Programming and Scripting

POCO install throwing error

All , I am trying to install POCO lib on Solaris server. When I do make -s,I am getting the following error. make: Fatal error in reader: Makefile, line 10: Unexpected end of line seen Few of the content: # # Makefile # # The global Makefile for POCO # #sinclude config.make ... (0 Replies)
Discussion started by: prasperl
0 Replies

7. Solaris

Compiling error on solaris10

Hello guys, Im trying to install a monitoring software on my solaris10 machine and im getting an error doing so. Can someone please help. ld: fatal: Symbol referencing errors. No output written to ../client/xymond_client collect2: ld returned 1 exit status gmake: *** Error 1 gmake:... (1 Reply)
Discussion started by: hemo21
1 Replies

8. Shell Programming and Scripting

for loop throwing an error

Hi Guys, I am trying a simple for loop which is throwing an error. Below is my code: #/bin/sh set -A array "are" "you" "there"; for ( i = 0 ; i < ${#array} ; i++ ) do echo ${array} done I am getting this error tci001wasd02 $ sh -vx array_for.sh #/bin/sh set -A array "are"... (6 Replies)
Discussion started by: mac4rfree
6 Replies

9. Red Hat

formating a USB which is throwing error write delayed

Hello, while i was saving a web file directing on to usb location there was some network problem which result in error WRITE DELAYED on windows xp. so pen drive is not getting completely formated(show as Windows was unable to complete format).From then onwords it is not allowing to copy... (0 Replies)
Discussion started by: amarnathbasis8
0 Replies

10. UNIX for Dummies Questions & Answers

forcefully throwing error : unix script

how can i make one script fail if some condition is not satisfied.i m writing if ..else logic in script.i need some standard command to do that ,, (1 Reply)
Discussion started by: dr46014
1 Replies

Featured Tech Videos