[PYTHON MATRIX-SIG] compile problems

Carlos Fonseca Carlos Fonseca <fonseca@gaivota.demon.co.uk>
Mon, 14 Oct 1996 00:22:10 +0100 (BST)


On Thu, 3 Oct 1996, Jim Hugunin wrote:

> I have had no problem building Python1.4 on my alpha/osf machine using gcc.
>  I'd reccommend going that route for now until the official release of 1.4
> (which knowing Guido will compilke out of the box just about everywhere).
> 
> -Jim
> 

Hello again (at last!),

I had the following problem when compiling Python1.4beta3 on Linux ELF:
If mathmodule.c is dynamically linked, then

import ni
import math

does not import math properly. However, it works correctly if mathmodule.c
is statically linked with the python executable (all other modules
dynamic). This seems to be a bug in Python1.4beta3 itself.

The good news: I was able to (dynamically) link lapack_litemodule against
a full, shared liblapack (compiled with g77, again under Linux. Got
patches for the lapack makefiles from sunsite). Linking the module
required -lgcc in addition to -llapack and -lblas, but it seems to work
now.

Finally, shouldn't the function "determinate()" be "determinant()"?  This
would be easy enough to fix.

Carlos



=================
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================