On 8 Sep., 17:52, Simon Beaumont <[EMAIL PROTECTED]> wrote:
> Just completed this lengthy process on my power book.
>
> A couple of trivial problems arose:
>
> 1. had to set MACOSX_DEPLOYMENT_TARGET=10.3 (why not 10.4?) as this
> was missing from ntl build and defaults to 10.0 which won't work with -
> undefined dynamic_lookup. Workaround was to set this globally, may be
> a libtool issue.
>
> 2. needed to ranlib .../local/lib/gcc-lib/4.0.3/.../*.a
>
> 3. some warnings about ld not being able to open pari-gmp.dylib from
> dependancy in csage.dylib when building sage/libs seems ok at run
> time. (have tested libs)
>
> So far all tests seem ok though a few timeouts on this slow machine.

Hi Simon,

building Sage on this system configuration is of interest to me, too.

Currently I'm working on a PPC PowerBook (550MHz) and an Intel
PowerBook (Core2 Duo 2.0GHz).
Both have Mac OS X 10.4 installed, and since I'de like to keep them in
sync and Apple
says that OS X 10.5 will not work for the PPC PowerBook (too slow), I
didn't consider
to upgrade the Intel PowerBook either. (Yet. 64-Bit Sage on OS X might
spark a desire,
and is coming soon. It will be OS X 10.5 only, for OS X reasons, and
would be pointless on
my 32-Bit only PPC PowerBook anyway.)

So for your problems:
3.  So far, on the PPC, I only did start a build for Sage 2.9.2 from a
binary distribution
     (more or less by accident). It took several hours and also
displayed those "pari-gmp.dylib"
     related ld-warnings often.
2.  I didn't run into this need to run ranlib , but mind I started
from an already working fine binary dist.
1.  I didn't need that "10.3" deployment target. As for why 10.3 and
not 10.4:
     Have a look at .../build/
     The temp* and lib* directories there have a 10.3 in their name.
      I wondered about this and thought that it must be python-related
(python's own build magic for extensions).

I wanted to start afresh with 3.1.2 once it is out, and build Sage on
my own machine(s) from the Sage source
distribution, because it is clearly stated somewhere in the downloads
section that OS X 10.5 is officially supported,
and OS X 10.4 binary builds are provided "from time to time". Which is
the case.

Currently there is already a 3.1.2.rc0, but at least for OS X one has
to use a different PolyBori package (0.3 or a fixed 0.5 one)
and I decided to wait for the official release before starting (see
the respective thread on this list).

By the way:
On my Intel PowerBook running OS X 10.4, I succesfully could build
Sage 3.1.1 from the source distro (in about two hours).
Sage -testall revealed that libpng was missing, but that seems to be
adressed for  Sage 3.1.2.

On both boxes I have XCode 4.0.1 (you seem to need at least this
version or a younger one to build Sage successfully, it is somewhere
noted),
i.e. th result of "gcc -v" in a Terminal on my PPC gives:

Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/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 --with-
slibdir=/usr/lib --build=powerpc-apple-darwin8 --host=powerpc-apple-
darwin8 --target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5367)

     and on the Intel machine it gives:

Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/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 --with-
slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-arch=nocona --
with-tune=generic --program-prefix= --host=i686-apple-darwin8 --
target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5367)


I have no idea (yet) about atlas, but I can try to find out.
Let's keep in touch on that matter.

Cheers,
gsw

--~--~---------~--~----~------------~-------~--~----~
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to