Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : error installing libprs500


dschiri1
11-13-2007, 07:28 PM
Hi may be someone can help. I'm trying to install libprs500 for linux fedora 8. I have followed the instruction from https://libprs500.kovidgoyal.net/download_fedora
but I keep getting errors.list as follows

[root@localhost /]# python --version
Python 2.5.1


[root@localhost /]# yum install python-setuptools python-imaging qt4 PyQt4 fonttools unrtf \
> python-mechanize imagemagick xdg-utils dbus-python
livna 100% |=========================| 2.1 kB 00:00
fedora 100% |=========================| 2.1 kB 00:00
updates 100% |=========================| 2.3 kB 00:00
Setting up Install Process
Parsing package install arguments
Package python-setuptools - 0.6c7-2.fc8.noarch is already installed.
Package python-imaging - 1.1.6-4.fc8.x86_64 is already installed.
Package PyQt4 - 4.2-8.fc8.x86_64 is already installed.
Package fonttools - 2.0-0.11.20060223cvs.fc7.x86_64 is already installed.
Package unrtf - 0.20.2-3.fc8.x86_64 is already installed.
Package python-mechanize - 0.1.6-0.2.b.fc8.noarch is already installed.
No package imagemagick available.
Package xdg-utils - 1.0.2-2.fc8.noarch is already installed.
Package dbus-python - 0.82.0-2.fc8.x86_64 is already installed.
Nothing to do

I think that imagemagick should be ImageMagick. when I run with this one it works and states

[root@localhost /]# yum install ImageMagick
Setting up Install Process
Parsing package install arguments
Package ImageMagick - 6.3.5.9-1.fc8.x86_64 is already installed.
Package ImageMagick - 6.3.5.9-1.fc8.i386 is already installed.
Nothing to do


when I enter the command from libprs500 for fedora I get this message

[root@localhost /]# easy_install -U TTFQuery libprs500
-bash: easy_install: command not found

I need some help any help:blink:

at this point I'm dead in the water.

I really would like to get this up and running it looks great

JSWolf
11-13-2007, 07:39 PM
Bump!

kovidgoyal
11-13-2007, 09:26 PM
What does the following give you


locate easy_install

dschiri1
11-14-2007, 09:01 PM
This is what was returned



[root@localhost ~]# locate easy_install
/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py
/usr/lib/python2.5/site-packages/setuptools/command/easy_install.pyc
/usr/lib/python2.5/site-packages/setuptools/command/easy_install.pyo
[root@localhost ~]#


It looks like it found something what is going on? I don't have a clue.
I'm going to uninstall python and then reinstall python see if that helps
Thanks for the help

kovidgoyal
11-14-2007, 09:07 PM
No need replace easy_install with the following


python2.5 /usr/lib/python2.5/site-packages/setuptools/command/easy_install.py

dschiri1
11-16-2007, 10:50 PM
that worked great , butt....
when I tried to run the

[root@localhost /]# libprs500_postinstall
-bash: libprs500_postinstall: command not found

so I tried to locate it by

[root@localhost /]# locate libprs500_postinstall
[root@localhost /]#
but got back nothing



thanks for the help

I have only one more command I'm almost done!!!!

kovidgoyal
11-16-2007, 11:07 PM
Re run the easy_install command and look at its output carefully. It will tell you where it installed libprs500_postinstall

dschiri1
11-17-2007, 12:28 AM
Well I may have spoke to soon when I ran the command it gave me no out put this is what I typed.

[root@localhost ~]# python2.5 /usr/lib/python2.5/site-packages/setuptools/command/easy_install.py -U TTFQuery libprs500
[root@localhost ~]#

There wasn't any output.

Did I do some thing wrong?

kovidgoyal
11-17-2007, 12:46 AM
what does a "which python2.5" give you?

dschiri1
11-17-2007, 12:56 AM
It gives me
[root@localhost ~]# which python2.5
/usr/bin/python2.5

kovidgoyal
11-17-2007, 02:07 AM
Hmm

which libprs500

dschiri1
11-17-2007, 08:38 AM
How do I find that out? I followed the instruction from https://libprs500.kovidgoyal.net/download_fedora

kovidgoyal
11-17-2007, 12:58 PM
I meant execute the command

which libprs500

dschiri1
11-17-2007, 03:14 PM
What information do you need?

DaleDe
11-17-2007, 04:35 PM
What information do you need?

