On Sun, Apr 02, 2017 at 07:08:28PM -0700, Austin Fox wrote:
> Now if I use the dev snapshot instead of the stable version I no longer
> have the sincos error
Ah, sorry. There was a indeed bug in 2.47 (unguarded sincos()) – I was
checking the current source code where it is already corrected.
> but the same issue as the 2014 on pygwy via macports
> <https://sourceforge.net/p/gwyddion/mailman/gwyddion-users/thread/20140427111002.GA10822%40physics.muni.cz/#msg32273589>
> thread.
> With , on make:
> pygwy.c:31:10: fatal error: 'pygtk-2.0/pygobject.h' file not found
>
> That is with conf:
> ./configure PYTHON_SYSCFG_LINKFORSHARED='-u _PyMac_Error
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python'
> PKG_CONFIG_PATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig/
> DYLD_FALLBACK_LIBRARY_PATH="/opt/local/lib"
> CPPFLAGS="-I/opt/local/include-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/"
> LDFLAGS="-L/opt/local/lib"
DYLD_FALLBACK_LIBRARY_PATH – I still do not know what to do about it.
PYTHON_SYSCFG_LINKFORSHARED – has no longer any effect; you can drop it.
CPPFLAGS – a space is missing before the second -I, at least that is how
it is formatted in the e-mail. You should certainly not need the second
part; we should be getting the Python include path from ‘python-config
--includes’. Although the path is different: you do not have the
‘python2.7’ at the end there.
Regarding the pygobject error, there is indeed a bug (and has been there
forever!): the ‘pygtk-2.0/’ does not belong there. Please see the
attached patch.
I am glad someone started to complain – otherwise the problems would
never be fixed.
Regards,
Yeti
Index: modules/pygwy/pygwy.c
===================================================================
--- modules/pygwy/pygwy.c (revision 19564)
+++ modules/pygwy/pygwy.c (working copy)
@@ -28,7 +28,7 @@
#include "config.h"
/* include this first, before NO_IMPORT_PYGOBJECT is defined */
-#include <pygtk-2.0/pygobject.h>
+#include <pygobject.h>
#include "wrap_calls.h"
#include <stdarg.h>
#include <glib/gstdio.h>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users