#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2003
    Location
    el paso, texas
    Posts
    9
    Rep Power
    0

    Python install problem


    I was trying to install Zope on my web server. When I ran ./configure, I got:
    Configuring Zope installation

    Testing for an acceptable Python interpreter...

    Could not find platform independent libraries <prefix>
    Could not find platform dependent libraries <exec_prefix>
    Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
    'import site' failed; use -v for traceback
    Traceback (most recent call last):
    File "<string>", line 1, in ?
    ImportError: No module named string
    Python version found at /usr/bin/python
    Python version 2.2.2 found at /usr/bin/python2

    No suitable Python version found. You should install
    Python version 2.3.4 before continuing. Versions
    2.3.3 also work, but not as optimally.


    This is after I downloaded the most recent version of Python. When I run 'python' to get the interpreter, it says,
    Could not find platform independent libraries <prefix>
    Could not find platform dependent libraries <exec_prefix>
    Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
    'import site' failed; use -v for traceback
    Python 2.4 (#1, Dec 20 2004, 22:07:14)
    [GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-113)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>>


    inside the file, config.log, I see a lot of failures that look alarming to me, but the program goes on its merry way, and doesn't have any complaints at the end. In particular, I see the following line a lot:
    configure: failed program was: /* confdefs.h. */

    As an aside, what news reader can I get for my Linux box? I haven't found how to do this on google.
  2. #2
  3. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    13
    I re-read your post - you compiled Python and got errors...

    My guess is that you will have to update a lot of libraries to get Python to compile cleanly and maybe then it will work.

    I don't see an RPM for Redhat 7.3 on the Python.org site for any of the recent Python versions that you have tried which suggests to me that the dependencies you will need to resolve will be large.

    Is it possible to upgrade to Fedora?

    grim
    Last edited by Grim Archon; December 22nd, 2004 at 05:33 AM.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2003
    Location
    el paso, texas
    Posts
    9
    Rep Power
    0
    hmm. I don't usually have problems compiling things. And I don't understand why the Python compilation continues after getting what should be a fatal error.

    Oh, well. I guess I'll have to keep plugging away.

    Thanks for the info.

IMN logo majestic logo threadwatch logo seochat tools logo