python installation destination directory

Z

ZMY

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
 
K

Kushal Kumaran

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?

You need to do a make install.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,280
Latest member
BGBBrock56

Latest Threads

Top