Results 1 to 3 of 3

Thread: problem installing IcePy-3.2.1

  1. #1
    xdm's Avatar
    xdm
    xdm is offline ZeroC Staff
    Name: Jose Gutierrez de la Concha
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Sep 2003
    Location
    La Coruņa, Spain
    Posts
    588

    problem installing IcePy-3.2.1

    I install the IcePy-3.2.1 source packages in one of my servers , its compile and installs well but whe try to run any test that's impor Ice module I get a error like the following
    Code:
    /opt/IcePy-3.2.1/python/Ice.py:34: RuntimeWarning: 
    Python C API version mismatch for module IcePy: 
    This Python has API version 1013, 
    module IcePy has version 1012.
    Any ideas why happen this?
    Last edited by xdm; 10-31-2007 at 02:56 PM.

  2. #2
    mes's Avatar
    mes
    mes is online now ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,444
    It looks like IcePy was compiled against an older version of Python than what is in your PATH. The IcePy build system (see config/Make.rules) looks in a standard location for a Python installation; to force it to use an alternate installation, define the PYTHON_HOME environment variable.

    Take care,
    - Mark

  3. #3
    Andreas Scherer is offline Registered User
    Name: Andreas Scherer
    Organization: Private Linux Site
    Project: Evaluating Ice-C++, Ice-Java, Ice-Python, Ice-Ruby
    Join Date
    Mar 2005
    Location
    Berlin, Germany
    Posts
    50
    To whom it may concern, most notably the Debian package maintainer of the ZeroC Ice 3.2.1 distribution:

    After the recent upgrade to Kubuntu 8.04, the system default is Python 2.5 and the package 'python-zeroc-ice' installs 'IcePy.so' expressly in directory /usr/lib/python-support/python-zeroc-ice/python2.5. However, this obviously is not correct, because this binary was created against Python API 1012 and can only be used with Python 2.4.

    Installing Python 2.4, adding appropriate softlinks into its search paths, and using 'python2.4' instead of vanilla 'python' on the commandline (temporarily) fixes this situation.

    Looking forward to an updated package,
    Andreas

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problem while installing zeroc-ice on Ubuntu
    By eddi96 in forum Help Center
    Replies: 1
    Last Post: 02-15-2010, 07:11 AM
  2. Installing IcePy-3.2.1 on Solaris 10 x86
    By fazkanji in forum Bug Reports
    Replies: 1
    Last Post: 11-06-2007, 10:14 PM
  3. Problem installing Ice 2.0 on Fedora Core 3
    By umber in forum Help Center
    Replies: 5
    Last Post: 12-03-2004, 06:12 PM
  4. The problem of installing ICE on LINUX
    By fjjoljh in forum Help Center
    Replies: 7
    Last Post: 11-24-2004, 04:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •