LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 12 - installed cairo but cannot be seen (https://www.linuxquestions.org/questions/slackware-14/slackware-12-installed-cairo-but-cannot-be-seen-752474/)

adrian2009 09-03-2009 01:52 PM

Slackware 12 - installed cairo but cannot be seen
 
Hi.
I wanted to install gtk+ 2.16.5, so i also installed glib, pango and cairo. All seemed to work well, except for cairo.

At first I got an error while configuring:

Requested 'cairo >= 1.6' but version of cairo is 1.4.12

I installed the newest version of cairo without any problems, i rebooted the comp and when i started the configure again the same thing happened and it showed me the same error.

I also can see this:
--
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
--

Can someone help me ?
Thanks.

weibullguy 09-03-2009 02:10 PM

You need to tell GTK+ where to look for the newest Cairo. How did you install the latest version of Cairo? From source? Where did you install it, /usr or /usr/local? Did you remove the old version of Cairo? Why did you reboot the machine, are you doing this on Windows or Linux?

adrian2009 09-03-2009 03:13 PM

I can find where the cairo libs are installed, but how to tell gtk+ where to find them ?

I installed it from source.
I am doing this on linux (it says slackware 12, does it seems like a windows os ?!? )

weibullguy 09-03-2009 05:57 PM

Quote:

Originally Posted by adrian2009 (Post 3668730)
I can find where the cairo libs are installed, but how to tell gtk+ where to find them ?

I installed it from source.

But where did you install it? Where is the older version installed? Did you uninstall the older version? What, if anything, is your PKG_CONFIG_PATH variable set to?

Quote:

Originally Posted by adrian2009 (Post 3668730)
I am doing this on linux (it says slackware 12, does it seems like a windows os ?!? )

You rebooted the computer after installing cairo, that's a Windoze thing is the reason I asked.


All times are GMT -5. The time now is 09:12 AM.