gtk+ configure can't find cairo-pdf

2007-06-09 Thread rahed
Hello, I build gtk+-2.11.2 with MinGW and MSYS on windows. Last lines of configure output read as follows: checking cairo-pdf.h usability... no checking cairo-pdf.h presence... no checking for cairo-pdf.h... no configure: error: *** Can't find cairo-pdf.h. You must build Cairo wi

Re: gtk+ configure can't find cairo-pdf

2007-06-09 Thread Carl Worth
On Fri, 08 Jun 2007 21:15:34 +, rahed wrote: > checking cairo-pdf.h usability... no > checking cairo-pdf.h presence... no > checking for cairo-pdf.h... no > configure: error: > *** Can't find cairo-pdf.h. You must build Cairo with the pdf > *** backend enabled. You should be able to look at co

Re: gtk+ configure can't find cairo-pdf

2007-06-09 Thread rahed
Carl Worth <[EMAIL PROTECTED]> writes: > You should be able to look at config.log to see details on why the > header files aren't being found, (it's probably looking in the wrong > place). You're right, I looked there and consequently asked about it in mingw.user group because am not sure if it's

Re: gtk+ configure can't find cairo-pdf

2007-06-09 Thread Owen Taylor
On Sat, 2007-06-09 at 15:28 +, rahed wrote: > Carl Worth <[EMAIL PROTECTED]> writes: > > > You should be able to look at config.log to see details on why the > > header files aren't being found, (it's probably looking in the wrong > > place). > > You're right, I looked there and consequently

Re: gtk+ configure can't find cairo-pdf

2007-06-09 Thread Jernej Simončič
On Sat, 09 Jun 2007 11:51:15 -0400, Owen Taylor wrote: > The ^A is actually a bash problem on Windows (or maybe specifically > with the msys version). IIRC, it happens when you use a native (non-msys) Windows console program in msys bash backticks. -- < Jernej Simončič >< http://deepthought.ena

Re: gtk+ configure can't find cairo-pdf

2007-06-09 Thread Cody Russell
On Sat, 2007-06-09 at 11:51 -0400, Owen Taylor wrote: > The ^A is actually a bash problem on Windows (or maybe specifically > with the msys version). It was a couple of years ago that I ran into > it, > so I don't remember the details, but it was something involving the > newline stripping behavior

Re: gtk+ configure can't find cairo-pdf

2007-06-09 Thread rahed
Cody Russell <[EMAIL PROTECTED]> writes: > Try this script and save it as pkg-config.sh: > > #!/bin/sh > if pkg-config "$@" > /dev/null 2>&1 ; then > res=true > else > res=false > fi > pkg-config "$@" | tr -d \\r && $res > > Then set an environment var PKG_CONFIG=/path/to/pkg-config.sh That did h

Re: gtk+ configure can't find cairo-pdf

2007-06-10 Thread Tor Lillqvist
> gcc.exe: ^A: Invalid argument This error is caused by a bug in MSYS's shell. When running configure scripts, it is a good idea to use a small wrapper script around pkg-config.exe. See http://www.go-evolution.org/Building_Evolution_on_Windows#pkg-config --tml ___