Archived

This forum has been archived. Please start a new discussion on GitHub.

Installing IcePy-3.2.1 on Solaris 10 x86

Hi, I have tried to compile the source code for IcePy-3.2.1 on Solaris 10 x86 using 'gmake' having edited the "Make.Rules" file according to the instructions. I already have Ice-3.2.1 installed but there are no python libraries in it. When trying to install IcePy, I get the following error:

PyInt_FromLong 0x1c7 /usr/local/lib/python2.5/config/libpython2.5.a(enumobject.o)
PyInt_FromLong 0x49b /usr/local/lib/python2.5/config/libpython2.5.a(enumobject.o)
PyInt_FromLong 0x1da /usr/local/lib/python2.5/config/libpython2.5.a(rangeobject.o)
PyInt_FromLong 0x1f5 /usr/local/lib/python2.5/config/libpython2.5.a(rangeobject.o)
ld: fatal: relocations remain against allocatable but non-writable sections
gmake[2]: *** [../../python/IcePy.so.3.2.1] Error 1
gmake[2]: Leaving directory `/apps/IcePy-3.2.1/modules/IcePy'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/apps/IcePy-3.2.1/modules'
gmake: *** [all] Error 1

Any ideas what is causing this and how this can be resolved?

Many thanks,

Faz

Comments

  • matthew
    matthew NL, Canada
    What compiler are you using? I suspect this is caused by linking against the python static library. You should recompile python 2.5 with shared library support.