pixman-1 was not found in the pkg-config

View: New views
3 Messages — Rating Filter:   Alert me  

pixman-1 was not found in the pkg-config

by zengqiang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
 
Hi,I have been trying to use GTK+ in MinGW with MSYS.
 
when i input $ pkg-config --cflags gtk+-2.0
 
i get
'Package pixman-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pixman-1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pixman-1', required by 'cairo', not found'

I searched the net, and it seems that installing libpixman1-dev
would sove this problem.
If so, where to find this file,and how to install it?
since apt-get install doesn't work in MSYS.
 
thanks very much!


Windows Live Writer,支持离线撰写博客内容,随时随地想写就写。 立即使用!
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

Re: pixman-1 was not found in the pkg-config

by Vincent Torri-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> Hi,I have been trying to use GTK+ in MinGW with MSYS.
>
> when i input $ pkg-config --cflags gtk+-2.0
>
> i get'Package pixman-1 was not found in the pkg-config search path.Perhaps you should add the directory containing `pixman-1.pc'to the PKG_CONFIG_PATH environment variablePackage 'pixman-1', required by 'cairo', not found'
> I searched the net, and it seems that installing libpixman1-dev
> would sove this problem.

you can find it here : http://cairographics.org/releases/

get pixman 0.10 and install it with ./configure && make && make install.
It will be installed in /usr/local. use --prefix to change that location

> since apt-get install doesn't work in MSYS.

nice one :)

Vincent Torri

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

Re: pixman-1 was not found in the pkg-config

by Tor Lillqvist :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>  get pixman 0.10 and install it with ./configure && make && make install

Actually here I think the correct thing is rather for me to remove the
requirement for pixman from the cairo.pc I distribute in the
cairo-dev-1.6.4 "package" (zipfile). You don't really need anything
pixman related to use cairo. cairo is built as a shared library (DLL).
libpixman is built as a static archive and linked into cairo. Anybody
who uses cairo need not know anything about libpixman. cairo's public
headers do not include pixman headers.

I will edit the cairo.pc I distribute and upload a new cairo-dev
zipfile. I wonder if something could be done upstream in cairo for
this, like putting the pixman requirement in the .pc file only if a
static cairo library is built? Or should I just add that editing of
cairo.pc as one step in my build script for cairo from now on?

(Note to people on the cairo list wanting to follow up: please edit
the mingw-users away from the To: field unless you happen to be
subscribed to that list, too, to avoid bounces.)

--tml

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users