473,323 Members | 1,560 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Bad install of 2.3.4 on Solaris 8

I'm having trouble getting Python 2.3.4 installed properly on Solaris 8.

First some configuration stuff:
bash-2.05# export
. . .
declare -x HOSTTYPE="sparc"
declare -x MACHTYPE="sparc-sun-solaris2.8"
declare -x OSTYPE="solaris2.8"

I copied Python-2.3.4.tgz to /var/tmp, ran gunzip and tar xvf then
ran./configure, make and make install from the Python-2.3.4 directory.

../configure report this error:
configure: WARNING: term.h: present but cannot be compiled
configure: WARNING: term.h: check for missing prerequisite headers?
configure: WARNING: term.h: proceeding with the preprocessor's
result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bu**********@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##

I went ahead anyway. make report this warning
gcc -shared
build/temp.solaris-2.8-sun4u-2.3/_ssl.o -L/usr/local/ssl/lib -L/usr/local/li
b -lssl -lcrypto -o build/lib.solaris-2.8-sun4u-2.3/_ssl.so
*** WARNING: renaming "_ssl" since importing it failed: ld.so.1:
../python: fatal: libssl.so.0.9.7: open failed: No such file or directory

and a bunch of errors building sunaudiodev.o which I assume are not
important since I'm not having audio problems

Now, python runs and reports that it is 2.3.4, but:

1. SSL doesn't work:
bash-2.05# python
Python 2.3.4 (#3, Jun 11 2004, 14:57:33)
[GCC 3.3.2] on sunos5
Type "help", "copyright", "credits" or "license" for more
information.
import xmlrpclib
s = xmlrpclib.ServerProxy('https://goombah.emergentmusic.com')
s.hello()

Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/python2.3/xmlrpclib.py", line 1029, in
__call__
return self.__send(self.__name, args)
File "/usr/local/lib/python2.3/xmlrpclib.py", line 1316, in
__request
verbose=self.__verbose
File "/usr/local/lib/python2.3/xmlrpclib.py", line 1055, in
request
h = self.make_connection(host)
File "/usr/local/lib/python2.3/xmlrpclib.py", line 1237, in
make_connection
raise NotImplementedError(
NotImplementedError: your version of httplib doesn't support HTTPS

2. A 32 bit version was installed rather than the 64-bit version that
should be installed for this machine. This prevent the installation of
MySQLdb from installing properly
bash-2.05# file /usr/local/bin/python
/usr/local/bin/python: ELF 32-bit MSB executable SPARC Version 1,
dynamically linked, not stripped

Can you please help me get a good build so I can get on with my work?

Thanks,
Bob

Jul 18 '05 #1
1 2708
"Bob Swerdlow" <rs*******@transpose.com> writes on Fri, 11 Jun 2004 15:38:14 -0400:
...
I went ahead anyway. make report this warning
gcc -shared
build/temp.solaris-2.8-sun4u-2.3/_ssl.o -L/usr/local/ssl/lib -L/usr/local/li
b -lssl -lcrypto -o build/lib.solaris-2.8-sun4u-2.3/_ssl.so
*** WARNING: renaming "_ssl" since importing it failed: ld.so.1:
../python: fatal: libssl.so.0.9.7: open failed: No such file or directory


The error message is not bad: the problem is "not finding "libssl.so.0.9.7".

Have you installed it? Have you configured "ld.conf" to find it
where you installed it or set up "LD_LIBRARY_PATH" correspondingly.

If this turns out to be the problem, then the way "_ssl.so" is build
could be improved. Under Solaris, it is possible to tell a shared
object at link time where to look for another shared object at runtime.
In this case, I (at your place) would file a bug Python report.
Dieter
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: bva | last post by:
Hello, While trying to install viewcvs on a solaris 5.9 machine I get the following error message: Traceback (most recent call last): File "./viewcvs-install", line 35, in ? import compat...
1
by: Bobby Owens | last post by:
Hi, Please excuse what is probably a completely newbie question, but my situation is as follows. I'm a windows/.NET developer but have now been asked to take over part of the project which is...
2
by: Cathy Hui | last post by:
I am trying to install MySQL-Python 0.9.1 on my Solaris 8 system. The system has Python 2.3.3 and Mysql 4.0.21 installed. This is where I downloaded the distribution of the Mysql-python...
1
by: Steve | last post by:
I've installed the ActiveState binary distribution for Solaris in my home directory, but I'm having problems with Tk. I think I did everything right -- I used gtar rather than Solaris tar, and...
0
by: Comcast | last post by:
I'm trying to do an install of mysql on a Sun Ultra 10 machine running Solaris 10 (1/06) which is a completely clean, fresh install. I can get the packaged (with Solaris 10) version of mysql...
1
by: bomahony | last post by:
Ive just installed DB2 9.1 from scratch on Solaris 10. I did it first from CLI, but i found the Control Center app was missing. So i tried to edit the install using db2setup. this informed me...
4
by: inetquestion | last post by:
php has been configured with the following two configure lines and core's during "make install" on the PEAR section. Is there something simple i'm missing? Any help would be appreciated. ...
1
by: nitupatra | last post by:
I executed the command " perl -MCPAN -e shell " and run the command cpan> install Archive::Zip. But ftp connections are failed to get different types of package and installation was failed. Can...
11
by: Pablo Suarez | last post by:
In all my previous C++ projects I used the gcc as compiler. For some reasons I want to try out the Sun compiler instead. How can I install and use this compiler instead? Is the Sun C++...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.