On Sun, Apr 02, 2017 at 01:16:37AM -0700, Austin Fox wrote:
> configure:18027: checking for python build option LINKFORSHARED
> configure:18048: result: -u _PyMac_Error Python.framework/Versions/2.7/Python
> ...
> clang: error: no such file or directory: 
> 'Python.framework/Versions/2.7/Python'

So this is what breaks it.  After reading more on how to link with
libpython, we are probably not doing it right (along with lots of other
people).  I will try to correct it.

But then I really really need people to test the change on OS X, i.e.
try to compile future development snapshots.

As an immediate help, override the LINKFORSHARED variable by running
configure as

    ./configure ... PYTHON_SYSCFG_LINKFORSHARED='-u _PyMac_Error 
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python'

where ... stands for the usual arguments.  If it does not fix it, at
least you should progress further and get a different error if there are
more problems.

Regards,

Yeti



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gwyddion-users mailing list
Gwyddion-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gwyddion-users

Reply via email to