Problem with Gdk.cairo_available? when using 1.7.0-rc1 and cairo in a non standard directory?

Hi,

There is a user of my software who has a problem, Gdk.cairo_available?
not found when loading gtk2:

https://www.zarb.org/pipermail/booh-discuss/2008-June/000267.html

He said he’s using 0.17.0-rc1, with pixman and cairo in non standard
directory:

https://www.zarb.org/pipermail/booh-discuss/2008-June/000271.html

Does it say something? From reading the code, Gdk.cairo_available?
should always be ok I guess!?


Guillaume C. - http://zarb.org/~gc/

Hi,

In [email protected]
“[ruby-gnome2-devel-en] Problem with Gdk.cairo_available? when using
1.7.0-rc1 and cairo in a non standard directory?” on Mon, 23 Jun 2008
10:49:01 +0200,
“Guillaume C.” [email protected] wrote:

He said he’s using 0.17.0-rc1, with pixman and cairo in non standard directory:

https://www.zarb.org/pipermail/booh-discuss/2008-June/000271.html

Does it say something? From reading the code, Gdk.cairo_available?
should always be ok I guess!?

Yes.
It seems that old gtk2.so is loaded.

Confirmation:
% strace ruby bin/booh 2>&1 | grep gtk2.so

Thanks,

kou

Kouhei S. wrote:

Yes.
It seems that old gtk2.so is loaded.

Confirmation:
% strace ruby bin/booh 2>&1 | grep gtk2.so

I had similar problems after updated ruby and did a make && make install
again.

A make clean & complete new build resolved the problem.

Joachim