python installation destination directory

ZMY zhonghua.m.yang at gmail.com
Tue Apr 3 00:33:58 EDT 2007


Hi all,

I am installing python 2.2 on QNX4.25 but can't get it into /usr/local/
bin/ directory. Here is what I did:

1) untar Python-2.2 into directory /openqnx/Python-2.2/

2) use command:
    CONFIG_SHELL=/usr/local/bin/bash CC=cc RANLIB=:
    ./configure --verbose --without-gcc --with-libm=""

3) Enabled array, math, os, struct, time, cmath modules

4) use command:
    make SHELL=/usr/local/bin/bash

and I got a python excutable in directory
     /openqnx/Python-2.2/

which works well with all the modules. But I really want to have it
at /usr/local/bin

I checked the Makefile, and it seems python should be installed in /
usr/local/bin instead, since I got following lines in Makefile:

    # Install prefix for architecture-independent files
    prefix=         /usr/local

    # Install prefix for architecture-dependent files
    exec_prefix=    ${prefix}

Do any of you know what the problem is?

Thanks a lot in advance.

- ZMY




More information about the Python-list mailing list