On Saturday, 28 July 2012 00:18:06 UTC+8, Sébastien Labbé wrote: > > > which OSX are you on? OSX 10.6.8? Or 10.7? > > Also, it seems that you are working with a sage-app distribution (a > binary install?) > > while I compiled from source. > > I am using OSX 10.5.8. compiled sage-5.2.rc0 from source. >
OK. I didn't know. I'll try this on a PPC OSX 10.5 machine I still have in the office... > > I managed to make it work by applying the following patch on the package : > > pyzmq-2.1.11.p1/patches $ cat buildutils.patch > --- src/buildutils.py 2011-12-19 04:21:14.000000000 -0500 > +++ src-patched/buildutils.py 2012-07-27 12:01:07.000000000 -0400 > @@ -111,13 +111,7 @@ > > cpreargs = lpreargs = None > if sys.platform == 'darwin': > - # use appropriate arch for comiler > - if platform.architecture()[0]=='32bit': > - cpreargs = ['-arch','i386'] > - lpreargs = ['-arch', 'i386', '-undefined', 'dynamic_lookup'] > - else: > - # allow for missing UB arch, since it will still work: > - lpreargs = ['-undefined', 'dynamic_lookup'] > + lpreargs = ['-undefined', 'dynamic_lookup'] > > objs = cc.compile([cfile],extra_preargs=cpreargs) > cc.link_executable(objs, efile, extra_preargs=lpreargs) > > -- -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
