473,473 Members | 1,614 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

python installation destination directory

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

Apr 3 '07 #1
2 1764
On Apr 3, 9:33 am, "ZMY" <zhonghua.m.y...@gmail.comwrote:
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.

--
Kushal

Apr 3 '07 #2
ZMY
On Apr 3, 6:26 am, "Kushal Kumaran" <kushal.kuma...@gmail.comwrote:
On Apr 3, 9:33 am, "ZMY" <zhonghua.m.y...@gmail.comwrote:
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.

--
Kushal
Thanks. It works.

-ZMY

Apr 3 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Logan | last post by:
Several people asked me for the following HOWTO, so I decided to post it here (though it is still very 'alpha' and might contain many (?) mistakes; didn't test what I wrote, but wrote it - more or...
3
by: Stephen Ferg | last post by:
I need a little help here. I'm developing some introductory material on Python for non-programmers. The first draft includes this statement. Is this correct? ...
0
by: Sven Hilmahr | last post by:
Hello, I tried to do a Python 2.3.4 framework installation on my Mac OS X 10.3.5. I configured as described in /Mac/OSX/ReadMe: ../configure --enable-framework But on make test, one test...
3
by: Matthias Baas | last post by:
Hi, are there any guidelines about what to do if a Windows extension for Python 2.4 requires the C++ runtime (msvcp71.dll)? If I want to distribute a binary installer of an extension that...
9
by: Andy Leszczynski | last post by:
Hi, I run Mandrake 10.0 with python 2.3 installed by default. I want to keep it as it is but need another, very customized Python installation based of 2.3 as well. I would prefer to have it the...
17
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.4.2 (final). Python 2.4.2 is a bug-fix release. See the release notes at the ...
6
by: Sambo | last post by:
Some time ago I bought a newer computer with W2000 already on it so I moved my old drive to it as secondary( python was installed on non primary partition ). Not sure if the .msi installers were...
34
by: Ben Sizer | last post by:
I've installed several different versions of Python across several different versions of MS Windows, and not a single time was the Python directory or the Scripts subdirectory added to the PATH...
7
by: greg | last post by:
Thomas Philips wrote: Have a look in /Library/Frameworks/Python.framework/Versions/2.5 You can't -- this feature only exists in the Search window, which is a different kind of window...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.