Re: PyCairo install errors on Windows 64 bit Python 2.7

Andrea Canciani <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAN_5=BASOpy+yWkZrodjuj5dDL1LoAVuXwVx8G4s4e94+YD7EQ@mail.gmail.com>
On Tue, Dec 27, 2011 at 3:04 AM, Jeffrey Britton <[email protected]> wrote:
> I installed waf version 1.6.8 into the directory above py2cairo.
> I installed Visual Studio 2008 express.
> I can't find python-config-2.7 in my Python directory.
> I can't find this python-config on the internet.
> Although I did find something called "config" which I installed.
> I ran vcvarsall.bat
> I placed site-packages into my PYTHONPATH.
> Below is the command line dump.
> I am stuck.
>
> C:\Users\JeffB\Downloads\py2cairo-1.10.0>python ..\waf.py configure
>   ./options()
> Setting top to                           :
> C:\Users\JeffB\Downloads\py2cairo-1.10.0
> Setting out to                           :
> C:\Users\JeffB\Downloads\py2cairo-1.10.0\build_directory
>   ./configure()
> Checking for 'msvc' (c compiler)         : C:\Program Files (x86)\Microsoft
> Visual Studio 10.0\VC\BIN\CL.exe
> Checking for program python              : c:\apps\python27\python.exe
> Checking for python version              : (2, 7, 2, 'final', 0)
> Checking for library python2.7 in $prefix/libs : not found
> Checking for library python27 in $prefix/libs  : yes
> Checking for program python2.7-config,python-config-2.7,python2.7m-config :
> not found
> Checking for header Python.h                                              :
> yes
> Checking for program pkg-config                                           :
> not found
> Could not find the program pkg-config

From the log it looks like waf can continue even without python-config.
It seems to fail because it cannot find pkg-config
(http://www.freedesktop.org/wiki/Software/pkg-config)
Can you try if installing pkg-config fixes your problem?

Andrea

> (complete log in
> C:\Users\JeffB\Downloads\py2cairo-1.10.0\build_directory\config.log)
>
> C:\Users\JeffB\Downloads\py2cairo-1.10.0>python ..\waf.py --version
> waf 1.6.8 (516a253cbdbb4eef3165c4d47c2074a0fb5dce95)
>
> --
> cairo mailing list
> [email protected]
> http://lists.cairographics.org/mailman/listinfo/cairo
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.