Discussion:
problems installing python 2.2.2 on solaris 8
Laura Creighton
2003-01-09 19:51:21 UTC
Permalink
Do we even test the installing, or just quit when things compile
and pass their tests?

Laura

------- Forwarded Message

From: "John Bernhardt" <***@hotmail.com>
Newsgroups: comp.lang.python
Subject: problems installing python 2.2.2 on solaris 8
Organization: http://extra.newsguy.com

I'm trying to get Python 2.2.2 installed on a solaris 8 SPARC system
and have run into a problem that I need some help resolving. On this
system, I can successfully compile Python and the compiled version
passes all of the tests run by 'make test'. However, when I do a
make install, there are quite a few modules that do not get copied
into /usr/local/lib/python2.2 including the socket and time modules;
more I'm sure, but my scripts fail on loading smtplib because those
two modules are not installed.

Any clues?
- --
http://mail.python.org/mailman/listinfo/python-list

------- End of Forwarded Message
Glenn S
2003-01-10 03:01:10 UTC
Permalink
Post by Laura Creighton
Subject: problems installing python 2.2.2 on solaris 8
Date: Thu, 09 Jan 2003 20:51:21 +0100
Do we even test the installing, or just quit when things compile
and pass their tests?
Of course, I've actually confirmed that python 2.2.2 works. My program works
if
run from within the 2.2.2 directory where I successfully compiled python
2.2.2.

The problem I am having is that working modules, such as time and socket are
not being copied to the /usr/local/lib/python2.2 directory that gets created
when I
run a 'make install'.

Short of going after the only binary version I can find for Solaris, 2.1.1
or setting up my scripts to run out of the directory in which I've compiled
python, I'm looking for clues to getting the install to run successfully.

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
Laura Creighton
2003-01-10 06:28:46 UTC
Permalink
Any chance this is a permissions problem?

Just a thought,
Laura
Post by Glenn S
Post by Laura Creighton
Subject: problems installing python 2.2.2 on solaris 8
Date: Thu, 09 Jan 2003 20:51:21 +0100
Do we even test the installing, or just quit when things compile
and pass their tests?
Of course, I've actually confirmed that python 2.2.2 works. My program works
if
run from within the 2.2.2 directory where I successfully compiled python
2.2.2.
The problem I am having is that working modules, such as time and socket are
not being copied to the /usr/local/lib/python2.2 directory that gets created
when I
run a 'make install'.
Short of going after the only binary version I can find for Solaris, 2.1.1
or setting up my scripts to run out of the directory in which I've compiled
python, I'm looking for clues to getting the install to run successfully.
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
_______________________________________________
snake-farm mailing list
http://lists.lysator.liu.se/mailman/listinfo/snake-farm
Laura Creighton
2003-01-10 06:55:39 UTC
Permalink
Aha, somebody else had a permission problem, so even if it isn't
John Bernhardt's problem, we should document it.

Laura

------- Forwarded Message
From: ***@att.net (Holden Caulfield)
Newsgroups: comp.lang.python
Subject: Re: problems installing python 2.2.2 on solaris 8
Organization: http://groups.google.com/
Post by Laura Creighton
I'm trying to get Python 2.2.2 installed on a solaris 8 SPARC system
and have run into a problem that I need some help resolving. On this
system, I can successfully compile Python and the compiled version
passes all of the tests run by 'make test'. However, when I do a
make install, there are quite a few modules that do not get copied
into /usr/local/lib/python2.2 including the socket and time modules;
more I'm sure, but my scripts fail on loading smtplib because those
two modules are not installed.
Any clues?
I had the same problem. For some reason, the dynamic modules permissions are
not changed when installing (at least that was my problem).
check the lib-dynload subdirectory and make sure that the permissions of the
".so" files are 644, in my case they were 600, which caused the failure to
load.
- --
http://mail.python.org/mailman/listinfo/python-list

------- End of Forwarded Message
Anders Qvist
2003-01-10 15:50:33 UTC
Permalink
Post by Laura Creighton
Do we even test the installing, or just quit when things compile
and pass their tests?
If we want to test make install we need a "template" of files to look
for on the host. That template is unique for that host, since each
host basically has its own set of skipped/failed modules. Somewhere in
the distant future we may have such high quality on the source that
virtually all modules pass compile/test, but that is some time away
yet.
Post by Laura Creighton
------- Forwarded Message
Newsgroups: comp.lang.python
Subject: problems installing python 2.2.2 on solaris 8
Organization: http://extra.newsguy.com
I'm trying to get Python 2.2.2 installed on a solaris 8 SPARC system
and have run into a problem that I need some help resolving. On this
system, I can successfully compile Python and the compiled version
passes all of the tests run by 'make test'. However, when I do a
make install, there are quite a few modules that do not get copied
into /usr/local/lib/python2.2 including the socket and time modules;
more I'm sure, but my scripts fail on loading smtplib because those
two modules are not installed.
--
Anders "Quest" Qvist

"We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the entire works of Shakespeare. Now, thanks
to the Internet, we know this is not true." -- Robert Wilensky
Loading...