python 2.5 install from source problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fabian Braennstroem

    #1

    python 2.5 install from source problem

    Hi,

    I just tried to install python 2.5 from source on my
    ScienticLinux (Redhat Clone) machine. It seems to work
    without any problem, at least I am able to run some of my
    old scripts. I installed it with './configure
    --prefix=/opt/python make make altinstall', but now for a
    'vtk' installation which needs the python libraries I am not
    able to find a file like 'libpython2.5.s o.*', which I think
    should be produced (at least at my office's machine (redhat)
    it is there). I just can find a 'libpython2.5.a ' file ...

    Do I do something wrong?

    Greetings!
    Fabian

  • Martin v. Löwis

    #2
    Re: python 2.5 install from source problem

    Fabian Braennstroem schrieb:
    I just tried to install python 2.5 from source on my
    ScienticLinux (Redhat Clone) machine. It seems to work
    without any problem, at least I am able to run some of my
    old scripts. I installed it with './configure
    --prefix=/opt/python make make altinstall', but now for a
    'vtk' installation which needs the python libraries I am not
    able to find a file like 'libpython2.5.s o.*', which I think
    should be produced (at least at my office's machine (redhat)
    it is there). I just can find a 'libpython2.5.a ' file ...
    >
    Do I do something wrong?
    I'd say it is a bug in vtk that it requires libpython2.5.so .*.
    However, to work-around, you can configure Python with
    --enable-shared. Make sure to set LD_LIBRARY_PATH or LD_RUN_PATH
    appropriately.

    Regards,
    Martin

    Comment

    • Fabian Braennstroem

      #3
      Re: python 2.5 install from source problem

      Hi Martin,

      * Martin v. Löwis <martin@v.loewi s.dewrote:
      Fabian Braennstroem schrieb:
      >I just tried to install python 2.5 from source on my
      >ScienticLinu x (Redhat Clone) machine. It seems to work
      >without any problem, at least I am able to run some of my
      >old scripts. I installed it with './configure
      >--prefix=/opt/python make make altinstall', but now for a
      >'vtk' installation which needs the python libraries I am not
      >able to find a file like 'libpython2.5.s o.*', which I think
      >should be produced (at least at my office's machine (redhat)
      >it is there). I just can find a 'libpython2.5.a ' file ...
      >>
      >Do I do something wrong?
      >
      I'd say it is a bug in vtk that it requires libpython2.5.so .*.
      However, to work-around, you can configure Python with
      --enable-shared. Make sure to set LD_LIBRARY_PATH or LD_RUN_PATH
      appropriately.
      Thanks a lot!


      Greetings!
      Fabian

      Comment

      Working...