python installation destination directory

ZMY zhonghua.m.yang at gmail.com
Tue Apr 3 13:46:18 EDT 2007


On Apr 3, 6:26 am, "Kushal Kumaran" <kushal.kuma... at gmail.com> wrote:
> On Apr 3, 9:33 am, "ZMY" <zhonghua.m.y... at gmail.com> wrote:
>
>
>
> > 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




More information about the Python-list mailing list