artemp/mapnik — Issue #661: PKG_CONFIG_PATH option to scons not respected
Author: artemp
Created: 2011-10-11 16:31:18+00:00
State: open
Labels: Core_Library

{{{
Package pycairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `pycairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pycairo' found
OSError: 'pkg-config --cflags pycairo' exited 1:
File "/Users/robertsoden/Library/mapnik-0.7.2/SConstruct", line 1237:
SConscript('bindings/python/SConscript')
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/scons-2.0.1/SCons/Script/SConscript.py", line 614:
return method(*args, **kw)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/scons-2.0.1/SCons/Script/SConscript.py", line 551:
return _SConscript(self.fs, *files, **subst_kw)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/scons-2.0.1/SCons/Script/SConscript.py", line 260:
exec _file_ in call_stack[-1].globals
File "/Users/robertsoden/Library/mapnik-0.7.2/bindings/python/SConscript", line 162:
env2.ParseConfig('pkg-config --cflags pycairo')
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/scons-2.0.1/SCons/Environment.py", line 1460:
return function(self, self.backtick(command))
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/scons-2.0.1/SCons/Environment.py", line 593:
raise OSError("'%s' exited %d" % (command, status))
mapnik-0.7.2 $ pkg-configpkg-con
mapnik-0.7.2 $ pkg-config --cflangs pycairo
}}}