Bugs item #1397850, was opened at 2006-01-05 08:01
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1397850&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: hajo (hajoehlers)
Assigned to: Nobody/Anonymous (nobody)
Summary: libpython2.4.so get not installed 

Initial Comment:
Given:
AIX 5.1
GCC 3.3.2
Python 2.4.2 ( Python-2.4.2.tar.gz )

./configure       \
 --enable-unicode \
 --enable-shared  \
 --with-gcc       \
 --mandir=/usr/local/man  \
 --infodir=/usr/local/info

Problem:
during " gmake install "  the libpython2.4.a will not
be installed in /usr/local/lib and the link for
libpython2.4.so does not exist then.

I did not dig further but below is the output from
"gmake install"

For me the 
...
if test -f libpython2.4.so; then ...

look wrong because it does not contain a Path and will
fail.

regards
Hajo

output during "gmake install"

...
if test -f libpython2.4.so; then \^M
        if test ".so" = .dll; then \^M
                /opt/freeware/bin/install -c -m 555
libpython2.4.so /usr/local/bin; \^M
        else \^M
                /opt/freeware/bin/install -c -m 555
libpython2.4.so /usr/local/lib/libpython2.4.a; \^M
                if test libpython2.4.so !=
libpython2.4.a; then \^M
                        (cd /usr/local/lib; ln -sf
libpython2.4.a libpython2.4.so); \^M
                fi \^M
        fi; \^M
else    true; \^M
...


----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-01-08 21:21

Message:
Logged In: YES 
user_id=33168

The problem seems to be in configure.in.  Search for
Py_ENABLE_SHARED.  Try adding a line for LDLIBRARY (like for
BeOS).  You may also need a line for INSTSONAME and others
variables too.  After modifying configure.in, you will need
to regenerate with autoconf.  You can try modifying
configure which is generated by autoconf.  Then re-run
configure.  Search for libpython in the generated Makefile.
 That should have a .so ending.

----------------------------------------------------------------------

Comment By: hajo (hajoehlers)
Date: 2006-01-06 08:24

Message:
Logged In: YES 
user_id=1420117

Its looked like that the libpython2.4.so will not be build.
I took a lock at the Makefile but could not get a clear view
what option is needed to let the system build a libpython2.4.so



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1397850&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to