Richard West r.h.w...@gmail.com added the comment:
I also had an ImportError on _struct module during 'make install' when building
2.7.3 from source configured with --enable-shared. My solution, which *seems*
to have worked, is simple:
$ make -i install
$ make install
My guess is that
Martin v. Löwis mar...@v.loewis.de added the comment:
I believe too many issues are getting confused here. Even though the symptom
appears to be the same (a complaint about _struct not being importable), the
causes might be completely different, as all kinds of different configure
options,
Any help, please ?
From: Space Li [rep...@bugs.python.org]
Sent: Wednesday, February 29, 2012 2:49 AM
To: Ilias Miroslav
Subject: [issue9631] Python 2.7 installation issue for Linux gcc-4.1.0-3
(Fedora Core 5?)
Space Li space
Space Li space...@gmail.com added the comment:
Hi,
I recently compiled Python 2.7.2 and got an ImportError on struct module during
'make install'.
What I found working for me is just to 'make'. Before doing 'make install',
copy the lib.linux-x directory in 'build' to
Éric Araujo mer...@netwok.org added the comment:
This was changed by Florent for #8205 (“Remove the Modules directory from
sys.path when Python is running from the build directory (POSIX only)”).
--
nosy: +eric.araujo, flox
___
Python tracker
miro ilias miroslav.il...@umb.sk added the comment:
Hi,
with the fresh downloadable version of Python 2.7.2 I got the same error.
/usr/bin/install -c -m 644 ./Lib/curses/wrapper.py
/home/ilias/bin/python_static/lib/python2.7/curses
/usr/bin/install -c -m 644 ./Lib/pydoc_data/__init__.py
mike mikaelpetters...@gmail.com added the comment:
Hi,
I downloaded source and did the following instructions.
We use Red Hat Enterprise Linux Server release 5.5.
./configure --prefix=/home/mike/python_rh_32
make
make install
I also changed the line in site.py
from:
s =
Hans Lellelid h...@velum.net added the comment:
I'm having apparently the same issue when attempting to build an RPM (based on
EPEL 2.6.5 SPEC) on CentOS 5.5 i386.
A straight configure/make/make install will work fine, but when editing
Modules/Setup.dist to enabled *shared* (and then
Hans Lellelid h...@velum.net added the comment:
Ok, I think I have tracked down the problem to a change that happened in
site.py. In comparing against a build that worked fine for Python 2.6.5, I
noticed that the Modules subdir (which contains the shared .so files) was
present on the
sisco asi...@gmail.com added the comment:
make install fails on Fedora Core 13 as well:
make distclean
./configure
make
make install
/usr/bin/install -c -m 644 ./LICENSE /usr/local/lib/python2.7/LICENSE.txt
PYTHONPATH=/usr/local/lib/python2.7 \
./python -Wi -tt
Ari Consul aricon...@gmail.com added the comment:
Similar error on make install. Using Centos 5
/usr/bin/install -c -m 644 ./LICENSE
/home/ac927k/local/Python-2.7/lib/python2.7/LICENSE.txt
PYTHONPATH=/home/ac927k/local/Python-2.7/lib/python2.7 \
./python -Wi -tt
Dave Malcolm dmalc...@redhat.com added the comment:
(BTW, the versioning seems slightly misleading: (Red Hat 4.1.0-3) refers to
the version of GCC, not of the operating system.
You appear to be running gcc-4.1.0-3, which I believe was shipped in Fedora
Core 5.
Updating title metadata of the
12 matches
Mail list logo