Could you "export PKG_CONFIG_DEBUG_SPEW=yes" before launching Sage's python?
(You can try something like "import os; print 
os.environ['PKG_CONFIG_DEBUG_SPEW'] to make sure it was taken into account)
And maybe also try
{{{
setupext.has_pkgconfig()
}}}
just to make sure pkg-config is correctly detected.

On Friday, July 12, 2013 11:08:40 AM UTC+2, Jean-Pierre Flori wrote:
>
>
>
> On Friday, July 12, 2013 10:53:26 AM UTC+2, Paul Mercat wrote:
>>
>> MacBook-Pro-de-Paul:src mercat$ sage --python
>> Python 2.6.4 (r264:75706, Aug 12 2011, 00:49:46) 
>> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import setupext
>> basedirlist is: ['/Users/mercat/sage-5.10/local']
>> >>> from distutils.core import Extension # this shouldn't be needed
>> >>> module = Extension("test", [])
>> >>> setupext.get_pkgconfig(module, 'libpng', 'png', report_error=True)
>> False
>> >>>
>>
>> Groumpf, that's not really talkative :)
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to