Bad install of 2.3.4 on Solaris 8

B

Bob Swerdlow

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 (e-mail address removed). ##
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. 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
 
D

Dieter Maurer

Bob Swerdlow said:
...
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top