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'.
--
Martin
------------------------------------------------------------------------------
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
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners