Installation in a local directory

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sean McDaniel

    Installation in a local directory

    Hi y'all,

    I'm trying to perform a local install of python at work in my user
    directory. Everything compiles correctly, but I can't seem to tell the
    configure script the location of the bin and lib directories where I
    want my stuff. I've think I've passed the correct flags to the
    'configure' script.

    make clean
    ../configure --enable-shared --prefix=/user/mcdaniel/arch32
    make

    where arch32 contains the the lib and bin directories where I want my
    python stuff to go. Unfortunately these directories are not written
    to; everything ends up in the default location from where I ran 'make'.
    Moreover, if I add a symbolic link from the python binary (which I can
    run directly without problems) to the bin directory so that my PATH
    will recognize the new python, I get an error about loading shared
    libraries.

    I'm making on a 32 bit new debian system.

    Thank you for your help,

    Sean McDaniel

  • Steve Holden

    #2
    Re: Installation in a local directory

    Sean McDaniel wrote:
    Hi y'all,
    >
    I'm trying to perform a local install of python at work in my user
    directory. Everything compiles correctly, but I can't seem to tell the
    configure script the location of the bin and lib directories where I
    want my stuff. I've think I've passed the correct flags to the
    'configure' script.
    >
    make clean
    ./configure --enable-shared --prefix=/user/mcdaniel/arch32
    make
    >
    where arch32 contains the the lib and bin directories where I want my
    python stuff to go. Unfortunately these directories are not written to;
    everything ends up in the default location from where I ran 'make'.
    Moreover, if I add a symbolic link from the python binary (which I can
    run directly without problems) to the bin directory so that my PATH will
    recognize the new python, I get an error about loading shared libraries.
    >
    I'm making on a 32 bit new debian system.
    >
    Thank you for your help,
    >
    Did you run "make install" yet? It's that step that moves the binaries
    to where they should live. As it says in



    """Change to the Python-2.5 directory and run the "./configure", "make",
    "make install" commands to compile and install Python."""

    regards
    Steve
    --
    Steve Holden +1 571 484 6266 +1 800 494 3119
    Holden Web LLC http://www.holdenweb.com/

    Comment

    • s.mcdaniel

      #3
      Re: Installation in a local directory

      On Apr 25, 12:37 am, Steve Holden <st...@holdenwe b.comwrote:
      Sean McDaniel wrote:
      Hi y'all,
      >
      I'm trying to perform a local install of python at work in my user
      directory. Everything compiles correctly, but I can't seem to tell the
      configure script the location of the bin and lib directories where I
      want my stuff. I've think I've passed the correct flags to the
      'configure' script.
      >
      make clean
      ./configure --enable-shared --prefix=/user/mcdaniel/arch32
      make
      >
      where arch32 contains the the lib and bin directories where I want my
      python stuff to go. Unfortunately these directories are not written to;
      everything ends up in the default location from where I ran 'make'.
      Moreover, if I add a symbolic link from the python binary (which I can
      run directly without problems) to the bin directory so that my PATH will
      recognize the new python, I get an error about loading shared libraries.
      >
      I'm making on a 32 bit new debian system.
      >
      Thank you for your help,
      >
      Did you run "make install" yet? It's that step that moves the binaries
      to where they should live. As it says in
      >

      >
      """Change to the Python-2.5 directory and run the "./configure", "make",
      "make install" commands to compile and install Python."""
      >
      regards
      Steve
      --
      Steve Holden +1 571 484 6266 +1 800 494 3119
      Holden Web LLC http://www.holdenweb.com/
      Damnit,

      That was exactly the problem. Thank you.

      Sean

      Comment

      Working...