On Aug 16, 2007, at 12:38 PM, William Stein wrote:

> I don't know, but you might want to try this tarball:
>
>   http://sage.math.washington.edu/lj/sage-2.8.a.tar
>
> This has the option of doing
>    export SAGE_FORTRAN=/path/to/any/fortran
> etc and many other build improvements.
> Please give it a try.

Ok, I installed the gfortran binary from

http://quatramaran.ens.fr/~coudert/gfortran/gfortran-macosx-ppc.dmg

and then I EXPORTed SAGE_FORTRAN and tried the 2.8.a tarball. It  
still dies when it hits lapack, but the error message is different  
now (see below).

I tried googling ___dso_handle, it seems that people have had this  
problem in the past, but I can't quite decipher what I'm supposed to  
do to fix it. Do you think maybe I just need to upgrade my compiler?


Finished extraction
****************************************************
Host system
uname -a:
Darwin George.local 8.10.0 Darwin Kernel Version 8.10.0: Wed May 23  
16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh  
powerpc
****************************************************
****************************************************
GCC Version
gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5247.obj~4/src/configure -- 
disable-checking -enable-werror --prefix=/usr --mandir=/share/man -- 
enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg] 
[^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 -- 
build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 -- 
target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5247)
****************************************************
( cd INSTALL; make; ./testlsame; ./testslamch; \
   ./testdlamch; ./testsecond; ./testdsecnd; ./testversion )
sage_fortran -fPIC  -c lsame.f -o lsame.o
sage_fortran -fPIC  -c lsametst.f -o lsametst.o
sage_fortran  -o testlsame lsame.o lsametst.o
/usr/bin/ld: Undefined symbols:
___dso_handle
collect2: ld returned 1 exit status
make[3]: *** [testlsame] Error 1
/bin/sh: line 1: ./testlsame: No such file or directory
/bin/sh: line 1: ./testslamch: cannot execute binary file
/bin/sh: line 1: ./testdlamch: cannot execute binary file
/bin/sh: line 1: ./testsecond: No such file or directory
/bin/sh: line 1: ./testdsecnd: cannot execute binary file
/bin/sh: line 1: ./testversion: cannot execute binary file
make[2]: *** [lapack_install] Error 126
Error compiling lapack.

real    0m1.317s
user    0m0.173s
sys     0m0.269s
sage: An error occured while installing lapack-20070723
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /Users/david/sage-2.8.a/install.log.  Describe your computer,  
operating system, etc.
If you want to try to fix the problem, yourself *don't* just cd to
/Users/david/sage-2.8.a/spkg/build/lapack-20070723 and type 'make'.
Instead (using bash) type "source local/bin/sage-env" from the directory
/Users/david/sage-2.8.a
in order to set all environment variables correctly, then cd to
/Users/david/sage-2.8.a/spkg/build/lapack-20070723
make[1]: *** [installed/lapack-20070723] Error 1

real    54m57.988s
user    26m35.480s
sys     17m43.484s


david


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to