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



On Sat, 2007-06-09 at 15:28 +0000, rahed wrote:
> Carl Worth <cworth cworth org> 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 not a mingw issue.
> 
> There are control sings at the end of some commands in config.log which
> appears weird:
> 
> GTK_DEP_LIBS=' -lgdi32 -limm32 -lshell32 -lole32 -Wl,-luuid
> -L/c/gtksource/lib -lpangowin32-1.0 -lpangocairo-1.0 -lpango-1.0 -lm
> -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lcairo
> ^A '
> 
> configure:35025: gcc -c -DG_DISABLE_DEPRECATED -g -O2 -g -Wall
> -mms-bitfields -I/c/gtksource/include -I/c/gtksource/include/glib-2.0
> -I/c/gtksource/lib/glib-2.0/include -I/c/gtksource/include/pango-1.0
> -I/c/gtksource/include/cairo -I/c/gtksource/include/atk-1.0 ^A
> conftest.c >&5
> 
> gcc.exe: ^A: Invalid argument

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 of backticks (``) when run on the output of
pkg-config.

I also don't remember how I worked around it ... I think I wrote a 
wrapper script around pgk-config that either added or removed a newline.

You might want to check that you have the newest versions of msys and
mingw as a first step.
						- Owen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]