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



Cody Russell <bratsche gnome org> 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 help with pkg-config.

After make I also had to remove 'C:\msys\1.0' and '/n' from
gdk-pixbuf/gdk-pixbuf-enum-types.h, gdk/gdkenumtypes.h,
gtk/gtktypebuiltins.h and perf/typebuiltins.h headers. From lines like
this one:

C:\msys\1.0/* enumerations from "gdk-pixbuf-core.h" *//n

I don't know if it matters that I use msys precompiled binaries.

Thank you (and others) very much.

-- 
Radek




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