Does this error look familiar?
$ cd pycopia
$ make build
python setup.py build
======== aid == /app/local/bin/python setup.py build
Extracting in /tmp/tmpf22LxQ
Traceback (most recent call last):
File "setup.py", line 6, in <module>
ez_setup.use_setuptools()
File "/app/local/pycopia/aid/ez_setup.py", line 145, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/app/local/pycopia/aid/ez_setup.py", line 125, in _do_download
_build_egg(egg, tarball, to_dir)
File "/app/local/pycopia/aid/ez_setup.py", line 98, in _build_egg
tar = tarfile.open(tarball)
File "/app/local/lib/python2.6/tarfile.py", line 1658, in open
raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully
====================== END aid
I'm thinking my python is missing it's zlib
i'm on an old crappy RHEL 5.3 box that's locked down, sorta kinda.
Thanks!
There is a bug currently, due to pypi having very old packages and
easy_install trying to pull them. But this doesn't look like that one.
If you install for subversion head it should work.
mkdir ~/src
cd ~/src
svn checkout http://pycopia.googlecode.com/svn/trunk/ pycopia
However, since it's RH 5.x I have RPMs available (not latest, but recent).
For i386 centOS (clone of RH 5), and includes Python 2.7.
ftp://ftp.pycopia.org/pub/python/centos/5/i386/
But this is only enough to get an agent running, not a full install.
-- ---------------------------------------------------------
Keith Dart
keith...@gmail.com
==============================
> --
> You received this message because you are subscribed to the Google Groups "pycopia" group.
> To post to this group, send email to pyc...@googlegroups.com.
> To unsubscribe from this group, send email to pycopia+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/pycopia?hl=en.
>
yes... equivalent to the example you provide (thanks!):
>
> If you install for subversion head it should work.
>
> mkdir ~/src
> cd ~/src
> svn checkout http://pycopia.googlecode.com/svn/trunk/ pycopia
>
>
> However, since it's RH 5.x I have RPMs available (not latest, but recent).
Perhaps I should consider this option. I am uncertain as to how many
package dependencies I may encounter. My RHEL platform has Python
2.4.3 in the base distribution. Version lock-down is dictated by
corporate policy. Corporate standard builds out an app environment in
special directory on top of base distro; much like /usr/local or
/opt/local convention but more complicated. I continue to lobby for a
host without restrictions. Until then and because I enjoy suffering, I
will continue my build out of an app environment with Python from
source.
As of this date...
What version of Python do you run on your current installation? 2.7 ?
What version do you consider minimal? 2.6 ?
>
> For i386 centOS (clone of RH 5), and includes Python 2.7.
>
> ftp://ftp.pycopia.org/pub/python/centos/5/i386/
>
> But this is only enough to get an agent running, not a full install.
That's useful to know... as I will have more of these RHEL boxes that
may need an agent.
When building Python from source, I immediately ran into an issue
using a traditional configure option that had served me well into 2003
and a little bit beyond. Hmm.. when did this stop working?
./configure --with-zlib=yes
./configure --with-zlib=/usr/include
./configure --with-zlib=/usr/lib/syslinux/com32/include
(omitted "--prefix=/myapp/local" for brevity)
This "--with-zlib" issue seems to be mentioned here:
<http://stackoverflow.com/questions/7731545/where-can-i-find-configure-to-run-the-command-configure-with-zlib-usr-incl>
This is why I should be using Gentoo with USE flags to abstract these
changing details away from me.
Cheers,
AZ