On Mon, Apr 12, 2010 at 8:19 PM, Ondrej Certik <ond...@certik.cz> wrote:
> On Mon, Apr 12, 2010 at 8:15 PM, Ondrej Certik <ond...@certik.cz> wrote:
>> On Mon, Apr 12, 2010 at 7:53 PM, Craig Citro <craigci...@gmail.com> wrote:
>>> Hi Ondrej,
>>>
>>>> Let me know if you have any hints what to try.
>>>>
>>>
>>> For sage, the issue was that Python was getting built with
>>> MACOSX_DEPLOYMENT_TARGET set to 10.4, which is no longer valid in
>>> 10.6. This was leading to some issues with version mismatch issues
>>> between libraries -- in particular, it was font-handling libraries
>>> IIRC. You seem to have a newer python spkg, though -- is there a
>>> machine I can log into and try this out? Or a tarball I can download
>>
>> I tried this on the bsd, but there is an issue with disk space, so I
>> have deleted it.
>>
>>> and try? Is it a build from scratch? It could also potentially be an
>>> issue with something finding a system-wide python instead of the one
>>
>> Yes, just try this:
>>
>> wget http://femhub.org/pub/femhub-0.9.9.beta3.tar
>> tar xf femhub-0.9.9.beta3.tar
>> cd femhub-0.9.9.beta3
>> export MAKE="make -j9"
>> make
>>
>> if you happen to have the same hardware as the bsd machine, just use
>> this binary:
>>
>> http://femhub.org/pub/femhub-0.9.9.beta3-mac.tar.gz
>>
>>
>> run "./femhub" and import "pylab".
>>
>>> getting built with femhub. Can you try the following in your fem-local
>>> python:
>>>
>>>>>> import distutils.sysconfig
>>>>>> distutils.sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET')
>>
>> I think we are using some old buildsystem and older python, let my try
>> this and I will report back.
>
> Yes, you were right:
>
> In [1]: import distutils.sysconfig
> In [2]: distutils.sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET')
> Out[2]: '10.4'
>
>
> I am now figuring out how to update this.

I can see now:

=== python-2.6.4.p4 (Craig Citro, Jan 17, 2010) ===
* Move MACOSX_DEPLOYMENT_TARGET fix to sage-env, so that it's
  used for all python-related spkgs. (This was leading to a
  build issue with numpy and scipy on 10.4.)


we use very ancient build system in femhub, so we don't have this fix.
I just ported the fix from the latest sage and I am testing it no on
bsd.math.

Ondrej

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

To unsubscribe, reply using "remove me" as the subject.

Reply via email to