At 2014-02-20 12:43:06 +0100, <f...@snaggledworks.com> wrote: > On 2/20/2014 4:35 AM, Martin Costabel wrote: >> On 20/02/14 03:34, Alexander Hansen wrote: >>> On 2/19/14 5:16 PM, zooloo wrote: >> [] >>>> configure:22390: checking whether to build python plugin >>>> configure:22401: result: yes >>>> config.status:1545: creating src/plugins/python/Makefile >>>> config.status:1545: creating src/plugins/python/examples/Makefile >>>> ac_cv_env_PYTHON_value=/sw/bin/python2.7 >>>> ac_cv_path_PYTHON_CONFIG=/sw/bin/python2.7-config >>>> am_cv_python_pyexecdir='${exec_prefix}/lib/python2.7/site-packages' >>>> am_cv_python_pythondir='${prefix}/lib/python2.7/site-packages' >>>> pkg_cv_PYGTK_CFLAGS='-I/sw/include/pygtk-2.0 -I/sw/include/glib-2.0 >>>> -I/sw/lib/glib-2.0/include' >>>> PYGTK_CFLAGS='-I/sw/include/pygtk-2.0 -I/sw/include/glib-2.0 >>>> -I/sw/lib/glib-2.0/include' >>>> PYGTK_LIBS='-L/sw/lib -lgobject-2.0 -lglib-2.0 -lintl' >>>> PYTHON='/sw/bin/python2.7' >>>> PYTHON_CFLAGS='-I/sw/include/python2.7 -I/sw/include/python2.7' >>>> PYTHON_CONFIG='/sw/bin/python2.7-config' >>>> PYTHON_EXEC_PREFIX='${exec_prefix}' >>>> PYTHON_LIBS='-ldl -Wl,-framework,CoreFoundation -lpython2.7' >>>> PYTHON_PLATFORM='darwin' >>>> PYTHON_PREFIX='/sw' >>>> PYTHON_SHARED_LIB='/sw/lib/python2.7/config/libpython2.7.dylib' >>>> PYTHON_VERSION='2.7' >>>> pkgpyexecdir='${pyexecdir}/claws-mail' >>>> pkgpythondir='${pythondir}/claws-mail' >>>> pyexecdir='${exec_prefix}/lib/python2.7/site-packages' >>>> pythondir='${prefix}/lib/python2.7/site-packages' >>>> >>> >>> I get the same results on 10.8. What do you get from >>> >>> fink dumpinfo -ePYTHONPATH claws-mail >> >> On 10.9, it builds OK for me, with the same output. In fact, the >> '-lpython2.7' resolves to /usr/lib/libpython2.7.dylib, that is Apple's >> Python-2.7 framework, which probably doesn't exist on 10.6. It may also >> not be what is intended, even on 10.9, seeing that everything else >> python-related points to Fink's python2.7. There needs to be a >> '-L/sw/lib/python2.7/config' added somewhere or '-lpython2.7' replaced >> by '/sw/lib/python2.7/config/libpython2.7.dylib'. I don't see >> immediately where, so I am CCing the maintainer. >> >> Another strange thing is the DescPackaging: "Python plugin disabled due >> to duplicate PyGTK and PyGobject symbols.", whereas the configure flags >> contain '--disable-perl-plugin'. > > Thanks, Martin. This is not the first time I've been caught by the fact > that fink-python doesn't have /sw/lib/libpythonX.Y.dylib. I've now > fixed the linking in the 10.7 tree to use Fink-python. (The > DescPackaging comment was a leftover from before I had fixed the > duplicate symbols failure.) > > Zoo Loo, please try the attached .info file (the .patch is the same) on > your 10.6 machine. > > Hanspeter
That change has done the trick: New package: dists/local/main/binary-darwin-i386/claws-mail_3.9.3-1_darwin-i386.deb Thank you so much! cheers, Zoo Loo ____________________________________________________________ FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family! Visit http://www.inbox.com/photosharing to find out more! ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners