[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Python port



[I lost today's earlier message about the revamped Python port, but this
is in reply to it...]

I have some additions/comments to the Python port:

- it does not build as a package: mpzmodule.so is listed in the PLIST but
  not built, although I have a full source tree on my machine. Fix for
  Makefile and files/Setup.gmp:

  (my email-message continues below)

--- Setup.gmp.orig      Thu Dec  9 21:46:57 1999
+++ Setup.gmp   Thu Dec  9 21:47:17 1999
@@ -13,4 +13,4 @@
 #
ftp://gatekeeper.dec.com/.b/usenet/comp.sources.misc/volume40/fgmp/part01.Z

 GMP=/usr/src/gnu/lib/libgmp
-mpz mpzmodule.c -I$(GMP) -I$(GMP)/mpn /usr/lib/libgmp.a
+mpz mpzmodule.c -I$(GMP) -I$(GMP)/mpn/generic /usr/lib/libgmp.a


--- Makefile.orig       Thu Dec  9 21:55:44 1999
+++ Makefile    Thu Dec  9 21:56:00 1999
@@ -34,7 +34,7 @@
 .endif

 # The mpz module will be built on machines with a full source tree.
-.if exists(/usr/src/gnu/lib/libgmp/mpn/gmp-mparam.h)
+.if exists(/usr/src/gnu/lib/libgmp/mpn/generic/gmp-mparam.h)
 SETUP_LOCAL+=          Setup.gmp
 .endif


- a lot of warnings get generated about libreadline, like this one:
ld: /usr/lib/libreadline.a(parens.o): RRS text relocation at 0xbd29 for
"_rl_insert"

  Is this OK?

- Installing IDLE (Python-1.5.2/Tools/idle/) by default would be great. 
  It's a wonderful development environment for python programs. Since it
  is written in python itself, I don't think it justifies a different
  port.
  What would a good installation destination be?
  /usr/local/idle with a start-up script in /usr/local/bin?
  Or is it better to put the modules in lib and 'idle.py' in bin?

--
Camiel