Rational-Rose and Python ...

Thilo Ernst te at first.gmd.de
Thu Mar 30 03:57:28 EST 2000


Boudewijn Rempt wrote:

> In sum, I think that an IDE which offers a class browser, an object

> browser, a simple diagramming tool, an editor that allows rich text
> comments and hyperlinks in the source, and a decent debugger are all
> that's needed. Basically, give me many views of the source, and I'm happy

Sounds like BoaConstructor, doesn't it? ClassBrowser, UMLView feature, ...

- Thilo



Return-Path: <ms at mail.inhh.de>
Delivered-To: python-list at python.org
Received: from mail.inhh.de (mail.inhh.net [62.96.208.2])
	by dinsdale.python.org (Postfix) with ESMTP id 84D921CD52
	for <python-list at python.org>; Wed, 29 Mar 2000 11:02:43 -0500 (EST)
Received: (from ms at localhost)
	by mail.inhh.de (8.9.1a/8.9.1) id SAA04572
	for python-list at python.org; Wed, 29 Mar 2000 18:05:42 +0200 (MET DST)
Date: Wed, 29 Mar 2000 18:05:42 +0200 (MET DST)
From: Marek Schneider - AIS <ms at inhh.net>
Message-Id: <200003291605.SAA04572 at mail.inhh.de>
Subject: How to build shared Python binaries under Solaris 7 (sparc) ?
Content-Type: text
Sender: python-list-admin at python.org
Errors-To: python-list-admin at python.org
X-BeenThere: python-list at python.org
X-Mailman-Version: 2.0beta1
Precedence: bulk
List-Id: General discussion list for the Python programming language <python-list.python.org>

Hello ;)

Solaris 7 (sparc) / gcc 2.95 / Python-1.5.2

I have tried my luck es follows:
---
#!/bin/sh
./configure --prefix=/www/local/python --enable-shared --disable-static --with-solaris
gmake
gmake test
(some messages follows:
 test test_zlib skipped -- an optional feature could not be imported
 test test_gzip skipped -- an optional feature could not be imported
 . .  .
 42 tests OK.
 19 tests skipped: test_al test_audioop test_bsddb test_cd test_cl test_crypt test_dbm test_dl test_gdbm test_gl
 test_gzip test_imageop test_imgfile test_nis test_rgbimg test_sunaudiodev test_thread test_timing test_zlib

 zlib and gzip are installed in /www/local or /usr/local
)
---

and further:
---
gmake install
(some messages follows:
 . .  .
 cd Modules;  gmake OPT="-g -O2" VERSION="1.5" \
                prefix="/www/local/python" exec_prefix="/www/local/python" \
                sharedmods
 gmake[1]: Entering directory `/www/ssamp/Python-1.5.2/Modules'
 gmake[1]: Nothing to be done for `sharedmods'.
 gmake[1]: Leaving directory `/www/ssamp/Python-1.5.2/Modules'
 ./install-sh -c -m 644 Modules/config.c /www/local/python/lib/python1.5/config/config.c
 ./install-sh -c -m 644 Modules/python.o /www/local/python/lib/python1.5/config/python.o
 . . .
 cd Modules; gmake \
                OPT="-g -O2" \
                VERSION="1.5" \
                SO=".so" \
                LDSHARED="ld -G" \
                CCSHARED="" \
                LINKFORSHARED="" \
                DESTSHARED="/www/local/python/lib/python1.5/lib-dynload" \
                prefix="/www/local/python" \
                exec_prefix="/www/local/python" \
                sharedinstall
 gmake[1]: Entering directory `/www/ssamp/Python-1.5.2/Modules'
 for i in X ; do \
                if test $i != X; \
                then ./../install-sh -c -m 555 $i /www/local/python/lib/python1.5/lib-dynload/$i; \
                fi; \
        done
 gmake[1]: Leaving directory `/www/ssamp/Python-1.5.2/Modules'
 . .  .
)
---

ldd python1.5 (in /www/local/python/bin) showsas follows:
$ ldd python1.5
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
 So far it seems to be OK ... 

BUT conf.pdflib.sh
---
      #!/bin/sh
      ./configure --prefix=/www/local \
                  --enable-shared --disable-static \
                  --with-perl=/www/local/perl/bin/perl \
                  --with-py=/www/local/python \
                  --with-tifflib=/www/local/lib \
                  --with-zlib=/www/local/lib \
                  --with-pnglib=/www/local/lib
---

could NOT recognize the presens of python1.5 ;(((
---
checking for Python header files... /www/local/python/include/python1.5
checking for python... no
. .  .
_____________________________________________________________
For your convenience, here's a summary of configure's results
(none of these features is required for using PDFlib with C):

Support for shared libraries:           yes
C++ language binding for PDFlib:        yes
Java language binding for PDFlib:       yes
Perl language binding for PDFlib:       yes
Python language binding for PDFlib:     no
Tcl language binding for PDFlib:        no
TIFF image support for PDFlib:          yes
PNG image support for PDFlib:           yes
Zlib compression support for PDFlib:    yes
---

Do you have ANY Idea why ?

thank you in adwance !

best regards from Hamburg,
Marek Schneider





More information about the Python-list mailing list