Look at message 10 where you did exactly the same thing. He needs the same thing he needed then, the path to the executable. You used to know how to do this.

Dale

dschiri1
11-17-2007, 06:22 PM
Sorry about being slow. I didn't refresh page and posted quick reply again
here is the output.


[root@localhost ~]# which libprs500
/usr/bin/which: no libprs500 in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
[root@localhost ~]#

DaleDe
11-17-2007, 06:35 PM
Sorry about being slow. I didn't refresh page and posted quick reply again
here is the output.


[root@localhost ~]# which libprs500
/usr/bin/which: no libprs500 in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
[root@localhost ~]#

I can't help you figure out the problem but just for gathering facts maybe I can help get answers without a long string of questions that takes days. Do you have . in your search path? How are you starting libprs500?

kovidgoyal
11-17-2007, 09:55 PM
Wow there's something very weird about your installation. Post the output of

env | grep PATH

dschiri1
11-17-2007, 10:45 PM
Well it is a fresh install of fedora 8 not a upgrade.

here is the out put

[root@localhost ~]# env | grep PATH
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
[root@localhost ~]#


Any ideas?

kovidgoyal
11-17-2007, 11:29 PM
I'm amazed that the easy_install command is giving you no output. For me on a fedora 7 system, I get the following output


pcth04a ~ # easy_install -U TTFQuery libprs500
Searching for TTFQuery
Reading http://pypi.python.org/simple/TTFQuery/
Reading http://members.rogers.com/mcfletch/
Reading https://sourceforge.net/project/showfiles.php?group_id=84080
Best match: TTFQuery 1.0.0
Downloading http://downloads.sourceforge.net/ttfquery/TTFQuery-1.0.0.zip?modtime=1079827200&big_mirror=0
Processing TTFQuery-1.0.0.zip
Running TTFQuery-1.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-afr0Sd/TTFQuery-1.0.0/egg-dist-tmp-g7EIiy
warning: no previously-included files matching '*CVS*' found anywhere in distribution
warning: no previously-included files matching '*Cvs*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.ttf' found anywhere in distribution
warning: no previously-included files matching '*.cache' found anywhere in distribution
warning: no previously-included files matching '*.bat' found anywhere in distribution
zip_safe flag not set; analyzing archive contents...
ttfquery._scriptregistry: module references __file__
Adding TTFQuery 1.0.0 to easy-install.pth file

Installed /usr/lib/python2.5/site-packages/TTFQuery-1.0.0-py2.5.egg
Processing dependencies for TTFQuery
Finished processing dependencies for TTFQuery
Searching for libprs500
Reading http://pypi.python.org/simple/libprs500/
Reading http://libprs500.kovidgoyal.net
Best match: libprs500 0.4.22
Downloading http://pypi.python.org/packages/2.5/l/libprs500/libprs500-0.4.22-py2.5.egg#md5=c2e8af463a633f907083256fb6b0f636
Processing libprs500-0.4.22-py2.5.egg
Moving libprs500-0.4.22-py2.5.egg to /usr/lib/python2.5/site-packages
Adding libprs500 0.4.22 to easy-install.pth file
Installing lrf-meta script to /usr/bin
Installing lit-meta script to /usr/bin
Installing pdf-meta script to /usr/bin
Installing rtf-meta script to /usr/bin
Installing web2lrf script to /usr/bin
Installing isbndb script to /usr/bin
Installing any2lrf script to /usr/bin
Installing pdf2lrf script to /usr/bin
Installing lrf2lrs script to /usr/bin
Installing web2disk script to /usr/bin
Installing html2lrf script to /usr/bin
Installing markdown-libprs500 script to /usr/bin
Installing libprs500_postinstall script to /usr/bin
Installing prs500 script to /usr/bin
Installing txt2lrf script to /usr/bin
Installing lit2lrf script to /usr/bin
Installing rtf2lrf script to /usr/bin
Installing lrfviewer script to /usr/bin
Installing libprs500 script to /usr/bin

Installed /usr/lib/python2.5/site-packages/libprs500-0.4.22-py2.5.egg
Processing dependencies for libprs500
Finished processing dependencies for libprs500

dschiri1
11-17-2007, 11:43 PM
I know I was using fedora 7 and was using one of your earlier version on that system and thought it was really great. I just decided to start from scratch with fedora 8. So I decided in my great wisdom why not do a fresh install to F8 out what harm can it do. boy was I wrong. F8 is not terrible but it giving me some problems.

