This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author uservorname.usernachname
Recipients ned.deily, uservorname.usernachname
Date 2013-02-18.14:59:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361199567.12.0.398113045798.issue17216@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for your hints.

I got installed openssl-1.0.1d and ssl in 
fes-a120d19nas:/backup/fes-a120d19nas/Python-3.3.0# whereis openssl
openssl: /usr/bin/openssl /usr/include/openssl
fes-a120d19nas:/backup/fes-a120d19nas/Python-3.3.0# whereis ssl
ssl: /etc/ssl /usr/lib/ssl

I compiled openssl-1.0.1d and gnutls-3.1.7 by my self. Package manager doesn't work at this machine. But anyway because I compiled this libaries all header files should be avaibel.

I also recognized that setup.py line 759 searches in /usr/local/lib instead of /usr/lib.

So I changed the setup lines regarding 759 to :

     # Detect SSL support for the socket module (via _ssl)
        search_for_ssl_incs_in = [
                              '/usr/ssl/include',
                              '/usr/contrib/ssl/include/'
                             ]
        ssl_incs = find_file('openssl/ssl.h', inc_dirs,
                             search_for_ssl_incs_in
                             )
        if ssl_incs is not None:
            krb5_h = find_file('krb5.h', inc_dirs,
                               ['/usr/kerberos/include'])
            if krb5_h:
                ssl_incs += krb5_h
        ssl_libs = find_library_file(self.compiler, 'ssl',lib_dirs,
                                     ['/usr/lib/ssl',
                                      '/usr/contrib/ssl/lib/'
                                     ] )
and executed again make. 

Which now results in

fes-a120d19nas:/backup/fes-a120d19nas/Python-3.3.0# make
case $MAKEFLAGS in *s*) quiet=-q; esac; \
 CC='sparc-linux-gcc -pthread' LDSHARED='sparc-linux-gcc -pthread -shared  ' OPT='-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes' \
        ./python -E ./setup.py $quiet build
running build
running build_ext
INFO: Can't locate Tcl/Tk libs and/or headers
make: *** [sharedmods] Error 139

So now I'm compiling Tcl from source, and hope this will have some positive effects.
History
Date User Action Args
2013-02-18 14:59:27uservorname.usernachnamesetrecipients: + uservorname.usernachname, ned.deily
2013-02-18 14:59:27uservorname.usernachnamesetmessageid: <1361199567.12.0.398113045798.issue17216@psf.upfronthosting.co.za>
2013-02-18 14:59:27uservorname.usernachnamelinkissue17216 messages
2013-02-18 14:59:26uservorname.usernachnamecreate