Skip to content
This repository was archived by the owner on Jan 19, 2023. It is now read-only.
This repository was archived by the owner on Jan 19, 2023. It is now read-only.

Support Mac OS X 10.5 - 10.7. #3

Open

Description

@fdb

We would like to support all versions from 10.5 - 10.7.

To make NodeBox work on 10.7 we compiled it on 10.7. So that's good.

However, now it fails on 10.5, with:

Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: /Users/nodebox/Downloads/NodeBox/NodeBox.app/Contents/MacOS/NodeBox
Reason: image not found

Activity

  1. fdb commented on Jul 29, 2011

    @fdb
    MemberAuthor

    By linking to python2.5.dylib instead of the Mac Python framework, we can make the Python code work on 10.5. (Commit 4468871)

    However, native extensions are still borked, erring out with "unknown required load command 0x80000022". This is not a big problem for cGeo and cPathmatics, which are just faster versions of built-in functions, but cPolymagic doesn't have a Python implementation.

    I've currently made cPolymagic optional for loading NodeBox, but code that uses boolean math ops such as difference() will fail.

  2. fdb commented on Jul 29, 2011

    @fdb
    MemberAuthor

    I've tried defining the deployment target in the extensions' setup.py like so:

    os.environ['MACOSX_DEPLOYMENT_TARGET']='10.5'.
    CFLAGS=["-mmacosx-version-min=10.5"]
    

    When compiling the extension, I now get

    distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.5" but "10.7" during configure
    
  3. ghost assigned on Aug 1, 2011
  4. fdb commented on Aug 5, 2011

    @fdb
    MemberAuthor

    I'm trying turning polymagic into a dynamic library and access it with ctypes.

    This already works for functions that return simple values, such as integers.

  5. ttback commented on Mar 16, 2012

    @ttback

    Not too sure about your commit "NodeBox runs on 10.5-10.7 using Python 2.5."

    So if I have python 2.5 on my system, it would work?

  6. fdb commented on Mar 16, 2012

    @fdb
    MemberAuthor

    What version of OS X are you running? Version 1.9.7rc1 works on OS X Lion.

  7. ttback commented on Mar 17, 2012

    @ttback

    Never mind. It was really late night and I downloaded version 1.9.5.
    I realize there is also NodeBox2 beta as well, using it now.

    Thanks. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions