On Sat, Apr 01, 2017 at 03:27:15PM -0700, Austin Fox wrote:
> *Compiling from source:*
> No matter what options and or flags are set (I tried a bunch of stuff but
> probably missed something key), output of ./configure gives:
> <  Python interface (pygwy):          no (needs libpython2.7)>
> ...
> Attached is full output

  checking for python version... 2.7
  checking for python platform... darwin
  checking for python script directory... ${prefix}/lib/python2.7/site-packages
  checking for python extension module directory... 
${exec_prefix}/lib/python2.7/site-packages
  checking size of pid_t... 4
  checking for python build option BASECFLAGS... -fno-strict-aliasing 
-fno-common -dynamic
  checking for python build option LDFLAGS... -L/opt/local/lib 
-Wl,-headerpad_max_install_names -L/opt/local/lib/db48 
  checking for python build option CCSHARED... 
  checking for python build option LINKFORSHARED... -u _PyMac_Error 
Python.framework/Versions/2.7/Python
  checking for python build option LIBDIR... 
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib

So, it finds Python, it finds out how it should compile and link with
libpython (it look reasonable to me, but I cannot tell if it is correct
– someone with  working pygwy could maybe compare?)

  checking for PyRun_String in -lpython2.7... no

but when it actually tries that by compiling a small test program it
fails.  The detailed reason is in config.log around the line containing

    checking for PyRun_String

You can look there, if the error message will make sense to you, or just
post the part of the file.

> Are these errors related?

Probably.

> Is the issue stemming from not finding the libpython2.7?

Not so much finding as using it.

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