kovidgoyal
11-17-2007, 11:50 PM
I make it a policy with fedora to never upgrade to the current release always stay one behind, otherwise it's just too unstable.

Unfortunately, I cant really help you as I don't have a fedora 8 system to test on.

One suggestion I have is to read the setuptools documentation and install it manually, the fedora setuptools RPM seems to be borked.

dschiri1
11-19-2007, 07:42 PM
I just wanted to say thanks for all the help. I'm going to look a your output and see if I can get it loaded.

Thanks
david

dschiri1
11-19-2007, 08:34 PM
well I've started on the path to finding out what is going on I have used the -v to see what it actually is going on. but I'm not an expert in python. So if anyone can give a look and see what is not going on with python.

[root@localhost ~]# python2.5 -v /usr/lib/python2.5/site-packages/setuptools/command/easy_install.py
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/lib64/python2.5/site.pyc matches /usr/lib64/python2.5/site.py
import site # precompiled from /usr/lib64/python2.5/site.pyc
# /usr/lib64/python2.5/os.pyc matches /usr/lib64/python2.5/os.py
import os # precompiled from /usr/lib64/python2.5/os.pyc
import posix # builtin
# /usr/lib64/python2.5/posixpath.pyc matches /usr/lib64/python2.5/posixpath.py
import posixpath # precompiled from /usr/lib64/python2.5/posixpath.pyc
# /usr/lib64/python2.5/stat.pyc matches /usr/lib64/python2.5/stat.py
import stat # precompiled from /usr/lib64/python2.5/stat.pyc
# /usr/lib64/python2.5/UserDict.pyc matches /usr/lib64/python2.5/UserDict.py
import UserDict # precompiled from /usr/lib64/python2.5/UserDict.pyc
# /usr/lib64/python2.5/copy_reg.pyc matches /usr/lib64/python2.5/copy_reg.py
import copy_reg # precompiled from /usr/lib64/python2.5/copy_reg.pyc
# /usr/lib64/python2.5/types.pyc matches /usr/lib64/python2.5/types.py
import types # precompiled from /usr/lib64/python2.5/types.pyc
import _types # builtin
# /usr/lib64/python2.5/warnings.pyc matches /usr/lib64/python2.5/warnings.py
import warnings # precompiled from /usr/lib64/python2.5/warnings.pyc
# /usr/lib64/python2.5/linecache.pyc matches /usr/lib64/python2.5/linecache.py
import linecache # precompiled from /usr/lib64/python2.5/linecache.pyc
import encodings # directory /usr/lib64/python2.5/encodings
# /usr/lib64/python2.5/encodings/__init__.pyc matches /usr/lib64/python2.5/encodings/__init__.py
import encodings # precompiled from /usr/lib64/python2.5/encodings/__init__.pyc
# /usr/lib64/python2.5/codecs.pyc matches /usr/lib64/python2.5/codecs.py
import codecs # precompiled from /usr/lib64/python2.5/codecs.pyc
import _codecs # builtin
# /usr/lib64/python2.5/encodings/aliases.pyc matches /usr/lib64/python2.5/encodings/aliases.py
import encodings.aliases # precompiled from /usr/lib64/python2.5/encodings/aliases.pyc
# /usr/lib64/python2.5/encodings/utf_8.pyc matches /usr/lib64/python2.5/encodings/utf_8.py
import encodings.utf_8 # precompiled from /usr/lib64/python2.5/encodings/utf_8.pyc
Python 2.5.1 (r251:54863, Oct 30 2007, 13:45:26)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
# /usr/lib64/python2.5/shutil.pyc matches /usr/lib64/python2.5/shutil.py
import shutil # precompiled from /usr/lib64/python2.5/shutil.pyc
# /usr/lib64/python2.5/tempfile.pyc matches /usr/lib64/python2.5/tempfile.py
import tempfile # precompiled from /usr/lib64/python2.5/tempfile.pyc
import errno # builtin
# /usr/lib64/python2.5/random.pyc matches /usr/lib64/python2.5/random.py
import random # precompiled from /usr/lib64/python2.5/random.pyc
dlopen("/usr/lib64/python2.5/lib-dynload/mathmodule.so", 2);
import math # dynamically loaded from /usr/lib64/python2.5/lib-dynload/mathmodule.so
dlopen("/usr/lib64/python2.5/lib-dynload/binascii.so", 2);
import binascii # dynamically loaded from /usr/lib64/python2.5/lib-dynload/binascii.so
dlopen("/usr/lib64/python2.5/lib-dynload/_randommodule.so", 2);
import _random # dynamically loaded from /usr/lib64/python2.5/lib-dynload/_randommodule.so
dlopen("/usr/lib64/python2.5/lib-dynload/fcntlmodule.so", 2);
import fcntl # dynamically loaded from /usr/lib64/python2.5/lib-dynload/fcntlmodule.so
import thread # builtin
# /usr/lib64/python2.5/zipfile.pyc matches /usr/lib64/python2.5/zipfile.py
import zipfile # precompiled from /usr/lib64/python2.5/zipfile.pyc
# /usr/lib64/python2.5/struct.pyc matches /usr/lib64/python2.5/struct.py
import struct # precompiled from /usr/lib64/python2.5/struct.pyc
dlopen("/usr/lib64/python2.5/lib-dynload/_struct.so", 2);
import _struct # dynamically loaded from /usr/lib64/python2.5/lib-dynload/_struct.so
dlopen("/usr/lib64/python2.5/lib-dynload/timemodule.so", 2);
import time # dynamically loaded from /usr/lib64/python2.5/lib-dynload/timemodule.so
dlopen("/usr/lib64/python2.5/lib-dynload/cStringIO.so", 2);
import cStringIO # dynamically loaded from /usr/lib64/python2.5/lib-dynload/cStringIO.so
dlopen("/usr/lib64/python2.5/lib-dynload/zlibmodule.so", 2);
import zlib # dynamically loaded from /usr/lib64/python2.5/lib-dynload/zlibmodule.so
# /usr/lib64/python2.5/re.pyc matches /usr/lib64/python2.5/re.py
import re # precompiled from /usr/lib64/python2.5/re.pyc
# /usr/lib64/python2.5/sre_compile.pyc matches /usr/lib64/python2.5/sre_compile.py
import sre_compile # precompiled from /usr/lib64/python2.5/sre_compile.pyc
import _sre # builtin
# /usr/lib64/python2.5/sre_constants.pyc matches /usr/lib64/python2.5/sre_constants.py
import sre_constants # precompiled from /usr/lib64/python2.5/sre_constants.pyc
# /usr/lib64/python2.5/sre_parse.pyc matches /usr/lib64/python2.5/sre_parse.py
import sre_parse # precompiled from /usr/lib64/python2.5/sre_parse.pyc
# /usr/lib64/python2.5/glob.pyc matches /usr/lib64/python2.5/glob.py
import glob # precompiled from /usr/lib64/python2.5/glob.pyc
# /usr/lib64/python2.5/fnmatch.pyc matches /usr/lib64/python2.5/fnmatch.py
import fnmatch # precompiled from /usr/lib64/python2.5/fnmatch.pyc
import setuptools # directory /usr/lib/python2.5/site-packages/setuptools
# /usr/lib/python2.5/site-packages/setuptools/__init__.pyc matches /usr/lib/python2.5/site-packages/setuptools/__init__.py
import setuptools # precompiled from /usr/lib/python2.5/site-packages/setuptools/__init__.pyc
# /usr/lib/python2.5/site-packages/setuptools/extension.pyc matches /usr/lib/python2.5/site-packages/setuptools/extension.py
import setuptools.extension # precompiled from /usr/lib/python2.5/site-packages/setuptools/extension.pyc
import distutils # directory /usr/lib64/python2.5/distutils
# /usr/lib64/python2.5/distutils/__init__.pyc matches /usr/lib64/python2.5/distutils/__init__.py
import distutils # precompiled from /usr/lib64/python2.5/distutils/__init__.pyc
# /usr/lib64/python2.5/distutils/core.pyc matches /usr/lib64/python2.5/distutils/core.py
import distutils.core # precompiled from /usr/lib64/python2.5/distutils/core.pyc
# /usr/lib64/python2.5/distutils/debug.pyc matches /usr/lib64/python2.5/distutils/debug.py
import distutils.debug # precompiled from /usr/lib64/python2.5/distutils/debug.pyc
# /usr/lib64/python2.5/distutils/errors.pyc matches /usr/lib64/python2.5/distutils/errors.py
import distutils.errors # precompiled from /usr/lib64/python2.5/distutils/errors.pyc
# /usr/lib64/python2.5/distutils/util.pyc matches /usr/lib64/python2.5/distutils/util.py
import distutils.util # precompiled from /usr/lib64/python2.5/distutils/util.pyc
# /usr/lib64/python2.5/string.pyc matches /usr/lib64/python2.5/string.py
import string # precompiled from /usr/lib64/python2.5/string.pyc
dlopen("/usr/lib64/python2.5/lib-dynload/stropmodule.so", 2);
import strop # dynamically loaded from /usr/lib64/python2.5/lib-dynload/stropmodule.so
# /usr/lib64/python2.5/distutils/dep_util.pyc matches /usr/lib64/python2.5/distutils/dep_util.py
import distutils.dep_util # precompiled from /usr/lib64/python2.5/distutils/dep_util.pyc
# /usr/lib64/python2.5/distutils/spawn.pyc matches /usr/lib64/python2.5/distutils/spawn.py
import distutils.spawn # precompiled from /usr/lib64/python2.5/distutils/spawn.pyc
# /usr/lib64/python2.5/distutils/log.pyc matches /usr/lib64/python2.5/distutils/log.py
import distutils.log # precompiled from /usr/lib64/python2.5/distutils/log.pyc
# /usr/lib64/python2.5/distutils/dist.pyc matches /usr/lib64/python2.5/distutils/dist.py
import distutils.dist # precompiled from /usr/lib64/python2.5/distutils/dist.pyc
# /usr/lib64/python2.5/copy.pyc matches /usr/lib64/python2.5/copy.py
import copy # precompiled from /usr/lib64/python2.5/copy.pyc
# /usr/lib64/python2.5/distutils/fancy_getopt.pyc matches /usr/lib64/python2.5/distutils/fancy_getopt.py
import distutils.fancy_getopt # precompiled from /usr/lib64/python2.5/distutils/fancy_getopt.pyc
# /usr/lib64/python2.5/getopt.pyc matches /usr/lib64/python2.5/getopt.py
import getopt # precompiled from /usr/lib64/python2.5/getopt.pyc
# /usr/lib64/python2.5/distutils/cmd.pyc matches /usr/lib64/python2.5/distutils/cmd.py
import distutils.cmd # precompiled from /usr/lib64/python2.5/distutils/cmd.pyc
# /usr/lib64/python2.5/distutils/dir_util.pyc matches /usr/lib64/python2.5/distutils/dir_util.py
import distutils.dir_util # precompiled from /usr/lib64/python2.5/distutils/dir_util.pyc
# /usr/lib64/python2.5/distutils/file_util.pyc matches /usr/lib64/python2.5/distutils/file_util.py
import distutils.file_util # precompiled from /usr/lib64/python2.5/distutils/file_util.pyc
# /usr/lib64/python2.5/distutils/archive_util.pyc matches /usr/lib64/python2.5/distutils/archive_util.py
import distutils.archive_util # precompiled from /usr/lib64/python2.5/distutils/archive_util.pyc
# /usr/lib64/python2.5/distutils/extension.pyc matches /usr/lib64/python2.5/distutils/extension.py
import distutils.extension # precompiled from /usr/lib64/python2.5/distutils/extension.pyc
# /usr/lib/python2.5/site-packages/setuptools/dist.pyc matches /usr/lib/python2.5/site-packages/setuptools/dist.py
import setuptools.dist # precompiled from /usr/lib/python2.5/site-packages/setuptools/dist.pyc
# /usr/lib/python2.5/site-packages/setuptools/depends.pyc matches /usr/lib/python2.5/site-packages/setuptools/depends.py
import setuptools.depends # precompiled from /usr/lib/python2.5/site-packages/setuptools/depends.pyc
# /usr/lib64/python2.5/__future__.pyc matches /usr/lib64/python2.5/__future__.py
import __future__ # precompiled from /usr/lib64/python2.5/__future__.pyc
import imp # builtin
import marshal # builtin
# /usr/lib64/python2.5/distutils/version.pyc matches /usr/lib64/python2.5/distutils/version.py
import distutils.version # precompiled from /usr/lib64/python2.5/distutils/version.pyc
import setuptools.command # directory /usr/lib/python2.5/site-packages/setuptools/command
# /usr/lib/python2.5/site-packages/setuptools/command/__init__.pyc matches /usr/lib/python2.5/site-packages/setuptools/command/__init__.py
import setuptools.command # precompiled from /usr/lib/python2.5/site-packages/setuptools/command/__init__.pyc
import distutils.command # directory /usr/lib64/python2.5/distutils/command
# /usr/lib64/python2.5/distutils/command/__init__.pyc matches /usr/lib64/python2.5/distutils/command/__init__.py
import distutils.command # precompiled from /usr/lib64/python2.5/distutils/command/__init__.pyc
# /usr/lib64/python2.5/distutils/command/bdist.pyc matches /usr/lib64/python2.5/distutils/command/bdist.py
import distutils.command.bdist # precompiled from /usr/lib64/python2.5/distutils/command/bdist.pyc
# /usr/lib/python2.5/site-packages/setuptools/command/install.pyc matches /usr/lib/python2.5/site-packages/setuptools/command/install.py
import setuptools.command.install # precompiled from /usr/lib/python2.5/site-packages/setuptools/command/install.pyc
# /usr/lib64/python2.5/distutils/command/install.pyc matches /usr/lib64/python2.5/distutils/command/install.py
import distutils.command.install # precompiled from /usr/lib64/python2.5/distutils/command/install.pyc
# /usr/lib64/python2.5/distutils/sysconfig.pyc matches /usr/lib64/python2.5/distutils/sysconfig.py
import distutils.sysconfig # precompiled from /usr/lib64/python2.5/distutils/sysconfig.pyc
# /usr/lib/python2.5/site-packages/setuptools/command/sdist.pyc matches /usr/lib/python2.5/site-packages/setuptools/command/sdist.py
import setuptools.command.sdist # precompiled from /usr/lib/python2.5/site-packages/setuptools/command/sdist.pyc
# /usr/lib64/python2.5/distutils/command/sdist.pyc matches /usr/lib64/python2.5/distutils/command/sdist.py
import distutils.command.sdist # precompiled from /usr/lib64/python2.5/distutils/command/sdist.pyc
# /usr/lib64/python2.5/distutils/text_file.pyc matches /usr/lib64/python2.5/distutils/text_file.py
import distutils.text_file # precompiled from /usr/lib64/python2.5/distutils/text_file.pyc
# /usr/lib64/python2.5/distutils/filelist.pyc matches /usr/lib64/python2.5/distutils/filelist.py
import distutils.filelist # precompiled from /usr/lib64/python2.5/distutils/filelist.pyc
# /usr/lib/python2.5/site-packages/pkg_resources.pyc matches /usr/lib/python2.5/site-packages/pkg_resources.py
import pkg_resources # precompiled from /usr/lib/python2.5/site-packages/pkg_resources.pyc
# /usr/lib64/python2.5/new.pyc matches /usr/lib64/python2.5/new.py
import new # precompiled from /usr/lib64/python2.5/new.pyc
# /usr/lib64/python2.5/pkgutil.pyc matches /usr/lib64/python2.5/pkgutil.py
import pkgutil # precompiled from /usr/lib64/python2.5/pkgutil.pyc
# /usr/lib/python2.5/site-packages/setuptools/command/install_lib.pyc matches /usr/lib/python2.5/site-packages/setuptools/command/install_lib.py
import setuptools.command.install_lib # precompiled from /usr/lib/python2.5/site-packages/setuptools/command/install_lib.pyc
# /usr/lib64/python2.5/distutils/command/install_lib.pyc matches /usr/lib64/python2.5/distutils/command/install_lib.py
import distutils.command.install_lib # precompiled from /usr/lib64/python2.5/distutils/command/install_lib.pyc
# /usr/lib/python2.5/site-packages/setuptools/sandbox.pyc matches /usr/lib/python2.5/site-packages/setuptools/sandbox.py
import setuptools.sandbox # precompiled from /usr/lib/python2.5/site-packages/setuptools/sandbox.pyc
dlopen("/usr/lib64/python2.5/lib-dynload/operator.so", 2);
import operator # dynamically loaded from /usr/lib64/python2.5/lib-dynload/operator.so
# /usr/lib/python2.5/site-packages/setuptools/archive_util.pyc matches /usr/lib/python2.5/site-packages/setuptools/archive_util.py
import setuptools.archive_util # precompiled from /usr/lib/python2.5/site-packages/setuptools/archive_util.pyc
# /usr/lib64/python2.5/tarfile.pyc matches /usr/lib64/python2.5/tarfile.py
import tarfile # precompiled from /usr/lib64/python2.5/tarfile.pyc
dlopen("/usr/lib64/python2.5/lib-dynload/grpmodule.so", 2);
import grp # dynamically loaded from /usr/lib64/python2.5/lib-dynload/grpmodule.so
import pwd # builtin
# /usr/lib/python2.5/site-packages/setuptools/package_index.pyc matches /usr/lib/python2.5/site-packages/setuptools/package_index.py
import setuptools.package_index # precompiled from /usr/lib/python2.5/site-packages/setuptools/package_index.pyc
# /usr/lib64/python2.5/urlparse.pyc matches /usr/lib64/python2.5/urlparse.py
import urlparse # precompiled from /usr/lib64/python2.5/urlparse.pyc
# /usr/lib64/python2.5/urllib2.pyc matches /usr/lib64/python2.5/urllib2.py
import urllib2 # precompiled from /usr/lib64/python2.5/urllib2.pyc
# /usr/lib64/python2.5/base64.pyc matches /usr/lib64/python2.5/base64.py
import base64 # precompiled from /usr/lib64/python2.5/base64.pyc
# /usr/lib64/python2.5/hashlib.pyc matches /usr/lib64/python2.5/hashlib.py
import hashlib # precompiled from /usr/lib64/python2.5/hashlib.pyc
dlopen("/usr/lib64/python2.5/lib-dynload/_hashlib.so", 2);
import _hashlib # dynamically loaded from /usr/lib64/python2.5/lib-dynload/_hashlib.so
# /usr/lib64/python2.5/httplib.pyc matches /usr/lib64/python2.5/httplib.py
import httplib # precompiled from /usr/lib64/python2.5/httplib.pyc
# /usr/lib64/python2.5/mimetools.pyc matches /usr/lib64/python2.5/mimetools.py
import mimetools # precompiled from /usr/lib64/python2.5/mimetools.pyc
# /usr/lib64/python2.5/rfc822.pyc matches /usr/lib64/python2.5/rfc822.py
import rfc822 # precompiled from /usr/lib64/python2.5/rfc822.pyc
# /usr/lib64/python2.5/socket.pyc matches /usr/lib64/python2.5/socket.py
import socket # precompiled from /usr/lib64/python2.5/socket.pyc
dlopen("/usr/lib64/python2.5/lib-dynload/_socketmodule.so", 2);
import _socket # dynamically loaded from /usr/lib64/python2.5/lib-dynload/_socketmodule.so
dlopen("/usr/lib64/python2.5/lib-dynload/_ssl.so", 2);
import _ssl # dynamically loaded from /usr/lib64/python2.5/lib-dynload/_ssl.so
# /usr/lib64/python2.5/bisect.pyc matches /usr/lib64/python2.5/bisect.py
import bisect # precompiled from /usr/lib64/python2.5/bisect.pyc
dlopen("/usr/lib64/python2.5/lib-dynload/_bisect.so", 2);
import _bisect # dynamically loaded from /usr/lib64/python2.5/lib-dynload/_bisect.so
# /usr/lib64/python2.5/urllib.pyc matches /usr/lib64/python2.5/urllib.py
import urllib # precompiled from /usr/lib64/python2.5/urllib.pyc
# /usr/lib64/python2.5/md5.pyc matches /usr/lib64/python2.5/md5.py
import md5 # precompiled from /usr/lib64/python2.5/md5.pyc
# /usr/lib/python2.5/site-packages/setuptools/command/bdist_egg.pyc matches /usr/lib/python2.5/site-packages/setuptools/command/bdist_egg.py
import setuptools.command.bdist_egg # precompiled from /usr/lib/python2.5/site-packages/setuptools/command/bdist_egg.pyc
# /usr/lib/python2.5/site-packages/setuptools/command/egg_info.pyc matches /usr/lib/python2.5/site-packages/setuptools/command/egg_info.py
import setuptools.command.egg_info # precompiled from /usr/lib/python2.5/site-packages/setuptools/command/egg_info.pyc
# clear __builtin__._
# clear sys.path
# clear sys.argv
# clear sys.ps1
# clear sys.ps2
# clear sys.exitfunc
# clear sys.exc_type
# clear sys.exc_value
# clear sys.exc_traceback
# clear sys.last_type
# clear sys.last_value
# clear sys.last_traceback
# clear sys.path_hooks
# clear sys.path_importer_cache
# clear sys.meta_path
# restore sys.stdin
# restore sys.stdout
# restore sys.stderr
# cleanup __main__
# cleanup[1] _bisect
# cleanup[1] signal
# cleanup[1] encodings
# cleanup[1] urllib
# cleanup[1] math
# cleanup[1] exceptions
# cleanup[1] pkgutil
# cleanup[1] __future__
# cleanup[1] sre_constants
# cleanup[1] md5
# cleanup[1] _codecs
# cleanup[1] _struct
# cleanup[1] _types
# cleanup[1] encodings.aliases
# cleanup[1] site
# cleanup[1] strop
# cleanup[1] glob
# cleanup[1] encodings.utf_8
# cleanup[1] codecs
# cleanup[2] distutils.debug
# cleanup[2] distutils
# cleanup[2] random
# cleanup[2] distutils.fancy_getopt
# cleanup[2] distutils.dep_util
# cleanup[2] struct
# cleanup[2] tempfile
# cleanup[2] setuptools.extension
# cleanup[2] base64
# cleanup[2] setuptools.archive_util
# cleanup[2] imp
# cleanup[2] zipimport
# cleanup[2] string
# cleanup[2] zipfile
# cleanup[2] distutils.cmd
# cleanup[2] distutils.filelist
# cleanup[2] httplib
# cleanup[2] setuptools.depends
# cleanup[2] bisect
# cleanup[2] distutils.command.install
# cleanup[2] setuptools.command
# cleanup[2] distutils.log
# cleanup[2] distutils.version
# cleanup[2] cStringIO
# cleanup[2] distutils.sysconfig
# cleanup[2] distutils.dist
# cleanup[2] rfc822
# cleanup[2] tarfile
# cleanup[2] re
# cleanup[2] new
# cleanup[2] fcntl
# cleanup[2] setuptools.command.install_lib
# cleanup[2] UserDict
# cleanup[2] setuptools.dist
# cleanup[2] socket
# cleanup[2] thread
# cleanup[2] setuptools.package_index
# cleanup[2] setuptools.sandbox
# cleanup[2] pkg_resources
# cleanup[2] distutils.spawn
# cleanup[2] os
# cleanup[2] marshal
# cleanup[2] distutils.command.bdist
# cleanup[2] distutils.command.install_lib
# cleanup[2] _sre
# cleanup[2] distutils.dir_util
# cleanup[2] distutils.command
# cleanup[2] operator
# cleanup[2] distutils.util
# cleanup[2] posixpath
# cleanup[2] setuptools.command.sdist
# cleanup[2] errno
# cleanup[2] _socket
# cleanup[2] binascii
# cleanup[2] types
# cleanup[2] pwd
# cleanup[2] copy
# cleanup[2] hashlib
# cleanup[2] zlib
# cleanup[2] distutils.extension
# cleanup[2] posix
# cleanup[2] setuptools
# cleanup[2] fnmatch
# cleanup[2] sre_parse
# cleanup[2] setuptools.command.egg_info
# cleanup[2] mimetools
# cleanup[2] copy_reg
# cleanup[2] sre_compile
# cleanup[2] setuptools.command.bdist_egg
# cleanup[2] _hashlib
# cleanup[2] _random
# cleanup[2] shutil
# cleanup[2] distutils.command.sdist
# cleanup[2] grp
# cleanup[2] getopt
# cleanup[2] stat
# cleanup[2] _ssl
# cleanup[2] warnings
# cleanup[2] distutils.archive_util
# cleanup[2] urllib2
# cleanup[2] distutils.file_util
# cleanup[2] os.path
# cleanup[2] distutils.core
# cleanup[2] distutils.errors
# cleanup[2] urlparse
# cleanup[2] linecache
# cleanup[2] time
# cleanup[2] distutils.text_file
# cleanup[2] setuptools.command.install
# cleanup sys
# cleanup __builtin__
# cleanup ints: 74 unfreed ints in 15 out of 29 blocks
# cleanup floats: 27 unfreed floats in 1 out of 2 blocks
[root@localhost ~]#


david

kovidgoyal
11-19-2007, 08:39 PM
looks like your setuptools installtion is broken. Try a manual installation by following the instructions at
http://peak.telecommunity.com/DevCenter/EasyInstall#installation-instructions

dschiri1
11-27-2007, 10:20 PM
well,
low and behold I do a yum update and now Libprs500 installs without a problem at all. I saw that fedora updated some python rpm's so I tried to reinstall and its done. It works great. Thanks kovidgoyal for all the time you spent on trying to solve the problem.

David

kovidgoyal
11-27-2007, 11:11 PM
I'm glad the fedora team got their act together. :-)