Hello Jürgen

I managed to cross-compile pygwy with python2.7 on fedora. But it is not
that straight forward.
I changed the following lines in configure.ac:
Commented out (#) the lines starting GWY_PYTHON_SYSCFG_VAR
and changed python$PYTHON_VERSION to python27 AC_CHECK_LIB on line 215

then I added
PYGTK_CFLAGS=-I path to pygtk header 
PYGTK_LIBS="-L./" 
CPPFLAGS=-I path to python2.7 includes (installed in/by wine)
LDFLAGS=path to python2.7 lib (there is a libpython27.a)

to my environment and ran configure with 
--host=i686-pc-mingw32 --prefix=`pwd`/../inst --without-x
--enable-maintainer-mode

and then

make
PYGTK_CODEGENDIR="/home/lennart/.wine/drive_c/Python27/Lib/site-packages/gtk-2.0/codegen/"

to run it you need the correct libraries in the same folder as
gwyddion.exe and a working python2.7 installation with pygtk

Best Regards
Lennart


------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Gwyddion-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users

Reply via email to