Missing libpython2.4.so during build of python 2.4.2 on AIX 5.1

2006-01-06 Thread HajoEhlers
Hi folks,
maybe somebody can help.
I am trying to build python 2.4.2 on AIX 5.1 with gcc 3.3.2

The build option for python are:
$ ./configure   \
 --enable-unicode \
 --enable-shared  \
 --with-gcc   \
 --mandir=/usr/local/man  \
 --infodir=/usr/local/info

After  make i see a libpython2.4.a in /usr/local/lib/python2.4/config
but not an libpython2.4.so .
Even the libpython2.4.a will not be installed into /usr/local/lib
>From looking at the Makefile i was not not able to determine the option
which might be missing to get a shared library of python.

Any hints ?
Hajo

-- 
http://mail.python.org/mailman/listinfo/python-list


Define installation directory for python

2008-01-11 Thread HajoEhlers
Task:
build and install python 2.5.1 on AIX  5.3 to /opt/python2.5 with the
subdirectories:
./lib
./bin
./include
./man
./info

a.s.o

The ./bin ./man are created fine but for ./lib & ./include  the
structure is
  /opt/python2.5/lib/python2.5
 /opt/python2.5/include/python2.5
 where  i would like to have only /opt/python2.5/lib and /opt/
python2.5/include

Looking at the make install output i see that setup.py is using a
option called
--install-platlib
but how do i set this option during configure ? Or do i have to patch
the setup.py ?

Any hints
tia
Hajo
-- 
http://mail.python.org/mailman/listinfo/python-list


pyc file usage in a multi OS environment ( newbe question)

2006-03-10 Thread HajoEhlers
Hi folks,
i have an failover environment for a python application which can
fail-over to a AIX, Sun or Linux Box.
At the moment the python interpreter ( 2.4.2 on all platforms ) and the
application are installed localy but all data and configuration are on
a shared location ( NFS/GPFS)
So far no problem.
But the user are asking to get so called eggs installed which looks
like some python source code files and some metadata.
>From the administration point of view it would be a mess to install and
maintain these - eggs - on all platforms.

So the question arise:
Can i install python code in a shared location so this code can be
loaded either from a AIX, Linux or a SunOS box ?

Since the  .py file are plain python scripts i assume that these are
not causing any trouble but what about the  .pyc file ? ( Which i could
not figure out what they are acutelly for - My knowledge about python
is more or less a drop of water within the python ocean )

tia
Hajo

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: pyc file usage in a multi OS environment ( newbe question)

2006-03-10 Thread HajoEhlers
Thanks for clearifing the issue.

Hajo

-- 
http://mail.python.org/mailman/listinfo/python-list