[issue12582] lib-dynload missing in python install

2011-07-18 Thread Paul Weiss

New submission from Paul Weiss :

I am trying to install python 2.7 on my Redhat machine. It installs most of the 
files, but it doesn't install the lib-dynload directory. I have set every path, 
done every install and clean I could think of but I can't get it to work. I 
have tried 2.7, 2.7.1 and 2.7.2 and none of them install. What could cause this?

--
components: Build, Installation
messages: 140578
nosy: Paul.Weiss
priority: normal
severity: normal
status: open
title: lib-dynload missing in python install
type: behavior
versions: Python 2.7

___
Python tracker 
<http://bugs.python.org/issue12582>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12582] lib-dynload missing in python install

2011-07-18 Thread Paul Weiss

Paul Weiss  added the comment:

Correct, I am using the source from 

http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tgz

make clean 
./configure --prefix=/opt/Python-2.7
make 
sudo make install 

I get this:

/usr/bin/install -c -m 644 ./LICENSE /opt/Python-2.7/lib/python2.7/LICENSE.txt
PYTHONPATH=/opt/Python-2.7/lib/python2.7   \
./python -Wi -tt /opt/Python-2.7/lib/python2.7/compileall.py \
-d /opt/Python-2.7/lib/python2.7 -f \
-x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
/opt/Python-2.7/lib/python2.7
Traceback (most recent call last):
  File "/opt/Python-2.7/lib/python2.7/compileall.py", line 17, in 
import struct
  File "/opt/Python-2.7/lib/python2.7/struct.py", line 1, in 
from _struct import *
ImportError: No module named _struct
make: *** [libinstall] Error 1

--

___
Python tracker 
<http://bugs.python.org/issue12582>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12582] lib-dynload missing in python install

2011-07-18 Thread Paul Weiss

Paul Weiss  added the comment:

No, Redhat's 2.6.9. Could that be the issue?

--

___
Python tracker 
<http://bugs.python.org/issue12582>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12582] lib-dynload missing in python install

2011-07-18 Thread Paul Weiss

Paul Weiss  added the comment:

So I have solved my own issue, but the solution raises another question. Let me 
explain...

On a whim I copied the build/lib.linux-i686-2.7 directory into the 
/opt/Python-2.7/lib/python2.7 directory as lib-dynload. This worked and python 
installed correctly. In a quick test it looks like everything is fine. 

But now my question is, why didn't that directory get copied during the build?

--

___
Python tracker 
<http://bugs.python.org/issue12582>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12582] lib-dynload missing in python install

2011-07-18 Thread Paul Weiss

Paul Weiss  added the comment:

As it turns out I am using an older version of make on the machine that I was 
having trouble with. It seems we have made some bad assumptions about the 
configuration of our machines. It makes sense with other problems we have had 
on the other machines too. I am going to declare that the root cause of the 
issues. Thank you all for your help! Good call Ned, I am slightly embarrassed 
that I didn't think of that earlier.

--
resolution:  -> fixed

___
Python tracker 
<http://bugs.python.org/issue12582>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27929] asyncio.AbstractEventLoop.sock_connect broken for AF_BLUETOOTH

2021-03-14 Thread Paul Weiss


Change by Paul Weiss :


--
versions: +Python 3.7, Python 3.8

___
Python tracker 
<https://bugs.python.org/issue27929>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com